Can you use a micro-controller or Arduino board to blink an LED on and off? With the Smart Switch, controlling 125 volt at up to 15 amps is just that easy. The Smart Switch can also continuously throttle the power and has a built-in sensors capable of measuring current, power, and power-factor.
Do you have an idea that involves monitoring and control of mains power? If so, use the Smart Switch as a base. You can build a daughter-board for the Smart Switch and re-program the built-in ATtiny micro-controller.
The goal now is to make a fully functional smart-switch in its final mechanical form. Below is a picture of the electronics and the 3D printed shields. The electronics have not yet been programmed with the firmware from the 2nd proto-type but it is producing 5V from the AC mains.
The 3D printed plastic bits do not fit very well yet so the electronics are wrapped in electrical tape.
The circuit prototypes work. I can get 5V off the AC to power the micro-controller and the switch throttles my electric drill just fine. It throttles a florescent lamp too, but it seems that florescent lamps do not like to be throttled. The bulb burned out. The hall sensor can see the current draw.