HI GUYS MY NAME IS P STEVEN LYLE JYOTHI AND THIS IS MY FIRST INSTRUCTABLE ON HOW TO CONTROLL RELAYS BY NODEMCU ESP8266-12E VIA BLYNK THROUGH THE INTERNET
SO LETS GET STARTED
SORRY FOR MY BAD ENGLISH
1. NODEMCU ESP8266-12E (http://www.ebay.in/itm/Amica-NodeMcu-Lua-ESP8266-C...)
2. 4CH RELAY (http://www.ebay.in/itm/4-Channel-Relay-Board-Modul...)
3. SOME WIRES
4. 5V POWER SUPPLY 1AMP
5.SOLDERING IRON
6.ANDROID DEVICE WITH INTERNET
7.PC WITH INTERNET
8.BLYNK APP (https://play.google.com/store/apps/details?id=cc.b...)
OPEN THE BLYNK APP
1. CLICK ON CREATE NEW PROJECT
2.NOW SELECT BOARD NODEMCU =>CONNECTION WIFI (YOU WILL GET A AUTH TOKEN TO YOUR EMAIL COPY THE TOKEN AND KEEP ASIDE YOU WILL NEED THE TOKEN WHILE WRITING THE CODE IN ARDUINO)
3.NOW CLICK ON THE (+) ICON
4.NOW SELECT BUTTON
5.ADD UPTO FOUR BUTTONS
6. NOW SELECT EACH BUTTON AND CHANGE PIN TO THE FOLLOWING
BUTTON 1 (D1) / BUTTON 2 (D2) /BUTTON 3 (D3) / BUTTON 4 (D4)
DOWNLOAD ARDUINO
STEP1.OPEN ARDUINO
STEP2. GO TO FILE=>PREFERNCES=>ADDITIONAL BOARD MANAGERS URL=>PASTE THIS LINK(http://arduino.esp8266.com/stable/package_esp8266c...)
STEP3.GO TO TOOLS=>BOARDS=>BOARD MANAGER
NOW IN BOARD MANAGER SEARCH "ESP8266"
YOU WILL GET "esp8266 by ESP8266 COMMUNITY" IN THE LIST
INSTALL THE LATEST VERSION IN MY CASE V2.3.0
STEP4. 1.GO TO SKETCH=>INCLUDE LIBRARIES=>MANAGE LIBRARIES
2.NOW IN MANAGE LIBRARY SEARCH "BLYNK"
3.AND INSTALL THE "Blynk by volodysmr shymansky"
STEP5. NOW GO TO TOOLS=>BOARD=>NODEMCU V1.0 (ESP8266-12E)
NOW GO TO TOOLS=>PROGRAMMER=.ARDUINO ISP
STEP6. UPLOAD THIS (https://github.com/stevenchanti/P.STEVEN-LYLE-JYOT...) CODE TO YOUR NODEMCU
===================================================================================
YOU HAVE TO CHANGE SOME THINGS IN CODE LIKE SSID AND PASSWORD OF YOUR NETWORK AND PASTE YOUR AUTHENTICATION TOKEN WHICH YOU GOT IN EMAIL
SOLDER THE VIN OF THE NODEMCU TO THE VCC OF THE RELAY BOARD
SOLDER THE GND OF THE NODEMCU TO THE GND OF THE RELAY BOARD
SOLDER THE D1 OF THE NODEMCU TO THE IN1 OF THE RELAY BOARD
SOLDER THE D2 OF THE NODEMCU TO THE IN2 OF THE RELAY BOARD
SOLDER THE D3 OF THE NODEMCU TO THE IN3 OF THE RELAY BOARD
SOLDER THE D4 OF THE NODEMCU TO THE IN4 OF THE RELAY BOARD