To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8268
8267  |  8269
Subject: 
Re: IR control
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 29 Jan 2001 15:19:04 GMT
Viewed: 
827 times
  
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
because
the test.c program correctly read out the data from my remote every time; I just
could not
obtain a rule that fit the data I was seeing.  I am certain that with more fooling
around, I
will be able to get the Toshiba remote working.  Mr Davies's routines are very
good and I
am grateful he has made them and his web page available so generously.  I didn't
wish to
bother him for help however, since I found an RCA remote around the house from an
old
and long gone VCR.  The RCA worked at once since that was what Max had to
experiment
with he says in his readme.
Perhaps I'll get the Toshiba running after more study, but for now the RCA is
doing the
job with Max Davie's ir files. (http://www.cam.org/~mdavies/HB/ir.htm)  My 3 boys
and I have been running the handyboard around the house all day :)

StJohn wrote:

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 is in Reply To:
  Re: IR control
 
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 (...) (23 years ago, 27-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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR