Light control via infrared?
I’m trying to setup a wireless system to turn on/off some battery operated lights that are hung up in various locations. Think those battery operated Halloween hanging lamps
I was trying to figure out a WiFi/bluetooth answer, then I stumbled across an infrared diode setup ( like what is in your TV remote ).
I’m thinking a nano with a relay board and I’d be set.
Am I in the right track?
I’m thinking I would operate around 4 of these lamps with a Raspberry PI? There would be a fair amount of if then statements to tell them to turn on and off , which is why I’m complicating such a simple thing!
Posted Dec 27, 2023, 1:57 PM UTC
210
Yeah that would work as long as you had a relay for each set of lights you wanted to control. A Raspberry Pi isn't really needed here.
Cheers,
ripredwhy do people ask rpi questions in r/arduino?
both hobbies attract the same groups of people?
Because I’ll be using about 4 ( that probably be closer to ten of them) nano’s and controlling them with the pi?
maybe this link will be useful to you. https://youtu.be/C4Iig2AL74s?si=wVHbQsdBYwRuje43
Thanks for the link, however, I’m wanting a few conditions met, among them, overall light level, whether the room is occupied, time of day, etc. The lights will be an automatic thing. No button pushing after its setup.
I was thinking that each light would have a ir receiver and relay mounted on a nano
I wasn’t sure if I could control 4-10 receivers with an Arduino, or if I had to go up to a pi.
Thanks!
yeah that many might take more horsepower, or split it across multiple arduino's
I figured, now I just have to figure out the pi thing, I’m merely dipped my toes into the arduino.