|
John,
Like you, I recently purchased a Handy Board from Acroname. After doing
quite a bit of research on the Internet to determine what my first
experimental robotics platform should be, I felt confident that the Handy
Board was the best choice.
If you go to the Handy Board website and check out the contributed software
page, you will find the following link:
Versatile IR Transmit and Receive. Max Davies has developed infrared receive
and transmit routines that work with many different manufacturers' IR-remote
protocols.
That link will take you to http://www.cam.org/~mdavies/HB/ir.htm.
There, you can download ir.zip, which contains routines that you can use to
test your remote and determine its transmit characteristics. This involves
a little effort. You must press several different buttons on your remote
and write down the resulting data. I used a spreadsheet for this step.
Then you go to the following website:
http://www.cam.org/~mdavies/cgi-bin/irdecode.cgi, where you can enter the
data you have collected. I simply cut and pasted the data from the
spreadsheet, which made this step easy and avoided errors. The form
evaluates your data (I used 5 data sets) and determines values that you can
use for your particular remote.
To verify that these values are correct, you can replace the default values
in the "test.c" program with the new values and run the program. If you did
it correctly, each button should produce a unique hex value, which will be
displayed on the screen.
I had to try this a few times to get it right. First, I held the button
down too long, so I got too many data bits (102). Then, I didn't hold the
button down long enough, and I got too few (24). Somewhere in the middle, I
got it just right (50), and it worked.
I bought an IR Transmit LED at Radio Shack. Once you collect an IR signal
with the test program, you can press Start to transmit the last signal
received. Now, I can control everything on my VCR that the remote can do!
Unfortunately, the codes that are used on my universal remote to also
control my TV do not seem to work. I'm still trying to figure that out. If
I get stuck, I may write to Max, who welcomes questions and comments.
The ReadMe.txt file that comes with the ir.zip file is quite informative.
If you read through it carefully and then study the code, you can actually
come to understand what's happening and how it all works.
Good luck,
Phillip St. John
=====
In lugnet.robotics.handyboard, John Mathews writes:
> I had thought as a first exercise that I would program the board to respond
> to my TV ir remote so I could command a small platform to move left, right,
> forward, and reverse.
> In searching the web and this news group, I find very little information
> about the ir decoder and how to make use of it.
> I do not have a sony remote, but I downloaded the sony-ir file to see
> how it worked. The assembly code tells me nothing about what to do on
> my own.
> John Mathews
|
|
Message has 2 Replies: | | Re: IR control
|
| Hi John, My experience was a little different. I was completely unable to get the generic IR routines set up correctly after about 6 hours of fiddling. I went out and bought a generic sony remote, used the Sony IR code and had it all working in (...) (24 years ago, 27-Jan-01, to lugnet.robotics.handyboard)
| | | Re: IR control
|
| Well, I did find this link over the weekend and downloaded Max Davies excellent routines for the IR reciever. However, despite over 10 hours of attempts, I was unable to get my preferred remote (a Toshiba) configured correctly. It was very strange (...) (24 years ago, 29-Jan-01, to lugnet.robotics.handyboard)
|
Message is in Reply To:
| | IR control
|
| Hi all. I've just completed construction of my handyboard and I'm very excited to start experimenting with it. I had thought as a first exercise that I would program the board to respond to my TV ir remote so I could command a small platform to move (...) (24 years ago, 26-Jan-01, to lugnet.robotics.handyboard)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|