Subject:
|
Re: IR Detection
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Fri, 30 Oct 1998 03:34:00 GMT
|
Original-From:
|
Max Davies <mdavies@CAM/nomorespam/.ORG>
|
Viewed:
|
1687 times
|
| |
| |
Transmission and reception of IR data is quite different from using IR just to
bounce it off obstacles to detect their presence. To exchange data with IR you
will almost certainly have to use interrupt driven assembler code which can be
very difficult. There are so many variables at play that when you first try it
and it doesn't work you have no idea where to look: is it the transmitting
hardware, the transmitting software, the receiving hardware, or the receiving
software?
My best suggestion is to start from a known working base. Choose a remote
control that you have at home that works with your TV or VCR or whatever. Next
get your Handyboard to recognize signals from that remote perfectly. Then get
your Handyboard to successfully send those same signals to the TV/VCR. Then put
exactly the same code into your second HB and proove it can do the same thing.
From there on it should be a piece of cake to send IR data from one to the other
because you have already prooven that their hardware and low-level software are
working correctly.
My Handyboard IR routines at http://WWW.CAM.ORG/~mdavies/HB/ir.htm should help
you a lot, making it unnecessary for you to write any additional assembler code.
/Max
|
|
Message is in Reply To:
| | Re: IR Detection
|
| (...) Hi Will: What you say might be the reason for my problem hence I bought a matched IR emitter and detector pair from Radio Shack and tried the same thing. Here again, the emitter is sending the signal but the detector is not able to see it. I (...) (26 years ago, 30-Oct-98, to lugnet.robotics.handyboard)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|