Pages: [1]   Go Down
Author Topic: IR receiver setup help  (Read 902 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 130
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an infrared sensor thats connected to A5, GND and 5v
and its supposed to send it to the computer and an LCD
it keeps sending random numbers/zeros
how do I set it up? pins and code please smiley
and how can I make it so it reads ir input and send it to me as a number?
so I can make a disttinction with if's and control it with a remote
the model serial is BT38R 920
Logged

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10442
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have more information, google hasn't heard of that device code.
Logged

[ I won't respond to messages, use the forum please ]

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24364
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is the "920" the wavelength? (as in 920nm)

Quote
and how can I make it so it reads ir input and send it to me as a number?
Probably connect it as a potential divider.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Norway
Offline Offline
Sr. Member
****
Karma: 4
Posts: 423
microscopic quantum convulsions of space-time
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the model serial is BT38R 920
I guess  (note the "guess"!) this is an integrated receiver (similar to TSOP2438), for decoding IR signals at 38kHz. In which case no voltage dividing is necessary. However I'd still recommend a low-ish resistor from it's output to Arduino's input, say 100-220 ohms or so (just in case you connect two outputs together). Btw you can (have to, probably) use a digital input, no need for an analog one.

Quote
how do I set it up? pins and code please smiley
and how can I make it so it reads ir input and send it to me as a number?
so I can make a disttinction with if's and control it with a remote
Pins are the easy part. As for code, not so easy really, except that there is an excellent IR library by Ken Shirriff that makes it easy anyway smiley It that can cope with most remote control code formats (protocolls), and even for some unsupported via reading raw codes (if memory serves): http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
Logged

Pages: [1]   Go Up
Jump to: