View Full Version : Infrared Receiver
emavil
- 5th December 2006, 05:17
Hi
Anybody who knows how to receive a decoded infrared signal in PICBASIC and turn on an appropriate relay connnected to portB. 8 relays are connected to portb and IR Receiver in PortA.0. I'm using TSOP1236 IR Receiver.
Archangel
- 5th December 2006, 06:39
Here is a nice tutorial Bruce made available on his website
http://www.rentron.com/PicBasic/IR_Chips.htm
teverett
- 5th December 2006, 23:17
You would need to pick a IR transmitter. They emit very different signals. (the TSOP1236 IR will receive and decode all of them). Sony, sharp or philips ... each transmits IR differently.
http://www.hifi-remote.com/infrared/IR-PWM.shtml
keithdoxey
- 5th December 2006, 23:37
Best to use a 38kHz receiver rather than 36kHz if you are planning on decoding various protocols.
Philips (RC5 RC6 RCMM) tend to be 36kHz and uses Manchester Encoding
NEC tend to be 38kHz and uses space encoding
Sony tend to be 40kHz and uses pulse encoding
Sensitivity of the receiver drops off outside its designated centre frequency so 38k works best as a generic receiver. eg TSOP1238, TSOP1838, TSOP4838 etc
dhouston
- 6th December 2006, 00:25
TSOP1100 handles 33-57kHz carriers.
keithdoxey
- 6th December 2006, 00:36
TSOP1100 handles 33-57kHz carriers.
Thats useful to know.
Thanks Dave
Archangel
- 6th December 2006, 01:27
THANK GOD FOR GOOGLE!
http://www.datasheetcatalog.com/datasheets_pdf/T/S/O/P/TSOP1100.shtml
Or lots of us would sure be in the dark :) , Could I be the only one out here who didn't know what a TSOPxxxx was?
JS
emavil
- 7th December 2006, 23:31
Thanks a lot guys, but for now, i will NOT focus myself on the programming. Maybe later. What I would like to know is basically the detailed & simple technical functionality on how an infrared receiver works (layman explanation).
emavil
- 7th December 2006, 23:38
You would need to pick a IR transmitter. They emit very different signals. (the TSOP1236 IR will receive and decode all of them). Sony, sharp or philips ... each transmits IR differently.
http://www.hifi-remote.com/infrared/IR-PWM.shtml
thanks a lot everett, that was an excellent reference. I will study the explanations and make it as a reference.
dhouston
- 8th December 2006, 01:03
Thanks a lot guys, but for now, i will NOT focus myself on the programming. Maybe later. What I would like to know is basically the detailed & simple technical functionality on how an infrared receiver works (layman explanation).
This page gives a brief explanation of the fundamentals although it is more from the transmitter side of things.
http://davehouston.net/ir-rf_fundamentals.htm
The datasheets for any of the TSOPxxxx receivers have a block diagram that gives a good explanation of how they work. Basically, they have a photosensitive element that reacts to the 940nM wavelength of the IR typically used in consumer IR (CIR) and then a bandpass filter designed for the carrier frequency used followed by a low pass filter that demodulates the carrier. The output is the data envelope of the signal that was transmitted.
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.