BLYNK
BLYNK
Blynk was designed for the Internet of Things. It can control hardware remotely, it can
display sensor data, it can store data, visualize it and do many other cool things.
There are three major components in the platform:
Blynk App - allows to you create amazing interfaces for your projects using various
widgets we provide.
Blynk Server - responsible for all the communications between the smart phone and
hardware. You can use our Blynk Cloud or run your private Blynk server locally. Its
open-source could easily handle thousands of devices and can even be launched on a
Raspberry Pi.
Blynk Libraries - for all the popular hardware platforms - enable communication
with the server and process all the incoming and out coming commands.
Now imagine: every time you press a Button in the Blynk app, the message travels to the
Blynk Cloud, where it magically finds its way to your hardware. It works the same in the
opposite direction and everything happens in a blynk of an eye.
Fig : . 10. Output after installing and the Blynk by using Serial
Then click the “Run” button in the top right corner of the Blynk app. Press the button and
watch the LED. Then add more widgets to the project. They should immediately work on the
ESP8266 without uploading any new firmware.
Blynk main operation :
Virtual pins : Blynk can control Digital and Analog I/O Pins on you hardware directly. You
don’t even need to write code for it. It’s great for blinking LEDs, but often it’s just not
enough…
We designed Virtual Pins to send any data from your microcontroller to the Blynk App and
back.
Anything you connect to your hardware will be able to talk to Blynk. With Virtual Pins you
can send something from the App, process it on microcontroller and then send it back to the
smartphone. You can trigger functions, read I2C devices, convert values, control servo and
DC motors etc.
Virtual Pins can be used to interface with external libraries (Servo, LCD and others) and
implement custom functionality.
Hardware may send data to the Widgets over the Virtual Pin like this:
Then click the “Run” button in the top right corner of the Blynk app. Press the button and
watch the LED. Then add more widgets to the project. They should immediately work on the
ESP8266 without uploading any new firmware.
Blynk main operation :
Virtual pins : Blynk can control Digital and Analog I/O Pins on you hardware directly. You
don’t even need to write code for it. It’s great for blinking LEDs, but often it’s just not
enough…
We designed Virtual Pins to send any data from your microcontroller to the Blynk App and
back.
Anything you connect to your hardware will be able to talk to Blynk. With Virtual Pins you
can send something from the App, process it on microcontroller and then send it back to the
smartphone. You can trigger functions, read I2C devices, convert values, control servo and
DC motors etc.
Virtual Pins can be used to interface with external libraries (Servo, LCD and others) and
implement custom functionality.
Hardware may send data to the Widgets over the Virtual Pin like this:
Blynk.virtualWrite(pin, "abc");
Blynk.virtualWrite(pin, 123);
Blynk.virtualWrite(pin, 12.34);
Blynk.virtualWrite(pin, "hello", 123, 12.34);
This Blynk is used not only for a single connection . it supports multiple of virtual pins at a
time.
Fig : Widget setting for a single relay Module Fig : Multiple arrays of widgets
Features of Blynk :
Similar API & UI for all supported hardware & devices
Connection to the cloud using:
o WiFi
o Bluetooth and BLE
o Ethernet
o USB (Serial)
o GSM
o …
Set of easy-to-use Widgets
Direct pin manipulation with no code writing
Easy to integrate and add new functionality using virtual pins
History data monitoring via SuperChart widget
Device-to-Device communication using Bridge Widget
Sending emails, tweets, push notifications, etc.
features are constantly added.
You can find example sketches covering basic Blynk Features. They are included in the
library. All the sketches are designed to be easily combined with each other.
Formatting options ;
For example: your sensor sends vaule of 12.6789 to Blynk application. Next
formatting options are supported:
/pin/ - displays the value without formatting (12.6789).
/pin./ - displays the rounded value without decimal part (13).
/pin.# - displays the value with 1 decimal digit (12.7).
/pin.##/- displays the value with two decimal places (12.68).
Blynk libraries:
With Blynk Library you can connect over 400 hardware models (including
ESP8266, ESP32, NodeMCU, all Arduinos, Raspberry Pi, Particle, Texas
Instruments, etc.)to the Blynk Cloud. Full list of supported hardware can be
found here.
With Blynk apps for iOS and Android apps you can easily drag-n-drop graphic
interfaces for any DIY or commercial project. It's a pure WYSIWG experience: no
coding on iOS or Android required.
Hardware can connect to Blynk Cloud (open-source server) over the Internet using
hardware connectivity available on your board (like ESP32), or with the use of
various shields (Ethernet, WiFi, GSM, LTE, etc). Blynk Cloud is available for every
user of Blynk for free. Direct connection over Bluetooth is also possible.
MicroPython was originally created by the Australian programmer and physicist Damien
George, after a successful Kickstarter backed campaign in 2013. While the original
Kickstarter campaign released MicroPython with an STM32F4-powered development board
"pyboard", MicroPython supports a number of ARM based architectures. The ports supported
in the mainline are ARM Cortex-M (many STM32 boards, TI CC3200/WiPy, Teensy boards,
Nordic nRF series, SAMD21 and SAMD51), ESP8266, ESP32, 16bit PIC, Unix, Windows,
Zephyr, and JavaScript. Also, there are many forks for a variety of systems and hardware
platforms not supported in the mainline.