Need help with transmitting data by IR
Tony B.
Posts: 356
I am working on a project were I need to transmit serial data by IR.· In other words I need to do what a TV remote does.· The data I need to send will be constantly changing based on user input.· I have tried to solve the problem myself, but being new have been unable to find the information I need and was hoping the forum community could help.· I have searched the following resources and found them only teaching about how to read data by IR from a·remote NOT how to generate it.
·
Resource consulted:
·
Thought maybe an IC was used to generate IR pulses based on serial data sent it.· Looked in Mousser and Jameco catalogs and found nothing.
·
Any help would be most appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tony
·
·
Resource consulted:
- What’s a Microcontroller.
- Robotics with the Boe-Bot
- IR Remote Boe-Bot
·
Thought maybe an IC was used to generate IR pulses based on serial data sent it.· Looked in Mousser and Jameco catalogs and found nothing.
·
Any help would be most appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tony
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
I still have the code if you would like me to email it to you.
mail_for_music@yahoo.com
Bean.
I want to transmit serial data to another device using IR. The data will not be data files, but information about switches - 0n/off and a linear pot's postion and if it has moved to a new postion. The second device will recive IR data from control device and control servo postion and turn circuits on/off. I can as musictech said store switch ids and state codes in memory. Still working on how to implement the pot's position data
My question restated differently is this:
How do I pulse an IR LED to send data like - 00001011 pause 00000011? Which when recieved by the second device it would read data as - switch 0ne - on - then turn lights on.
Thanks for the help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tony
·
http://www.parallax.com/dl/docs/prod/audiovis/InfraredEmittingDiode.pdf
The code is a little old.· Assuming you are using a BASIC Stamp 2, make sure to add this directive to both example programs:
' {$STAMP BS2}
Post Edited (Andy Lindsay (Parallax)) : 2/3/2005 3:36:45 AM GMT
http://www.parallax.com/detail.asp?product_id=28016
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--==<{Chris}>==--