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/item//0.html | ||||
1 | Connector | Connectors_Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-3pol | J2 | https://www.aliexpress.com/item//0.html | ||||
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) | Ebay: https://www.ebay.com/itm/10-x-New-IRL540-IRL-540N-Powe... | |||
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 | Ebay: http://www.ebay.com/itm/10Pcs-HK19F-DC5V-SHG-DC-5V-1A-... | |||
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/item//0.html | |||
1 | Radio module | Ebay: http://www.ebay.com/itm/Digital-led-5V-MP3-decode-with... | ||||||
4 | Buttons | Ebay: http://www.ebay.com/itm/100Pcs-Tactile-Push-Button-Swi... | ||||||
1 | Special button | Special snooze easy to find when sleepy | ||||||
1 | 7 DIGIT HT16K33 | Ebay: http://www.ebay.com/itm/1-2-4-Digit-7-Seven-Segment-LE... | ||||||
1 | LDR | Ebay: http://www.ebay.com/itm/20Pcs-Photo-Light-Sensitive-Re... | ||||||
1 | Housing | Ebay: http://www.ebay.com/itm/HQ-Instrumentation-ABS-Project... | ||||||
3 | Heatsinks | Ebay: http://www.ebay.com/itm/50-set-TO-220-Silver-Color-Hea... | ||||||
1 | Speaker | Ebay: http://www.ebay.com/itm/2pcs-2-inch-50mm-8Ohm-8-1W-Int... | ||||||
1 | 0.5 meter | Led strip | https://www.aliexpress.com/item//32627564693.html |
Name | Size | # Downloads |
---|---|---|
MySensClockRadio-B.Cu.gbl | 12.99 kB | 509 |
MySensClockRadio-B.Mask.gbs | 3.31 kB | 579 |
MySensClockRadio-B.SilkS.gbo | 64.8 kB | 557 |
MySensClockRadio-Edge.Cuts.gml | 2.04 kB | 589 |
MySensClockRadio-F.Cu.gtl | 12.79 kB | 541 |
MySensClockRadio-F.Mask.gts | 3.31 kB | 529 |
MySensClockRadio-F.SilkS.gto | 38.9 kB | 521 |
MySensClockRadio.drl | 1.58 kB | 503 |
MySensClockRadio.txt | 1.58 kB | 365 |
clockradio_schematic.pdf | 45.57 kB | 363 |
Name | Size | # Downloads |
---|---|---|
ClockRadio.ino | 40.27 kB | 627 |