I have an Arduino Micro where I want to control a display with IR commands. So the Arduino should send the IR commands to the display.
I have found a library "Arduino-IRremote", which I am using to transmit Commands to the display. The display works perfectly with its remote control, however I can't get it accept signals from my Arduino.
Now the special part about my setup is, that I do not use a "classic" IR transmitter. Instead i uset an IR cable, which is connected to "IR-In" of the display. So no LED - only a wired connection. The IR-cable consists of 3 wires. 2 for power supply (VIN and GND) and one is for the data connection. The wire with the data connection is connected with the Arduino PWM pin 3 (like it is said on the example in the linked library), but I tried all other pins anyway.
#include <IRremote.h>
IRsend irsend;
void loop() {
for (int i = 0; i < 2; i++) {
digitalWrite(RXLED, HIGH);
irsend.sendNEC(0x004eff71, 32);
Serial.println( "sendNEC 00 4E FF 71" );
digitalWrite(RXLED, LOW);
delay(40);
}
delay(1000);
}
004eff71
is a NEC-Command from the original remote control
Now can somebody tell me, what I'm doing wrong? The program compiles and the LED lights up, everytime it should send the NEC-command. But still the display receives nothing. What is wrong?