Inside the plugduino
you'll find just a few basic bits that are wired together to make the magic happen. The real mojo in the plugduino comes from the combination of an Arduino
microcontroller and a SeedStudio V2.0 Relay Shield
; the rest of the stuff is just wiring and connectors.
warning: working on 120V circuits can be dangerous and potentially lethal
make sure you know what you are doing and proceed carefully!
Because this project involves house wiring, follow the instructions carefully to ensure a safe build and always test and operate the device with a safety fuse
. With the proper use of rated terminal strips, shrink tubing, wiring, and safety procedures, you can build this project safely, but always be aware that the risk of electrical shock is present!The power circuit
consists of a 3 prong power plug, fuse, terminal strip, and two dual outlets. The four red wires between each outlet and the control board provide the switching circuit. Note that this circuit is physically isolated from the rest of the wiring.The control circuit
consists of an Arduino Uno, a SeedStudio V2.0 relay shield, and a skinned 12V power wall wart. The program running on the Arduino reads sensor input and controls the status of the relays on the Relay Shield and hence the outlets. The control board is mounted onto a section of perfboard, and fastened to the bottom of the cabinet using nut/bolt/spacers.The sensor input terminals
support four sets of analog inputs to the Arduino to provide for switches, potentiometers, and the like. Depending on your needs, you could connect these terminals to whatever inputs ( analog and/or digital ) as you see fit. You could also use different connectors that might better suit your application, such as terminal posts, ribbon connector, etc.The I/O status indicators
display which outlets have power applied to them, and which inputs are generating an input value. The indicators are separated into two groups of input and output. In this project, white LEDs are used to display output status, and green LEDs are used to display input status.The cabinet
is a standard plastic and aluminum project box with contact paper applied to the front panel for aesthetics.