Infrared communications
Buck Rogers
Posts: 2,187
Hello from Buck Rogers
New project time.
I have here a pair of modules from (Originally HP) Agilent. Essentially they are the guts of the currently active dongle type device. They speak the IRDA protocol. I have here a sketch of having one of them connect itself to a microcontroller, with an embedded serial port.
Can one of these be attached to a BS-1?
Incidentally an example of what one would look like dressed up in a case, would be the ACT-IR200l, from ACTisys http://www.actisys.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buck Rogers
www.gregg.levine.name
New project time.
I have here a pair of modules from (Originally HP) Agilent. Essentially they are the guts of the currently active dongle type device. They speak the IRDA protocol. I have here a sketch of having one of them connect itself to a microcontroller, with an embedded serial port.
Can one of these be attached to a BS-1?
Incidentally an example of what one would look like dressed up in a case, would be the ACT-IR200l, from ACTisys http://www.actisys.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buck Rogers
www.gregg.levine.name
Comments
I'm not sure whether this answers your question or not, but the MAX3100 from Maxim will go from serial to IRDA and can do so in full duplex due to an 8 character internal buffer.
You can find some BS-2 coding help here:
http://www.emesystems.com/BS2IrDA.htm
You'd have to convert that code for BS-1 use. I hope that's somewhat helpful.
Regards,
Bruce Bates
Nice to be well known.
Yes thanks. I'll look at Tracy's site, and decide. The Maxim chip is one I know of, and have a few samples here.
In fact I posted this subject, when the old board was active. I think people ignored the posting.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buck Rogers
www.gregg.levine.name
I agree. Right now I am evaluating a related problem. Specifically how to create the same signals that would feed a remote control, which uses the Sony protocols. I found an article via the Generation5 site,
http://www.generation5.org/content/2001/rob11.asp
However one of the references quoted on the article seems to point to a link that was lost when the Parallax site was recreated with a new domain name:
http://www.parallaxinc.com/downloads/Resources/infrared_code.ZIP
However it presents an interesting idea. That of connecting a single IR LED to a port pin via a resistor. And then gives a code blurb. Here's one·portion of it:
freqout 7, 1, 38500
The article is wrapped around a BS2 so I'd need to translate the port portion of that statement to match that of my Stamp 1. Also is that token part of the Stamp1 syntax?
Anyway I'll keep the group aprised.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buck Rogers
www.gregg.levine.name
Then I think the protocol itself uses 12 bits of ones and zeros to encode button presses on the remote.
And yes, the Stamp can generate the 38 Khz burst with the FREQOUT statement you quote -- but only in 1 mSec resolution for the BS2. The BS2sx can get as short as you need to do the protocol with a resistor and an IR LED, I think.
To do the recieve end, you need an IR Decoder. This is a three-pin device with what looks like a lense on the front. Radio Shack sells them. This decodes the 38 Khz burst into a simple low-high-low of the appropriate length. The BS2 can use PULSIN to find the width of the pulse.
·· I know this was being covered in another thread, but on the whole remote thing, has anyone mentioned the IR Buddy, which sends/receives the SONY protocol and interfaces to the stamp via serial?
http://www.parallax.com/detail.asp?product_id=28016
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·