Help with IR signals
leshea2
Posts: 83
Can anyone tell me what command reference I would use to have the BS2sx send a specific signal to an IR LED for emission to an IR detector ?
Thanks !·
Thanks !·
Comments
Thanks !
· Anyway -- if you want to use the STAMP to emulate/produce the signals needed for a remote control you'll first need to know what that pulse train (used/needed) is.
· SEROUT wouldn't be the way to go, remote controls (TV, VCR, &c.) don't use an 8-N-1 sort of protocol/structure.· Obviously, it's serial, just not that way.· A series of PULSOUT would be most appropriate.
· Instead of having the STAMP try and do all that, I would buy another remote control and interface its keypad to the STAMP output lines.
Post Edited (PJ Allen) : 4/9/2006 1:40:08 PM GMT
The TV has an "IR-Decoder", which will recieve these signals, and generate a 'low' pulse while it is recieving the blinking IR.
Now, each vendor has their own pattern of what a series of 'pulses' means. The Sony IR protocol is pretty simple. The IR-Buddy generates (and understands) the Phillips RC-5 pattern. Search Google for Phillips RC-5 for more detail.
The above document is great if you want to use IR detectors for reading IR remote controls and if you want to dissect the codes for SENDING IR commands with an IR LED. This is for the Sony protocols but gives a good idea of how to set up the code.
I've used this kind of setup for my Stamp-based 'bots -- you can change the "channel" to change behaviors, you can have one 'bot send remote commands to another, etc. We read about one fellow who programs his bots to turn off TVs wherever they go...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
The I-R Buddy is still available -- http://www.parallax.com/detail.asp?product_id=28016
Post Edited (PJ Allen) : 4/10/2006 5:22:57 PM GMT