Introduction Platform IoT Blynk & ESP8266

ESP8266 Blynk PDAControl

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

 PDAControl pdacontrolen.com PDAControlen.com blynk

Test Platform IoT Blynk & ESP8266 12E NodeMCU Part1/2

  1. Quick introduction to Blynk
  2. Install blynk on Android
  3. Create account at blynk
  4. Download libraries and examples
  5. 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

Arduino IDE_PDAControl_blynk

Dashboard blynk (View Android )

Project Settings

 PDAControl pdacontrolen.com PDAControlen.com blynk

Widgets

We will select 2 widgets, each widget has a cost in units of Energy, we initially have 1800 units.

  • 1 Button
  • 1 Gauge

 PDAControl pdacontrolen.com PDAControlen.com blynk

Dashboard Edit Mode (Offline)

  • Organization and configuration of Widgets.

 PDAControl pdacontrolen.com PDAControlen.com blynk

Settings Widget Button

  •  GPIO04 Control  (diode led)

 PDAControl pdacontrolen.com PDAControlen.com blynk

Settings Widget Gauge
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.

 PDAControl pdacontrolen.com PDAControlen.com blynk

 

Dashboard (Online)

 PDAControl pdacontrolen.com PDAControlen.com blynk

Test Platform IoT Blynk & ESP8266 12E Part 2/2

  1. Download Arduino IDE code, example ESP8266_Standalone.ino.
  2. Dashboard Settings.
  3. Connection test ESP8266 and blynk.

 

Pinout ESP8266 12E NodeMCU

ESP8266 PDAControl NodeMCU

ESP8266 PDAControl NodeMCU





Materials 

ESP8266 12E NodeMCU (Lolin)

Wires

1 LDR (Photoresistance)

2 Resistors of 1.5K

1 Resistors of 10K

1 Diode led

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.

ESP8266 PDAControl NodeMCU

Mounting

ESP8266 PDAControl pdacontrolen.com

Downloads GiHub – Arduino IDE

Example Blynk (ESP8266_Standalone)

Library Blynk

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

Youtube Channel

PDAControl 

Leave a Reply