0% found this document useful (0 votes)
258 views

Introduction To Blynk

Blynk is a platform to control Arduino, Raspberry Pi and the like via the Internet. It includes Blynk Edgent software that runs on supported hardware, allowing WiFi provisioning and data transfer to the Blynk cloud. The Blynk Console is used to configure devices and apps, and mobile apps can control widgets that interact with hardware. This document demonstrates a simple project using Blynk to control an ESP32's onboard LED via a mobile app button widget.

Uploaded by

Raymond Sihotang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
258 views

Introduction To Blynk

Blynk is a platform to control Arduino, Raspberry Pi and the like via the Internet. It includes Blynk Edgent software that runs on supported hardware, allowing WiFi provisioning and data transfer to the Blynk cloud. The Blynk Console is used to configure devices and apps, and mobile apps can control widgets that interact with hardware. This document demonstrates a simple project using Blynk to control an ESP32's onboard LED via a mobile app button widget.

Uploaded by

Raymond Sihotang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 71

Introduction to Blynk

Dr. Suryadiputra Liawatimena, SMIEEE


suryadi@binus.ac.id

2022

http://www.pembelajarseumurhidup.com
https://blynk.io/
Blynk Edgent = Edge + Agent
Blynk Edgent
• Blynk.Edgent is a lightweight embedded library that runs on over 400
supported hardware models
• Main functions of Blynk.Edgent are:
• Device claiming and Wi-Fi provisioning (bringing device online and
authenticating them with a certain user)
• Connectivity management (WiFi, Cellular, Ethernet)
• Data transfer between the device and cloud
• API to work with specific Blynk.Apps and Blynk.cloud features
• Over-the-air firmware updates (for selected hardware models)
Blynk Console
Blynk Apps
https://play.google.com/store/apps/details?id=cloud.blynk&pli=1
Developer Mode
• Developer is a special user who has access to all the functionality
required to configure the platform for the use by end-users (also
called as clients or end-customers). This is usually someone who
builds the hardware, develops the firmware, and does all the device
configurations.
• Create and configure Device Templates in Blynk.Console
• Create and configure web dashboard UI
• Create and configure mobile dashboard UI
• Add new devices to the account
• Publish Templates to Blynk.Marketplace (work in progress)
• Use other features accordingly to the chosen plan
Supported Boards
Turn on/off LED App
• Launch your Blynk IoT Apps
at your Android Phone
• Click Add New Device
• Manually from template
• Quickstart Template
• Give device name as HelloWorld
• Click Create button
• Click HelloWorld
• Click Spanner Icon
• Remove all the widgets that are in
the default template.
• Click UPTIME widget
• Click the Waste Bin icon
• Click Yes to confirm Delete Widget
• Repeat the previous step to remove
remaining widgets
• Click Plus icon to add a widget
• Click Buttton widget
• Click the OFF Button widget
• Click Plus icon at DATASTREAM
• Choose Switch Value (V1)
• Use default setting
• Change mode from Push to Switch
• Click Close icon
• Click and Hold for two seconds at the
Button V1 widget
• You can resize the Button and drag it
into a location
• Click the V1 Button
• Click Design
• Give Title as LED
• Click the Center Alignment icon
• Scroll down and click the Color icon
• Change into any color you want
• Login at https://blynk.cloud/dashboard/login using a web browser
• Click HelloWorld at Device name
• Click Device Info
• Hover your mouse on Firmware Configuration
• Click to copy Code
• Assemble the components and
cables according to the given
schematic
At Arduino IDE 1.8.19
• File  Preferences
• Sketchbook location =
D:\BelajarBlynk
• Additional Boards Manager URLs
Copy and paste the following URLs

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,
http://arduino.esp8266.com/stable/package_esp8266com_index.json

Do not forget the comma


• Tools  Board  Boards Manager
• Install/Update esp32 by Espressif version 2.0.5
• Tools  Board: “Arduino Yun”  ESP32 Arduino  ESP32 Dev Module
• Tools  Port  COM5
It depends on your computer
• If there is a COM Port
problem, try to visit
Silicon Labs and install
appropriate CP210x driver.

https://www.silabs.com/developers/usb-to-uart-bridge-vcp-
drivers?tab=downloads
• Tools  Manage Libraries
• Install the required libraries
• Blynk by Volodymyr Shymanskyy version 1.1.0
• Ticker by Stefan Staub version 4.4.0
• WiFi Built-In by Arduino version 1.2.6
• DHT Sensor Library for ESPx version by beegee_tokyo 1.18.0
• Activate your Personal hotspot at your
mobile phone
• Write code in
Arduino IDE

Double click to download


HelloWorld.ino
• Save into
D:\BelajarBlynk\HelloWord
• Click Verify icon
• Click Upload icon
• If an error occurs, then try to click Upload again
• When Arduino IDE says Connecting…. then you can press the Boot
button and hold it until it starts to write the binary code to ESP32;
after that, you can release the BOOT button.
• If the code upload successfully

then press Serial Monitor icon


• Set the serial speed to 115200 baud
• At the mobile phone, click HelloWord Blynk App
• Try to click the OFF/ON Button and see if the LED
follow the command.
• Join IOT Indonesia https://www.facebook.com/groups/iotindonesia to
ask or discuss this subject.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy