hi guyz,
I wanted to control arduino and its connected appliances via an remote control..
i am living in India and I am not able to get hold of the TSOP 4138 or 4838 ir receivers...
So i just connected an ir reciever(The black led) through a 10k ohm resistor to the arduino. I got the irremote.h librray instlalled and tried to read some codes from the button presses from a sony remote... What happens is, i get different codes each time, each repeating 5 times for a single button press like this:
4AB0F7B6
4AB0F7B6
4AB0F7B6
4AB0F7B6
4AB0F7B6
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
I don't know how to decode this... can some body help me... If you need any details, feel free to ask me, but do help me... =(
Thanks in advance
Well, I am sorry that i forgot to mention that I did not use any prebuilt ir receiver, but its a one manually soldered by me... So it has no datasheet...
My circuit actually contains both ir emmiter and reciever.I just used a photodiode and a ir emitter and made the circuit as in the attached image. I am just a beginner in the world of electronics, so dunno if what i made is correct or not.. Feel free to offer any suggestion
The problem you face is that IR remotes transmit a modulated 38kHz signal (or occasionally other frequencies). Receivers such as the TSOP4838 demodulate the 38KHz signal, and the Arduino decodes the resulting pulses. Using a plain photodiode, you are missing the 38kHz demodulation step.
well dc42, thanks for taking your time for replying my query... I have finally managed to get hold of an tsop ir reciever and is now detecting the ir signals perfectly. My problem is solved as now. Thanks again