Hello Friends,
I'm intending to make a universal IR remote control supporting any IR protocol, my approach is to get an IR receiver "TSOP382", build its circuit, connect its output to one input pin with interrupt of the MSP430F5438, I store the time of every "1" and "0" in a large array, store it in the main program memory, then play it back when needed, the play back mechanism output a frequency of 38KHz in the time of "1's" and nothing (zero volt) in the time of "0's". (Actual 1s and 0s as they are inverted in the "TSOP382")
the system works well with my DVD, TV and satellite receiver, but it doesn't work with my Air conditioner, I have no idea why?
I did several attempts to solve my problem such as:
1) assuming that the AC IR remote control uses other frequency other than the 38KHz, I used the oscilloscope to read the frequency and an IR diode, it was hard to confirm but the carrier frequency was about the 38KHz
2) I assumed the the IR receiver I'm using ("TSOP382") is not able to read the correct AC remote signal for any reason --> I wrote an additional part in the code to count the number of "1s" and "0s" in a key press, I got the same exact number each time I press the same key.
3) in one of my trials it worked with the AC (when the Tx LED was very close to the AC [about 1 Cm]) but then it refused to work again.
Any idea or support is highly appreciated
Thank you.
Mina