Attiny night light

1 Replies, 587 Views

I've wanted to complete this project for many years now. Revision one worked, and just used the internal counters of the attiny to time, which was not very accurate. It got to the point where I was plugging it in every night and hardcoded a "start time"

I've got a bunch of attiny22s and a RTC chip and I want to try to resurrect this project on a PCB with maybe a CMOS battery to keep time. Then eventually wire in TRIAC control and dim the entire room (or re-wire my already-LED room lights to DC and just use the (hopefully) built-in LED controller)

The original source is here:
https://github.com/packocrayons/attinyNightLight
Sounds like fun! Might be a good idea to use an SSR instead of a triac? (It's just a triac with some helpful extras and heat sinking). I've been using these AC power modules I found on AliExpress lately for powering embedded devices from AC that have been awesome. They're reasonably small and galvanically isolated.

https://www.aliexpress.com/item/32961741...1802PECzDy
Yours truly,
Ayydan



Users browsing this thread: 1 Guest(s)