Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch now!Tune in to Hackster Holidays, Ep. 6 now!
Pavel
Published

Connect to Blynk using ESP8266 as Arduino Uno wifi shield

This is a tutorial to show you how to connect to Blynk using an ESP8266 - 01 as an Arduino Uno wifi shield.

IntermediateFull instructions provided125,339
Connect to Blynk using ESP8266 as Arduino Uno wifi shield

Things used in this project

Story

Read more

Schematics

FFDHA9RIE4ZMVE9.LARGE.jpg

Code

Code

Plain text
~ Home$ cd/Users/Home/Desktop/pyserial-2.7 :pyserial-2.7 Home$ sudo python setup.py install
Password:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'use_2to3'
 
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of
/usr/local/bin/miniterm.py to 755
running install_egg_info
Removing /Library/Python/2.7/site-packages/pyserial-2.7-py2.7.egg-info
Writing
/Library/Python/2.7/site-packages/pyserial-2.7-py2.7.egg-info
:pyserial-2.7 Home$

Code

Plain text
~ Home$ cd /Users/Home/Desktop/esptool-master :esptool-master Home$ sudo ./esptool.py --port /dev/tty.usbmodemfd121 write_flash 0x00000AT22SDK10020150320boot12.bin
Password:
Connecting...
Erasing flash...
Wrote 520192 bytes at 0x00000000 in
49.8 seconds (83.5 kbit/s)...
Leaving...
:esptool-master Home$

Code

Plain text
[19] Blynk v0.2.5-beta [20] Connecting to Courtyards-Wireless
ATE0
AT+CWMODE?
AT+CWJAP="Courtyards-Wireless",""
AT+CIFSR
[3088] IP: +CIFSR:STAIP,"100.65.10.162"
+CIFSR:STAMAC,"18:fe:34:a3:a3:01" OK
AT+CIPMUX=0
[3110] Connected to WiFi
AT+CIPCLOSE
AT+CIPSTART="TCP","cloud.blynk.cc",8442
AT+CIPSEND=5
 AT+CIPSEND=32
15e942483a7141d5acceb9c657274d17[10176] Ready (ping: 11ms).

Github

https://github.com/blynkkk/blynk-library

Github

https://github.com/vshymanskyy/ITEADLIB_Arduino_WeeESP8266

Github

https://github.com/themadinventor/esptool

Credits

Nolan Mathews

Posted by Pavel
Thanks to Nolan Mathews.

Comments