Good day guys! I am very new to the world of Arduino and am looking to build a Wireless Air-Conditioner Remote with the Arduino Yun. Before i proceed to purchase the board, i would like to check if you guys have ever tried connecting the Arduino board with multiple IR Emitter and be able to control them individually? Reason being my event room has multiple Air-Conditioner but of the same model. Thanks in advance!
Well I don't think you can really do that with just the IR library but I think you could use some of the other pins and some and gates to do it. just have the IR output pin go to a breadboard and then have some gates that take the IR signal as one input and then another pin as the other and when the other pin is on that gate will let the IR signal through and send that to the transmitter and just do that for each of the transmitters (with a different pin controlling each gate) just turn on the gate pin before you send the signal and then turn if off after you send the signal.
Edit: TL;DR basically MUX it, using the pin with the IR signal as the data and use other pins to work as the bits that define where the data goes
willstr2:
Well I don't think you can really do that with just the IR library but I think you could use some of the other pins and some and gates to do it. just have the IR output pin go to a breadboard and then have some gates that take the IR signal as one input and then another pin as the other and when the other pin is on that gate will let the IR signal through and send that to the transmitter and just do that for each of the transmitters (with a different pin controlling each gate) just turn on the gate pin before you send the signal and then turn if off after you send the signal.Edit: TL;DR basically MUX it, using the pin with the IR signal as the data and use other pins to work as the bits that define where the data goes
Hey willstr2 thanks for replying! it sounds kinda complex but i think i got what you mean. Maybe what i need to do now is to figure out how to mux it like you said.
Basically you need to build this
Have F be your IR signal (from whatever pin on your board is the IR output from the library) and then use A and B to control it (by using 2 additional pins that you turn on and off to chose which output (IR LED) to send the signal to). You may also be able to do this using an off the shelf demultiplexer but you will have to make sure it can handle the power and speed needed.
For more info visit the site I got the image from and it will explain in more detail.