ESP8266 Relay Control via Web Browser
ItKindaWorks ItKindaWorks
25.4K subscribers
43,939 views
0

 Published On Feb 26, 2016

Subscribe for more weekly videos!
Follow me on Twitter @itkindaworksinc

This next video builds off the getting started video and swaps out the LED for a relay module controlled by an optoisolator. Instead of simply blinking an LED, we can control anything that can be plugged into a wall socket. This project also demonstrates using the aRest libraries to create a webpage to control our relay rather than just turning it on or off as we did in the last video.

Link to breadboard layout & code in this video:
https://github.com/ItKindaWorks/ESP82...

Hardware you'll need for this tutorial:
Breadboard
ESP8266-01 Module
FTDI (or similar) 3.3v USB to Serial Adapter
5V supply (my FTDI adapter supplies 5V and 3.3V, yours may not)
USB Cable
5 Male to Female Jumper Cables
4 Male to Male Jumper Cables
3 Pin JST female connector
Small Extra Jumpers
Optoisolator
5V Relay Module
220 Ohm Resistor
4.7k Ohm Resistor
100uf Capacitor
Pushbutton

Let me know what you want me to show you next!

show more

Share/Embed