Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
and BLYNK
By Amith MP in CircuitsArduino
109,459
303
62
Featured
DownloadFavorite
By Amith MPFollow
More by the author:
Hardware needed:
*Arduino Uno/Mega
*Jumper wires
*ESP8266-01
Software needed:
*Blynk_v0.3.4.zip https://github.com/blynkkk/blynk-library/releases
*ESP8266 blynk
library: https://github.com/vshymanskyy/ITEADLIB_Arduino_W...
http://esp8266.ru/download/esp8266-firmware/AT22S...
https://github.com/Stadslab/ESP8266_example/tree/m...
*Download pySerial
Click the link provided in the intro and click what is in the red box.
Make sure you move it to your desktop. Once it's there, double click
the "pyserial-2.7.tar.gz" file and it will create a pyserial-2.7 folder.
*Download esptool
Click the link provided in the intro and click what is in the red box.
Make sure you move it to your desktop.
Download esp8266_flasher.exe
Add TipAsk QuestionCommentDownload
Step 2: Using Windows:
*Connect your arduino to your computer using an USB 2.0 cable.
*ESP8266:____________ Arduino:
GND -------------------------- GND
GP2 -------------------------- Not connected
GP0 -------------------------- GND
RXD -------------------------- RX
TXD -------------------------- TX
CHPD ------------------------ 3.3V
RST -------------------------- Not connected
VCC -------------------------- 3.3V
*If your connections are proper the flashing will begin after erasing
flash memory.
Open your Terminal (here we are using Kali linux), then type "cd".
Next, drag the "pyserial-2.7" folder into the terminal window and hit
enter.
Add TipAsk QuestionCommentDownload
Step 4: Installing PySerial
*ESP8266:____________ Arduino:
TXD -------------------------- TX
Note:The port address of your arduino may be different. You can use
the command “ls /dev/tty*” to list all devices.
Add TipAsk QuestionCommentDownload
Step 7: Add the Blynk Library and the Blynk-ESP8266
Library to Your Arduino IDE.
*Arduino IDE >> Sketch >> Include library >> Add .zip library.
*Update the ESP8266 library from “Arduino IDE >> Sketch >> Include
library >> manage library”.
Add TipAsk QuestionCommentDownload
Step 8: Uploading the Code to Arduino
USING Arduino MEGA:
ESP8266:____________ Arduino:
RXD -------------------------- TX
TXD -------------------------- RX
Open the code in “Arduino IDE >> File >>examples >> blynk >>
BoardsAndShields>> ESP8266_Shield_HardSer”
Add your authentication token to the code
Enter "SSID" and "PASSWORD" in respective fields.
Upload the code to your arduino.
Add TipAsk QuestionCommentDownload
Step 9: Connecting, Controlling and Monitoring Arduino
Pins Using Blynk App
In the Serial monitor you can see that the connection has been
established with blynk server.
ESP8266:____________Arduino:
For Arduino UNO you can use “Arduino IDE >> File >> examples >>
blynk >> BoardsAndShields>> ESP8266_Shield_SoftSer”