Web Controlled Socket by Arduino

by 建賴 in Circuits > Arduino

37903 Views, 237 Favorites, 0 Comments

Web Controlled Socket by Arduino

19.jpg

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.

1.jpg

2.jpg

3.jpg

4.jpg

5.jpg

6.jpg

7.jpg

8.jpg
Schematic.jpg

By this, the Relay becomes a switch, when we send HIGH to active it, the COM and NO terminals will be connected.

9.jpg

10.jpg

Get the three pins on relay, and remember the mapping of wires...please!

11.jpg

12.jpg

13.jpg

14.jpg

15.jpg

16.jpg

Seal and fix everything.

17.jpg

18.jpg

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.

The code is so simple, just like light up a LED : https://webduino.io/tutorials/tutorial-01-led.html