Ethernet controlled power socket
This morning I hacked together a single board microcontroller with ethernet interface, a solid-state relay, and a wall socket to form a ethernet controlled power socket. We will use this to switch on the lights of the photobooth when a photo is to be taken.
The microcontroller board implements DHCP and NETBIOS, has a build-in webserver and its I/O ports can be controlled by simple HTTP GET requests. The opto-relay is connected to port F7, and a red LED is connected to port B6. By switching both the LED and the power socket on and off simulaneously, you have a visual indication if the socket is powered on or not.
On: http://mxboard/?f7=1&b6=1
Off: http://mxboard/?f7=0&b6=0


The microcontroller board implements DHCP and NETBIOS, has a build-in webserver and its I/O ports can be controlled by simple HTTP GET requests. The opto-relay is connected to port F7, and a red LED is connected to port B6. By switching both the LED and the power socket on and off simulaneously, you have a visual indication if the socket is powered on or not.
On: http://mxboard/?f7=1&b6=1
Off: http://mxboard/?f7=0&b6=0

0 Comments:
Post a Comment
<< Home