This MySensors equiped ClockRadio wakes me up since a couple of months.
It has the following features:
On the pictures a working early prototype is shown, recently I've designed a custom PCB.
To compile the code one has to install the Adafruit_GFX and Adafruit_LEDBackpack libraries for controlling the 7 segment LED's
There are 5 buttons
Functions from your HA controller: "motion sensor"
"Light switch" / "Dimmer"
As shown on the pictures I've integrated the RG(B) led strip (blue is not used) in our bed side reading light it had already milk-white glass plates for the best effect
Happy sleeping!
| Qty | Value | Device | Package | Parts | Description | MF | MPN | Aliexpress or Ebay link |
|---|---|---|---|---|---|---|---|---|
| 1 | Arduino Nano | A1 | ||||||
| 1 | 0,33uF | C Radial | Capacitors_THT:CP_Radial_Tantal_D5.0mm_P2.50mm | C1 | ||||
| 1 | 0,1uF | C Radial | Capacitors_THT:CP_Radial_Tantal_D5.0mm_P2.50mm | C2 | ||||
| 1 | 10uF | C Radial | Capacitors_THT:CP_Radial_Tantal_D5.0mm_P2.50mm | C3 | ||||
| 1 | 1N4148 | Diode | Diodes_THT:D_A-405_P7.62mm_Horizontal | D1 | ||||
| 2 | Connector | Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-2pol | J1,J5 | https://www.aliexpress.com/snapshot/0.html?orderId=82152829243423&productId=32667222182 | ||||
| 1 | Connector | Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-3pol | J2 | https://www.aliexpress.com/snapshot/0.html?orderId=82152829233423&productId=32762404856 | ||||
| 1 | Connector | Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm | J3 | |||||
| 2 | Connector | Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm | J4, JP1 | |||||
| 1 | Connector | Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm | J6 | |||||
| 2 | IRL540N | TO_SOT_Packages_THT:TO-92_Molded_Narrow | Q1,Q2 | N version (for 5 volt) | http://www.ebay.com/itm/10-x-New-IRL540-IRL-540N-Power-MOSFET-TO-220-IR-/271126383602 | |||
| 1 | 100K | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 | |||||
| 1 | 1k | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2 | |||||
| 1 | 5v | Relay | 5v print relay (Siemens or other brand) | RL1 | http://www.ebay.com/itm/10Pcs-HK19F-DC5V-SHG-DC-5V-1A-125VAC-2A-30VDC-Mini-Power-Relay-8Pin/152257792078 | |||
| 1 | BC547 | TO_SOT_Packages_THT:TO-92_Molded_Narrow | T1 | |||||
| 1 | 7805 | TO_SOT_Packages_THT:TO-92_Molded_Narrow | U1 | |||||
| 1 | NRF24L01 | NRF24L01-SMD radio module | U2 | Use pin header | https://www.aliexpress.com/snapshot/0.html?orderId=82183457133423&productId=32230576075 | |||
| 1 | Radio module | http://www.ebay.com/itm/Digital-led-5V-MP3-decode-with-2-3W-amplifier-remote-control-usb-SD-fm-Radio-/331955922256 | ||||||
| 4 | Buttons | http://www.ebay.com/itm/100Pcs-Tactile-Push-Button-Switch-Momentary-12-12-7-3MM-5-colors-Tact-Cap-/111711901676 | ||||||
| 1 | Special button | Special snooze easy to find when sleepy | ||||||
| 1 | 7 DIGIT HT16K33 | http://www.ebay.com/itm/1-2-4-Digit-7-Seven-Segment-LED-Display-IIC-for-Arduino-uno-r3-Breadboard-/331702138484 | ||||||
| 1 | LDR | http://www.ebay.com/itm/20Pcs-Photo-Light-Sensitive-Resistor-Photoresistor-5528-GL5528-/131695303531 | ||||||
| 1 | Housing | http://www.ebay.com/itm/HQ-Instrumentation-ABS-Project-Enclosure-Box-Case-Black-140x170x60mm-Plastic-/201180688204 | ||||||
| 3 | Heatsinks | http://www.ebay.com/itm/50-set-TO-220-Silver-Color-Heat-Sink-HeatSink-Insulation-Bushing-Mica-Sheet-Pad-/261681794697 | ||||||
| 1 | Speaker | http://www.ebay.com/itm/2pcs-2-inch-50mm-8Ohm-8-1W-Internal-magnetic-Speaker-Loudspeaker-/161484564744 | ||||||
| 1 | 0.5 meter | Led strip | https://nl.aliexpress.com/item/RGB-LED-Strip-Light-SMD-5050-60LED-M-Lamps-DC12V-Flexible-Light-Ribbon-1-2-3/32627564693.html |
| Name | Size | # Downloads |
|---|---|---|
| MySensClockRadio-B.Cu.gbl | 12.99 kB | 650 |
| MySensClockRadio-B.Mask.gbs | 3.31 kB | 691 |
| MySensClockRadio-B.SilkS.gbo | 64.8 kB | 694 |
| MySensClockRadio-Edge.Cuts.gml | 2.04 kB | 708 |
| MySensClockRadio-F.Cu.gtl | 12.79 kB | 670 |
| MySensClockRadio-F.Mask.gts | 3.31 kB | 640 |
| MySensClockRadio-F.SilkS.gto | 38.9 kB | 680 |
| MySensClockRadio.drl | 1.58 kB | 613 |
| MySensClockRadio.txt | 1.58 kB | 448 |
| clockradio_schematic.pdf | 45.57 kB | 442 |
| Name | Size | # Downloads |
|---|---|---|
| ClockRadio.ino | 40.27 kB | 742 |