I've created an earlier version of this board (v3.3.1) last week, and that one was working fine since then! The only difference with the board in this project (v3.3.2) is the addition of a DS18B20 temperature sensor, and some small corrections were made to the silkscreen. So I'm not expecting any problems with this newer version either. If you still want me to have this confirmed first, I recommend to wait a little longer.
The main goal for this project was to come up with an easy, simple to integrate solution to control the lights in the house. When designing this solution, I wanted to meet the following requirements:
With the great help my MySensors.org , I have designed a small PCB of 50mm by 50mm. Because of this small size, it is even possible to place this custom PCB behind a light switch. The PCB is designed to fit following essential components:
The end result looks something like this:
These boards are available via DirtyPCBs
Bottom side, Top side.
Because of the small footprint of the board, it’s important to mount all the components in a specific sequence. Before mounting everything to the board, make sure all the components are working properly. Check if the fuses are still ok, flash your Arduino,.. It’s advised to mount the components in following order:
As seen on the picture below, the light switch is no longer connected to the AC Circuit. The light switch now serves as an input to the Arduino, after which the Arduino will close the relay and turn on the lights. The optional 2nd relay can be connected in the same way as relay 1.
Known issues: None.
|Qty||Value||Device||Package||Parts||Description||MF||MPN||Aliexpress or Ebay link|
|1||2.08||HLK-PM01 AC to 5V DC converter||AliExpress: 5 pcs HLK-PM01 AC-DC 220V to 5V Step-Down Power ...|
|1||1.51||Arduino Pro Mini||AliExpress: With the bootloader 10pcs/lot ATMEGA328P Pro Mi...|
|1||0.60||LE33ACZ 5V – 3.3V converter||AliExpress: http://www.aliexpress.com/item/Free-shipping-10-...|
|3||0.20||Screw Terminals (3x)||AliExpress: Promotion ! 5 Pcs 2P 5mm Pitch PCB Screw Termina...|
|1||0.04||4.7uF Capacitors||AliExpress: http://www.aliexpress.com/item/25-Pcs-4-7uF-50V-...|
|1||0.03||100uF Capacitors||AliExpress: 86018 free shipping 50pcs Aluminum electrolytic ...|
|1||0.02||100nF Capacitors||AliExpress: 50x Ceramic Capacitor 104P Ceramic Disc Capacito...|
|1||0.15||230v AC Varistor||AliExpress: http://www.aliexpress.com/item/Varistor-10D391K-...|
|2||0.83||Solid State Relay (2x)||AliExpress: 2PCS G3MB-202P DC-AC PCB SSR In 5V DC Out 240V A...|
|1||0.15||Slow Blow Fuse (250v 0.2A)||Ebay: Ceramic Slow Blow Fuse 3.6 x 10mm Axial Leads 125V 250...|
|1||0.50||Thermal Cutoffs (73C)||Ebay: 10pcs Thermal Cutoffs SEFUSE Microtemp Thermal TF Cuto...|
|1||0.50||DS18B20||AliExpress: Free Shipping 10pcs DALLAS DS18B20 18B20 18S20 T...|
|1||0.01||Resistor (4700 Ohm)||AliExpress: Free shipping 100pcs 4.7k ohm 1/4W 4.7k Metal Fi...|
|DoubleRelayWithButtonActuators (Without temperature sensor).ino||3.41 kB||443|