Infra-red decode & Transmit

Hello!

Got a simple project. Decode an IR remote for 2 AC's, Daikin FTKC (split) and FFR10CV1 (Cassette). Then re-transmit the signal with an Arduino Nano powered by 3.3V.
Managed to control the split unit, but failed at the Cassette. Here are the steps & results:

Steps:

  1. Use an IR receiver to decode the remote signal, all AC's share 1 remote controller.
  2. Copy the raw data (uint32_t rawData[131] = {4500,2450, 400,350...).
  3. Transmit the obtained data by the command: irsend.sendRaw(rawData, 131, 38).

Results:
The split AC responded quite well. The cassette AC, however, did not. I tried to send the command at each frequency from 25 to 45Khz but it's not responding.

  • Any suggestions to what I might be doing wrong?
  • If my circuit (as attached in the picture) works well with the split AC, should it work with any other devices as well? Or my hardware might be causing the problem?

Thanks :slight_smile:

I am surprised that your circuit works without a current limit resistor for the LED or a resistor between the Arduino output and transistor base..

How to post images.

Me too. Tried to add a resistor at the base but it wasn't as good. I tried this circuit first with ESP8266 then hooked it up to the Arduino, both microcontrollers performed similarly.

The cassette AC, however, is not responding to any circuit.

Could you put a scope on the working transmitter led to see what it's actually sending?

Allan

Allan,

Due to the lack of an oscilloscope, I managed to put an IR receiver near the cassette AC and I received the same command I sent.

Furthermore, I managed to control a TV and a sound system by my very same circuit. Hence the wonder whether my circuit is not allowing the IR LED to control the cassette AC or it's a software/ command related issue.

I always thought the raw command received by the receiver should work fine if you transmit it at the right frequency. Pardon my ignorance on the matter, but why did you suggest attaching an oscilloscope across the LED?

Because that would tell you the carrier frequency. It could be 36, 38, 56, 78 etc kHz - there are many standards. The receving device is tuned to that.

Allan

Without current limiting a long transmission may cause a breakdown of the supply voltage. I'd add a collector resistor of at least 10 Ohm.