I have five existing wall lights that are hard wired to a single switch, running on 230v a/c It's impossible to run alternate wiring as it's all embedded in the walls (which are three feet thick.) I am going to convert each light to be dual-function, with (a) background candle-LEDs and (b) a couple of 5w LED spotlights Already I have acquired 12v LED drivers and step-down transformers (12v to 5V) for the candle LEDs. What I wanted to figure out was some electronincs to allow me to control them all by using the existing in-wall wires and perhaps replacing the wall switch with a push-button switch. What I had in mind was to be able to achieve different functions sequentially, possibly using an IC like a 4017. However, I'm only a beginner at electronics, and I haven't been able to figure out a way to do it. One sequencing that would be effective, commencing with an all-off situation, would be: 1st press = candle lights only on 2nd press = LED spotlights on (Candle bulbs remain on) 3rd press = All off Cycle then repeats. If this proves to be impossible, I also considered the idea of short and long presses, which could trigger a timer for the long press to acomplish some switching The power of 230v a/c will also be travelling down the same wires to give power to the 12v LED drivers in each lamp, so I'm actually talking about sequential presses on a 230v a/c circuit.
Posted by colinstcharles 1 year ago