View Full Version : Can I capture IR frequencies with a basic stamp 2?
01-21-2006, 09:53 PM
I have a universal remote that I want to see if I can use it to control my BOE-bot. The first thing I know I need to do is capture the IR frequencies that the remote sends out. How do I go about doing this? Is this even possible? Thank you and have a good day.
01-21-2006, 10:29 PM
You will need an I/R receiver (photodiode) as an input device and then use the PULSIN command to read the start of the transmission. Then you need to determine the width of each pulse being sent. You will need to do that many times for each key, as each key may be composed of numerous different width segments. Then you need to go about that all over again, for each of the keys you intend to detect.
This is a long and time consuming process, and at least one of the primary reasons that Parallax has standardized on one type (brand) of I/R remote encoding. The SONY TV encoding sequence is the one that you will find in all of the Parallax documentation. Parallax sells both a universal remote capable of sending the SONY encoding, as well as an I/R App Kit to use as the I/R receiver.
If you can set your universal remote to the SONY TV coding sequence, any of the Parallax examples will work for you, and so will any of the I/R hardware that Parallax sells. That's obviously a much easier path to follow.
01-22-2006, 12:20 AM
Here's the link to the IR for BOE BOT book.
"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."