Switch

last modified: October 23, 2025

How to Automate the Turn-On Time of a Deco Light

Posted on 2018-12-21— How and Why, Learn

I wanted my winter decoration to switch on at dusk without constant adjustments, so I built a simple low-voltage controller using a P-channel MOSFET, a microcontroller and an ambient light sensor. I walk through my design choices, sealing for outdoor use and programming tips—read on if you'd like to build one too.

Read this post