Another newbie needs suggestion
Dr_Lomax
Posts: 3
I want to use the stamp module to create a remote controller for my PC. I am wondering which module & board should I get? I am currently a PhD student at Georgia Tech.
I want to perform the follwoing tasks:
1. Read and understand IR signals fired from a IR remote (will require IR reciever from components page).
2. Send ASCII text and strings from from the serial /usb of the dev board and display them on the Hyperterminal
3. Read IR signals from a remote, decode them and send Binary/Hex equivalent Strings to display on the Hyperterminal for further processing to recognize which key was pressed.
Your help is appreciated.
Thanks
I want to perform the follwoing tasks:
1. Read and understand IR signals fired from a IR remote (will require IR reciever from components page).
2. Send ASCII text and strings from from the serial /usb of the dev board and display them on the Hyperterminal
3. Read IR signals from a remote, decode them and send Binary/Hex equivalent Strings to display on the Hyperterminal for further processing to recognize which key was pressed.
Your help is appreciated.
Thanks
Comments
Get the Board Of Education (BOE)...it comes with an onboard regulator, programming port and a small breadboard for prototyping!
You'll want some IR decoder modules!· you can buy IR LEDs and detectors...but these aren't what you want (at least as far as the LEDs go).
Parallax has an IR kit on their site too!· go check it out....a product called IR Buddy comes to mind too!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://ca.geocities.com/steve.brady@rogers.com/index.html
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
Any 'remote's IR control is based on sending a series of bits to the recieving device. A 'bit' is a certain duration of signal. The signal is a 36, 38, or 40 Khz square wave imposed on an IR-LED -- basically, it blinks on and off that fast for the 'bit' time.
When the IR-Decoder sees the blinking, it generates a signal of the 'envelope' of that wave. Basically, as long as the LED is blinking, the output of the IR-Decoder is low (it's output is high, when it sees no signal).
Now, though each vendor uses very similar hardware to generate the 'blinking', each one has a different set of 'bits'. Thus we have the Phillips RC5 Protocol, the Sony Protocol, etc.
As an example, the Sony protocol defines a '1' as a 600 uSec pulse from the decoder, and a '0' as a 1.2 mSec pulse. (I may have those backwards). The BS2 can detect pulse widths in 2 uSec increments, so you'll be okay here.
The BS2 has a hard time SENDING these signals, since it uses FREQOUT to do this job, and it can only send in 1 mSec increments. Thus using the BS2 for a receiver is do-able. Using it for a transmitter -- well, it depends on the protocol if it can be done at all. If you add a little hardware (a 555 based 38 Khz oscillator, basically) and use PULSOUT to control it, then you CAN do some protocols with the BS2.
It sounds like you mostly want to recieve -- so as the above discussion shows, you should be OK with the BS2.· Finally, to answer your question, yes, all you have to do is connect +5 and Vss to the IR-Decoder, and connect the signal to a BS2 pin.· You will have to select a protocol supported by your remote (there's hundreds -- the Sony protocol is pretty standard) and code the BS2 to recognize it.· All do-able.
·