I am moving the topic to the section here, perhaps someone can advise beforehand.
I would like to make a top light for a cabinet that has four doors /length 2m, four x 0.5m doors/ on an addressable led strip powered by 12 or 24V, so that opening the door lights up the open part of the cabinet. Four reed switches with N.C. contacts are mounted in the door. The question is how to implement this in a simple way, as I do not need any WiFi controllers.
I can see that I probably need to do this on an Arduino Uno or ESP32 - treat the reed switches as buttons with pull-down resistors and add some simple library to control the addressable tape, as I only need to switch on/off four sections of tape depending on which door has been opened.
Any hints?
I would like to make a top light for a cabinet that has four doors /length 2m, four x 0.5m doors/ on an addressable led strip powered by 12 or 24V, so that opening the door lights up the open part of the cabinet. Four reed switches with N.C. contacts are mounted in the door. The question is how to implement this in a simple way, as I do not need any WiFi controllers.
I can see that I probably need to do this on an Arduino Uno or ESP32 - treat the reed switches as buttons with pull-down resistors and add some simple library to control the addressable tape, as I only need to switch on/off four sections of tape depending on which door has been opened.
Any hints?