This is an open Smart outlet with LCD designed by CuteDigi for Arduino.
You can control the embedded triac by toggling D9 of Arduino. You can also do dimmer. A 16X2 LCD is provided so that you can use it to show the status.
Two buttons are provided to interact with Arduino.
You can sense the current too!
Together with the Xbee shield or WiFi shield, remote control and sensing of smart outlet can be achieved.
Datasheet of current sensor used (ACS712)
An example Arduino code to control the outlet
The following code implements a basic function:
1. Type "ATON" and "ATOF" at serial terminal through the USB to turn on and off the outlet
2. Show the status on the LCD
3. Measure the current ADC and show that on the LCD
The Arduino sketch can be downloaded here.
An project of WiFi Enabled Smart Outlet
As some pins of smart outlet and WiFi shields use the same pin. We need to make a pin jumper shield.
Basically, we route smart outlet shields's
D2 to Arduino's D0.
D3 to Arduino's D1.
D4 to Arduino's D3.
D5 to Arduino's D4.
D9 to Arduino's D5.
D11 to Arduino's D6.
D12 to Arduino's D7.
The full assembly is as follows:
The Arduino shetch is can be download here.
We can use the TCP/IP test tool from www.simplecomtools.com to control the WiFi enabled smart outlet.