Web Controlled Socket by Arduino
Intro: Web Controlled Socket by Arduino
I made one Web controlled socket by Taiwan cloned Arduino, which is based by Arduino Pro Mini and ESP8266-1, the official site of this clone is : Webduino = Web x Arduino
We can program it by simple HTML, CSS and JavaScript, it also has online training medias on official site. The result has been tested and posted on YouTube : https://www.youtube.com/watch?v=hxoVI5R2xCw
Follow the 19 pictures, and you can build one. The program is very easy, just send HIGH/LOW to an Arduino pin by digitalWrite() to on/off a LED.
STEP 1:
STEP 2:
STEP 3:
STEP 4:
STEP 5:
STEP 6:
STEP 7:
STEP 8:
By this, the Relay becomes a switch, when we send HIGH to active it, the COM and NO terminals will be connected.
STEP 9:
STEP 10:
Get the three pins on relay, and remember the mapping of wires...please!
STEP 11:
STEP 12:
STEP 13:
STEP 14:
STEP 15:
STEP 16:
Seal and fix everything.
STEP 17:
STEP 18:
Test...it works! But, please remember the specifications of components are very important.Especially, safety matter. The controller is Webduino, power it by a smartphone wall charger in orange.
STEP 19:
The code is so simple, just like light up a LED : https://webduino.io/tutorials/tutorial-01-led.html
5 Comments
john.major 7 years ago
Why? I can't think of any safety reasons not to, what am I missing?
R Jordan Kreindler 7 years ago
This is definitely something I can use. Thanks
marcwave 8 years ago
Great project.
What are the grey connectors on step one??? Fuses ?? capacitors??
thanks
rsagevik 8 years ago
Wago connectors
ПетърВ1 8 years ago