Another project based on Rasp Pi Pico. That’s my desk, there are two lights. One behind the screen, and a LED strip under the first shelf. Both have switches somewhere under the desk that I cannot reach easily, so I never turn them off.

So, someone/something else have to do it for me. That’s how the idea come up. Build a time schedule lights switch. Respeberry pi pico, a clock and some relays. I wanted to make a project that code controls something physical for ages!
There is it installed. Controls the LED strip and the light behind my screen. Can set on and off time for each. Also the red button overrides schedule and turns on or off on demand.

The casing is made from 8mm MDF I had in hand. I haven’t given too much attention in woodwork, just put the casing together, maybe some time I will made some improvement and paint it also. Inside we can see the components used.
- Raspberry pi pico
- 3 relay module
- Real time clock (DS3231)
- Some old USB changer I found in my collection.
- 0.96″ screen I had in hand
- A push button
- Rotary encoder, with nice cup I rescued from the old microwave.
On the lid I made some holes for cooling, but still RTC’s thermometer shows 38C inside.






This is the settings functionality demo
The source code (I am not a pythonista, but works decently) on bitBucket