This time the test will be performed on the well-known Blynk platform.
What is Blynk? A platform differences seen earlier blynk is a solution for building IoT applications available for Android and iOS. Based on platforms known as Arduino, Raspberry pi, ESP8266, Intel Galileo, Particle, Serial devices and Wifi among others, in a few minutes you can create a high quality dashboard, we highlight the large number of available widgets, Control, display, Notification and Video Steaming.
In this case we will perform the Tests with Module ESP8266 in the following tuturial show step by step installations and configurations for the Blynk application.
Official page: blynk.cc
Our test will do 2 things:
- Visualization of the value of ADC0 (LDR)
- GPIO04 control (Led diode)
Architecture blynk
Test Platform IoT Blynk & ESP8266 12E NodeMCU Part1/2
- Quick introduction to Blynk
- Install blynk on Android
- Create account at blynk
- Download libraries and examples
- Revision Arduino IDE code
Arduino IDE
ESP8266_Standalone example was used to perform the test, which does not require any modification to its operation.
Full Downloads Bottom …
Dashboard blynk (View Android )
Project Settings
Widgets
We will select 2 widgets, each widget has a cost in units of Energy, we initially have 1800 units.
- 1 Button
- 1 Gauge
Dashboard Edit Mode (Offline)
- Organization and configuration of Widgets.
Settings Widget Button
- GPIO04 Control (diode led)
This widget will read the ADC0, given the signal conditioning of the light sensor (LDR) we set the ADC from 0 to 200 points, with update of 2 seconds of sampling.
Dashboard (Online)
Test Platform IoT Blynk & ESP8266 12E Part 2/2
- Download Arduino IDE code, example ESP8266_Standalone.ino.
- Dashboard Settings.
- Connection test ESP8266 and blynk.
Pinout ESP8266 12E NodeMCU
1 LDR (Photoresistance)
1 Resistors of 10K
1 Diode 1N4001
Connections
Note: In this case the LDR for safety never exceeds 500mV to avoid damaging the ADC0, MAX 1.0V adc0.
- Resistors are Precision.
Mounting
Downloads GiHub – Arduino IDE
Example Blynk (ESP8266_Standalone)
References
Introduction Platform IoT Cayenne mydevices & ESP8266
Introduction IoT Platform aREST.io
Testing Industrial Platform Groov and ESP8266 NodeMCU
Installation Mosquitto Broker MQTT in lubuntu (Ubuntu) Linux