Shop OBEX P1 Docs P2 Docs Learn Events
How receiving signals from IR-remote control — Parallax Forums

How receiving signals from IR-remote control

ArchiverArchiver Posts: 46,084
edited 2003-11-25 15:25 in General Discussion
I have the Basic Stamps robot and I have to steer it with a remote
control.
For example: when you press 1 --> forward
4 --> left
6 --> right
8 --> back
do I have to use SERIN ?
if yes --> how do I use it?
no --> what else do I have to use?

thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-21 00:54
    In a message dated 11/20/2003 7:36:48 PM Eastern Standard Time,
    lieven_dhaese@y... writes:


    > I have the Basic Stamps robot and I have to steer it with a remote
    > control.
    > For example: when you press 1 --> forward
    > 4 --> left
    > 6 --> right
    > 8 --> back
    > do I have to use SERIN ?
    > if yes --> how do I use it?
    > no --> what else do I have to use?
    >

    What kind or remote control? RF ? IR?

    If IR, are you using a Sony Remote?

    Sid Weaver
    W4EKQ
    Port Richey, FL


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-21 15:05
    It sounds like you have the TabRobot 'SumoBot'.
    These come with a small purple remote control.

    This isn't really a 'Basic Stamps robot', though
    it DOES have a basic stamp in it.

    There are two models. One is the 'Build Your
    Own Robot Kit (known as BYORK). The other is the
    'SumoBot'. The BYORK has a socket for a BS2,
    but doesn't actually have a BS2 in the socket.
    You'll have to buy one if you want to program it.
    The 'SumoBot' comes with an OEM Stamp processor
    on-board.

    You can just use the remote to steer the bot.
    If you want to program it, you need a straight
    through DB-9 cable, and download the Parallax
    BS2 compiler from www.parallax.com.

    Then, plug the serial cable into your PC, the
    other end into the DB-9, and start up the
    'Stamp' program. Get a copy of the 'Template'
    for the SumoBot from the CD that should have
    come with it -- or go to the Yahoo 'tabrobot'
    group. Start with that template, and code
    away.


    --- In basicstamps@yahoogroups.com, "lieven_dhaese"
    <lieven_dhaese@y...> wrote:
    > I have the Basic Stamps robot and I have to steer it with a remote
    > control.
    > For example: when you press 1 --> forward
    > 4 --> left
    > 6 --> right
    > 8 --> back
    > do I have to use SERIN ?
    > if yes --> how do I use it?
    > no --> what else do I have to use?
    >
    > thanks
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-21 16:09
    You may find inspiration from the IR to PC crowd. A good place to start is
    Girder.
    http://www.girder.nl/

    Another is LIRC.....
    http://www.lirc.org/

    The hardware is very similar to what your attempting to build. Unless your kit
    has an add on module....if so that would be the best route to go. [noparse]:)[/noparse]

    Tim

    >>> lieven_dhaese@y... 11/20/03 06:04PM >>>
    I have the Basic Stamps robot and I have to steer it with a remote
    control.
    For example: when you press 1 --> forward
    4 --> left
    6 --> right
    8 --> back
    do I have to use SERIN ?
    if yes --> how do I use it?
    no --> what else do I have to use?

    thanks



    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.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 17:34
    --- In basicstamps@yahoogroups.com, Newzed@a... wrote:
    > In a message dated 11/20/2003 7:36:48 PM Eastern Standard Time,
    > lieven_dhaese@y... writes:
    >
    >
    > > I have the Basic Stamps robot and I have to steer it with a
    remote
    > > control.
    > > For example: when you press 1 --> forward
    > > 4 --> left
    > > 6 --> right
    > > 8 --> back
    > > do I have to use SERIN ?
    > > if yes --> how do I use it?
    > > no --> what else do I have to use?
    > >
    >
    > What kind or remote control? RF ? IR?
    >
    > If IR, are you using a Sony Remote?
    >


    it is an Boe Bot with BS2
    steering with Philips Remote (IR)
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 18:15
    In a message dated 11/22/2003 12:38:49 PM Eastern Standard Time,
    lieven_dhaese@y... writes:


    > it is an Boe Bot with BS2
    > steering with Philips Remote (IR)
    >
    >

    I don't know anything about the Phillips, but if it is like the Sony Remote,
    you have to have a program to decode the incoming IR string into something the
    Stamp can understand. Then you tell the Stamp, if the IR signal was a "1",
    make both servos go forward.

    You also have to have an IR detector - something like the Vishay TSOP1140 -
    that can receive the incoming IR string.

    Sorry I can't help you more. If you want to throw away your Phillips and
    switch to a Sony Remote, I can send you the code I use to control my BoeBot.

    I would think the vendor of the Phillips would have some kind of program to
    decode the IR string into something useful. And remember, the IR signal isn't
    0's and 1's like a computer - its all narrows and wides. Narrow is a 0 and
    wide is a 1 after they are decoded.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 19:08
    At 05:34 PM 11/22/03 +0000, lieven_dhaese wrote:
    >--- In basicstamps@yahoogroups.com, Newzed@a... wrote:
    > > In a message dated 11/20/2003 7:36:48 PM Eastern Standard Time,
    > > lieven_dhaese@y... writes:
    > >
    > >
    > > > I have the Basic Stamps robot and I have to steer it with a
    >remote
    > > > control.
    > > > For example: when you press 1 --> forward
    > > > 4 --> left
    > > > 6 --> right
    > > > 8 --> back
    > > > do I have to use SERIN ?
    > > > if yes --> how do I use it?
    > > > no --> what else do I have to use?
    > > >
    > >
    > > What kind or remote control? RF ? IR?
    > >
    > > If IR, are you using a Sony Remote?
    > >
    >
    >
    >it is an Boe Bot with BS2
    >steering with Philips Remote (IR)

    Although this article deals mostly with interfacing a PC to a Philps IR Remote,
    there may be information that's helpful:
    http://cgl.bu.edu/GC/shammi/ir/

    There are also additional links at the end of that article.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-25 15:25
    I've done similar controls with a stamp. I monitored serial input on a pin,
    looked to read one ASCII character, did an if/then test and gosub to the
    routine that did the function I wanted. For example: If character = 55
    then gosub turnright. It went to the 'turnright' subroutine and then
    returned and was directed back to serial input to look for the next
    character. Works fine. You could also look for a string of characters and
    decifer them to go to subroutines in some sequence if you'd like, but that
    becomes more complicated.

    jim
    http://www.geocities.com/jimforkin2003/


    Original Message
    From: lieven_dhaese [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=PdF7_g_vS38d6PE9UnOlTAedp3CcvOfTgvZ5DHH1lji-eEH0DzAnDY24HvSVsK9yaC_C63IR53tYNbVxbMqA]lieven_dhaese@y...[/url
    Sent: Thursday, November 20, 2003 7:05 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] How receiving signals from IR-remote control


    I have the Basic Stamps robot and I have to steer it with a remote
    control.
    For example: when you press 1 --> forward
    4 --> left
    6 --> right
    8 --> back
    do I have to use SERIN ?
    if yes --> how do I use it?
    no --> what else do I have to use?

    thanks



    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.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sign In or Register to comment.