Today i show you how to control Led use Blynk App In IOT platform .First i introduce what is Blynk and Why use Blynk App.
What is Blynk App
Blynk is a Platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet.
It's a digital dashboard where you can build a graphic interface for your project by simply dragging and dropping widgets.
It's really simple to set everything up and you'll start tinkering in less than 5 mins.
Blynk is not tied to some specific board or shield. Instead, it's supporting hardware of your choice. Whether your Arduino or Raspberry Pi is linked to the Internet over Wi-Fi, Ethernet or this new ESP8266 chip, Blynk will get you online and ready for the Internet Of Your Things.
More info Click Here
Why you use Blynk app
There are many third party IOT platform but I Think Blynk is the best Because is use vary good user friendly. Blynk is not an app that works only with a particular shield. Instead, it's been designed to support the boards and shields you are already using. And it works on iOs and Android.
How it is work
Blynk works over the Internet. So the one and only requirement is that your hardware can talk to the Internet.
No matter what type of connection you choose - Ethernet, Wi-Fi or maybe this new ESP8266 everyone is talking about – Blynk libraries and example sketches will get you online, connect to Blynk Server and pair up with your smartphone.
Architecture of Blynk system -Mechatronicslabrpi |
Where you get This app.
Ok no problem i will give you for you
or You can such on google play store you can download
After Finish your download and install you can see like interface
Click the “Create New Project” in the app to create a new Blynk app. Give it any name.
Blynk works with hundreds of hardware models and connection types. Select the Hardware type. After this, select connection type. In this project we have select WiFi connectivity.
The Auth Token is vary important you can get this your mail address .
Add Widgets in your Project
To open the widget box, click in the project window to open.
blynk app new project -mechatronicslabrpi |
- Click on Button.
- Give name to Button say led.
- Under OUTPUT tab- Click pin and select the pin to which led is connected to NodeMCU, here it is digital pin 2, hence select digital and under pin D2. And Click continue.
- Under MODE tab- Select whether you want this button as "push button" or "Switch".
Now Software part
First you have no need download library following link
Blynk library should be installed manually. Follow the instructions:
- Unzip the Blynk_Release_vXX.zip archive. you can see a library and tools folder copy the library and tools then past to the ardunio library and tools folder
Upload The Firmware following instruction
File > Examples > Blynk > Boards_WiFi> ESP8266_Standalone menu.
Now Enter your auth token
you get this tocken from your email
After the app has uploaded, open the serial monitor, setting the baud rate to 9600. Wait for the “Ready” message
CKT connection
nodemcu led connection |
About more tutrioul about nodemcu
1.Intoduction to nodemcu8266 & Steps to Import ESP Board Libraries
http://mechatronicslabrpi.blogspot.com/2018/06/intoduction-to-nodemcu8266-steps-to.html
2.NodeMCU8266 Basic Project-Blink a LED
http://mechatronicslabrpi.blogspot.com/2018/06/nodemcu-basic-project-blink-led-today-i.html
3.NodeMCU8266 Digital Read (Push Button)
http://mechatronicslabrpi.blogspot.com/2018/06/nodemcu8266-digital-read-push-button.html
4.Analog Data read using NodeMcu8266
http://mechatronicslabrpi.blogspot.com/2018/06/analog-data-read-using-nodemcu8266.html
This comment has been removed by the author.
ReplyDelete