logo elektroda
logo elektroda
X
logo elektroda

How do I make an LED addressable ribbon light for a cabinet with N.C. reed switches without WiFi?

Bolek345 213 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21246387
    Bolek345
    Level 10  
    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?
  • ADVERTISEMENT
  • #2 21246403
    sanfran
    Network and Internet specialist
    Exactly, just not an arduino uno, but an arduino mini. The right program and the controller will take microamps.
    The 5V tape, as such controls individual diodes, the 12V tapes have diodes grouped in threes.
    Four analogue inputs and one output.

    Here is my project.
    https://www.elektroda.pl/rtvforum/topic3893388.html#20019512
  • ADVERTISEMENT
  • #3 21246405
    elktrod
    Level 39  
    A 5V power supply will also simultaneously power the ARDUINO board and a ribbon e.g. WS2813 Link , so the option of making a power supply for two voltages is dropped....
  • ADVERTISEMENT
  • #4 21309994
    mr_diablo
    Level 2  
    And why addressable? Isn't it simpler to use a module with 4 DC 12V relays and 4 simple 12V tapes? Why complicate the issue if you can't solve it?

    How do I make an LED addressable ribbon light for a cabinet with N.C. reed switches without WiFi? .
  • #5 21310019
    elktrod
    Level 39  
    Why Arduino and addressable diodes? Because you don't need a tangle of wires to assemble it, all you need is a piece of ribbon from WS2812 to WS2815 diodes, an Arduino nano or mini board, a 5V power supply and a programmer for about 20 zlotys, all for 5V, and then you can try the effects from your laptop's USB and at the same time the author will learn how to program it, because it's not difficult at all, because there are plenty of ready-made products on the net.... Anyway, the author will choose the way himself... As long as he chooses, because since the transfer of the topic one and a half month is silent ... :) .
    Instead of an Arduino UNO like the colleague above I suggest an Arduino NANO or MINI:
    How do I make an LED addressable ribbon light for a cabinet with N.C. reed switches without WiFi? .
    Truly a lot less wiring.... Plus a programmer and a 5V power supply= and some knowledge....
ADVERTISEMENT