Led controlled by Blynk. Using NodeMcu Esp8266 board + custom project in Eclipse SDK.
Hello Today we will control the LED Blynk using our own library.
Here’s a video with descriptions:
It’s a system to control remote devices using the Internet and special android app.
Download the app. Blynk register using e-mail and password.
Create a new project.
Enter the name of project.
Notice the line Auth token. It contains the ID used to authenticate on server.
Hit E-mail to sent an Auth token on e-mail.
Now we need to drag to the desktop the item “Button” and adjust it.
Pictures adjustment used from here http://www.sitepoint.com/how-to-make-an-effective-iot-dashboard-without-coding/ and here http://embeddedcomputing.weebly.com/iot-otg-with-blynk.html
Next Arduino users download a sketch from github, enter in it “Auth token”, compiles, then upload it in devboard and enjoy.
But this path is not for me)))). I use Eclipse SDK but there is no library of Blynk for it. So I had to write down a log of commands exchange between Arduino and the Blynk server. Here it is:
Connecting to cloud.blynk.cc:8442 02 00 01 00 20 <msg 2,1,32//Comand "Register" 32 length "Auth token" 33 66 66 61 65 33 38 34 64 63 35 62 34 66 30 37 39 66 61 66 36 61 38 66 39 35 36 61 61 30 33 34 <3ffae384dc5b4f079faf6a8f956aa034//Sending "Auth token" 00 00 01 00 C8 >msg 0,1,200//Answer Ok 06 00 01 00 00 <msg 6,1,0//Sending Ping one per 15 seconds. That we are still on line. 00 00 01 00 C8 >msg 0,1,200// Answer Ping Ok 14 00 0F 00 08 >msg 20,12,8// Some hardware command 70 6D 00 30 00 6F 75 74 >pm0out// Pin GPI0 set as output 06 00 01 00 00 <msg 6,1,0//Sending Ping one per 15 seconds. 00 00 01 00 C8 >msg 0,1,200// Answer Ping Ok 14 00 10 00 06 64 77 00 30 00 31 >dw01//Pin GPI0 value "1" 14 00 11 00 06 64 77 00 30 00 30 >dw00//Pin GPI0 value "0" 14 00 12 00 06 64 77 00 30 00 31 >dw01//Pin GPI0 value "1" 14 00 13 00 06 64 77 00 30 00 30 >dw00//Pin GPI0 value "0"
Well, something like that. By results of this log I am now writing my own project in Eclipse SDK using Blynk protocol. Here is the video of today:
Hello!
I think it’s great. I’m using Sming framework to program my esp8266.I was thinking about making something to connect with Blynk. Can You share the code, so i can adjust it for Sming.
I’ve just sent you a letter with code.