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.
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.
Here is a nice tutorial Bruce made available on his website
http://www.rentron.com/PicBasic/IR_Chips.htm
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
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
Keith
www.diyha.co.uk
www.kat5.tv
Thats useful to know.Originally Posted by dhouston
Thanks Dave
Keith
www.diyha.co.uk
www.kat5.tv
thanks a lot everett, that was an excellent reference. I will study the explanations and make it as a reference.Originally Posted by teverett
Bookmarks