It's so much useful so I even removed regular bulb — it became redundant.
- Automatic night mode 😴 (When it's dark in the apartment — turn on with 1% power)
- On motion detection trigger for N minutes (prolongation works)
- Buttons to change brightness or add 10 more minutes
- Automatically fades in and out
- Display how much time left
- Covered with tests! 🚀
- Modular source code 🔥
It's okay. This code was initially written for Arduino Nano and later moved to single ATMega8 processor. Every Arduino should work fine, just change pins definition and you're done. It should be even compatible with ATTiny processors.
- SevSeg for easy seven segment display operation
MIT