Summary

To remotely control hardware, we need separate communication tools. Typically, we use Bluetooth, BLE, Ethernet, or WiFi. We can easily control communication devices by using a smartphone app without a physical controller. However, creating a custom app is quite difficult. So, I’d like to introduce the Blynk Server, which can be easily implemented on any app!

architecture

Blynk is an application that allows the user to configure the controller and monitor the Arduino. It is a way to communicate between the Blynk app and the Arduino via the Blynk server.

Tutorial

A simple tutorial can be found at the above link.
Equip Arduino Mega with W5100 Ethernet Shield.
Then select the hardware and communication method that you want to use.
Create a Widget Box and you can program the Widget by the code.
Each Widget can be assigned a pin number.
The code identifies the Widget Box via pin number.

Blynk Display
FJQ21HDILCHIL6T.MEDIUM

You can display and control using Blynk.
By accepting the Arduino sensor value, the Blynk app can accept input and display the value, or even output to control the sensor through the app.

source : http://www.instructables.com/id/Blynk-Arduino-DS18B20-Thermometer-Display-on-IOS-o/

In the link above, the author implemented the Ethernet Shield onto Arduino Uno to display the sensor value on the Blynk app.
Blynk.virtualWrite(V5, celsius);

If you write the code like above, the virtual number V5 will be written as the sensor value and be displayed on Blynk. We used Value Display, LCD, Terminal, and SuperChart in order of WidgetBox.

Blynk Control

IMG_20160314_123148

source : http://tronixstuff.com/2015/09/20/control-your-arduino-over-the-internet-using-blynk/

You can see that Arduino Uno is equipped with Ethernet Shield to control LED in the link above.
In the case of a simple control, such as a button, it is implemented to be controlled in the Blynk Library.
You can control it simply by matching the pin number of the Widget Box with the pin number of the sensor connected to Arduino and running Blynk.

blynk-tronixstuff-ikea-dioder

You can also control RGB LED through a slider as well as a button.
http://docs.blynk.cc/#blynk-main-operations

You can learn more about WidgetBox on the Blynk homepage.

As you can see, you can control and monitor any sensor through Blynk.
Select your favorite Widget Box and let’s create our very own IoT system!

Author : Becky