Shop OBEX P1 Docs P2 Docs Learn Events
USE A REMOTE CONTROL in robotics... help us — Parallax Forums

USE A REMOTE CONTROL in robotics... help us

ArchiverArchiver Posts: 46,084
edited 2004-05-26 16:46 in General Discussion
Hi we are two students in a swiss technical school. we are making a
projet with the Boe-Bot from parallax (with basic stamp2). we have a
big trouble : we want to use the frequencies from a tv remote
control, but we arent able to recover the frequencies and to use it.
PLEASE HELP US !!!!!

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-05-26 15:37
    I did an article awhile back for Elektor that did exactly this. Parallax
    underwrote it, so I'd imagine it is somewhere on the Parallax site, but I
    didn't see it off hand.

    The idea is to use an integrated IR receiver to demodulate the remote
    control. Then the only other problem is the speed of the Stamp. What I did
    was use PULSIN to read a "word" and then check for the sync pulse at the
    start. If I didn't get a sync pulse, I'd start over. Eventually you will
    sync up.

    However, one issue. Since the Stamp can't listen to the IR and drive the
    remote at the same time, it is difficult to implement logic like:

    Push button #1 and release
    Motor spins
    Push button #2 and release
    Motor stops

    What I did was something like this:

    Wait for button push
    If button was #1, spin Motor for 50mS
    . . .
    Loop

    So the idea is that you push a button and hold it and the robot moves. When
    you release the button, the robot stops. Different buttons cause different
    motion. Otherwise you get into the problem of the motors not turning while
    the PULSIN command times out and/or the IR not responding while the motors
    are turning.

    Hope that helps.

    Al Williams
    AWC
    * Easy to use Floating Point and Analog Input for any processor
    http://www.awce.com/pak12.htm




    Original Message
    From: antoine_gentit [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=YDir89lq0DCSOdgmxvdljdBiaPHkf1PfO7tT_GjRNfHWITrwpEep8OpNa96ydEg_D8qNOw8zpCJ0dRQDu2K-tg]antoine_gentit@y...[/url
    Sent: Wednesday, May 26, 2004 4:23 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] USE A REMOTE CONTROL in robotics... help us


    Hi we are two students in a swiss technical school. we are making a
    projet with the Boe-Bot from parallax (with basic stamp2). we have a
    big trouble : we want to use the frequencies from a tv remote
    control, but we arent able to recover the frequencies and to use it. PLEASE
    HELP US !!!!!




    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.

    Yahoo! Groups Links
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-26 15:43
    Hi,

    I'm not sure if this is what you want, but this page shows how to make a
    device that uses a universal TV remote to talk to the Stamp. You can see it
    at:

    http://madlabs.info/ir_remote.shtml

    This project use the Sony protocol. While the project uses a PIC, I think
    the code could easily be changed to run on a Stamp. We have been using this
    device on our Stamp based fuel cell robot to operate the robot.

    HTH,

    Jonathan

    www.madlabs.info



    Original Message
    From: "antoine_gentit" <antoine_gentit@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 26, 2004 2:22 AM
    Subject: [noparse][[/noparse]basicstamps] USE A REMOTE CONTROL in robotics... help us


    > Hi we are two students in a swiss technical school. we are making a
    > projet with the Boe-Bot from parallax (with basic stamp2). we have a
    > big trouble : we want to use the frequencies from a tv remote
    > control, but we arent able to recover the frequencies and to use it.
    > PLEASE HELP US !!!!!
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-26 16:46

    Original Message
    From: "antoine_gentit" <antoine_gentit@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 26, 2004 3:22 AM
    Subject: [noparse][[/noparse]basicstamps] USE A REMOTE CONTROL in robotics... help us


    > Hi we are two students in a swiss technical school. we are making a
    > projet with the Boe-Bot from parallax (with basic stamp2). we have a
    > big trouble : we want to use the frequencies from a tv remote
    > control, but we arent able to recover the frequencies and to use it.
    > PLEASE HELP US !!!!!

    Download this document --

    <http://www.parallax.com/dl/docs/prod/audiovis/InfraredEmittingDiode.pdf>

    If you're not using similar IR components, it will at least give you some
    insight on how it's done with the Stamp.

    Regards,

    -Bruce
    tech@r...
    http://www.rentron.com
Sign In or Register to comment.