# IC capable of transmiting IR over multiple pins

recently I have been looking for a way to define a pin on the Arduino Uno. once I got that right I expected that I would be able to send IR signals over at least 5 pins.This would be because I had defined the other 4 pins to suit the characteristics of pin 3.

Below is an example of IR transmitting code for pin 3

 /*
* IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
* An IR LED must be connected to Arduino PWM pin 3.
* Version 0.1 July, 2009
* http://arcfn.com
*/

#include <IRremote.h>

IRsend irsend;

void setup()
{
}

void loop() {
for (int i = 0; i < 3; i++) {
irsend.sendSony(0xa90, 12);
delay(40);
}
delay(5000); //5 second delay between each signal burst
}


These pins will be used to send the signal of an IR LED. My logic is that if I can define pins then I can hook up multiple IR LEDs (one on each pin) and thus I can send a different signal to each LED.

Unfortunately This can't be done on and Arduino Uno alone. So I am looking for an alternative IC or microcontroller which will fit my requirements.

Is there any alternative microcontroller specifically built to do what I want to do here?

Here and Here are links to questions I asked on the Arduino forum related to this post.

Any suggestions and pointers will make me very happy thanks.

• is your solution working for one IR Tx RX pair? – User323693 Jan 20 '17 at 11:45
• @Umar Yes one pair works like a charm. – MALKAVIAN Jan 20 '17 at 11:47
• "Unfortunately This can't be done on and Arduino Uno" What exactly do you mean here? Can you communicate with the receiver on all pins, one at a time?. say for ex,: only Pin 3 configured as output --works. in the next sketch, only pin 4 is configured as Tx, --works. in the next sketch only pin 5 is configured as Tx, --works?... – User323693 Jan 20 '17 at 11:52
• Irsend can only send on one pin. That is a limitation of the library, not of the hardware. You need to see if there's a different library for the Arduino. – JRE Jan 20 '17 at 12:14
• If the codes are different, why not just change the IR code sequentially for all RX. I assume the alignment of Transmit LEDs isn't a concern... – User323693 Jan 20 '17 at 12:44