user15493: 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?

user10567: It isn't working probably because the output of the Arduino isn't simply an on/off signal.
That library uses a pulse width modulated output on the Arduino to drive an LED.  When the LED is "on" the signal driving it is actually pulsing at a very high rate.
I don't know what all you'd have to change to make that work with a direct wired connection.
Another thing that might becausing problems is that without checking, you can't be sure that the signal level you are sending matches the levels that the IR receiver would normally produce. 

15493: <p>I have an <strong>Arduino Micro</strong> where I want to control a display with IR commands. So the Arduino should send the IR commands to the display.</p>

<p>I have found a library "<a href="https://github.com/z3t0/Arduino-IRremote" rel="nofollow">Arduino-IRremote</a>", 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.</p>

<p>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.</p>

<pre><code>#include &lt;IRremote.h&gt;
IRsend irsend;

void loop() {

  for (int i = 0; i &lt; 2; i++) {
    digitalWrite(RXLED, HIGH);
    irsend.sendNEC(0x004eff71, 32);
    Serial.println( "sendNEC 00 4E FF 71" );
    digitalWrite(RXLED, LOW);
    delay(40);

  }
  delay(1000); 
}
</code></pre>

<p><code>004eff71</code> is a NEC-Command from the original remote control</p>

<p>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?</p>
 10567: <p>It isn't working probably because the output of the Arduino isn't simply an on/off signal.</p>

<p>That library uses a pulse width modulated output on the Arduino to drive an LED.  <strong>When the LED is "on" the signal driving it is actually pulsing at a very high rate.</strong></p>

<p>I don't know what all you'd have to change to make that work with a direct wired connection.</p>

<p>Another thing that might becausing problems is that without checking, you can't be sure that the signal level you are sending matches the levels that the IR receiver would normally produce. </p>
