Shop OBEX P1 Docs P2 Docs Learn Events
Question about remote control — Parallax Forums

Question about remote control

ArchiverArchiver Posts: 46,084
edited 2004-07-15 04:02 in General Discussion
what do i need to be able to control my robot using a remote control?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-07-13 16:01
    Richard,

    That is a very wide question, as there are many ways to do it. One simple
    way can be seen here:

    http://madlabs.info/ir_remote.shtml

    This scheme uses a standard universal IR remote and a small module that you
    can easily build. You can also hack remote control cars and a number of
    other methods. I am currently using a PC with bluetooth and a EB500 on the
    hydrogen robot to establish remote control. Works great, but it costs a lot
    more to implement than the IR system.

    HTH,

    Jonathan

    www.madlabs.info

    Original Message
    From: "richard_ece2k5" <richard_ece2k5@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, July 12, 2004 7:24 PM
    Subject: [noparse][[/noparse]basicstamps] Question about remote control


    > what do i need to be able to control my robot using a remote control?
    >
    >
    >
    >
    > 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-07-13 16:32
    I too use the eb500 for controlling several remote control projects.
    Though more expensive than IR it is also far more versitile. There
    is an almost unlimited stream of products that can be used to
    provide the functionality you desire.

    First you need to determine just what you need out of the remote
    control to do it's thing. This in itself is a conversation that
    could stand on its own.

    If you can afford the eb500 ($99) You will be surprised at its
    versitility. If you have a bluetooth enabled PC or PDA, then that is
    probably the direction to go. If you don't have bluetooth, you can
    add it to your PC for around $39 or less, depending on where you
    shop.

    If you can afford bluetooth, I think you be happy with it since it
    almost literally the easiest serial wireless device to use with the
    Stamp and since it IS an emerging standard, it will only get better
    and less expensive over time.

    If your range requirements are more than say 20-30 feet, you will
    have to go to an alternate mechaism. Class II bluettoht devices are
    only designed for a 30 foot range, more or less. The eb500 is a
    little more powered, being a kind of hybrid between class II and
    class I, which has about 300 foot range. But the Bluetooth module
    that you plug into the PC will almost certainly be a class II device
    as these are by far, the most common.

    Beyond that range, you are going to need a real radio modem and the
    ones available to hobbyists tend to be limited to 9600 baud and and
    of course you will need a matched pair of them.


    This may be a bit much to absorb, but since we don't know what you
    have in mind, it is difficult to be very specific.

    I'm sure other swill respond with their own choices.

    --- In basicstamps@yahoogroups.com, "Jonathan Peakall"
    <jpeakall@p...> wrote:
    > Richard,
    >
    > That is a very wide question, as there are many ways to do it. One
    simple
    > way can be seen here:
    >
    > http://madlabs.info/ir_remote.shtml
    >
    > This scheme uses a standard universal IR remote and a small module
    that you
    > can easily build. You can also hack remote control cars and a
    number of
    > other methods. I am currently using a PC with bluetooth and a
    EB500 on the
    > hydrogen robot to establish remote control. Works great, but it
    costs a lot
    > more to implement than the IR system.
    >
    > HTH,
    >
    > Jonathan
    >
    > www.madlabs.info
    >
    >
    Original Message
    > From: "richard_ece2k5" <richard_ece2k5@y...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Monday, July 12, 2004 7:24 PM
    > Subject: [noparse][[/noparse]basicstamps] Question about remote control
    >
    >
    > > what do i need to be able to control my robot using a remote
    control?
    > >
    > >
    > >
    > >
    > > 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-07-13 17:34
    --- Jonathan Peakall <jpeakall@p...> wrote:
    > Richard,

    Hi Jonathon,

    Just looked at your website, congrats on a great job,
    some really neat projects and tools to help students
    understand/visualize some electronic principles.
    Having just finished help teach a Summer Electronics
    Course I found a few that would have really helped me
    out.

    But onto matters of IR Remote Control - I wonder if
    you could help me try to understand the IR Remote
    principle that you feature on your website, (again a
    very neat project indeed),

    a) how do you work out the key numbers assigned to the
    function keys on the various remote units available.

    b) Having worked out the assigned numbers, is it a
    matter of coding a behaviour/action to a key number
    ie if #1 pressed pin 1 go high, that kind of thing?

    You have to excuse me if my questions are rudimentary
    but I am still very much a newbie to this subject
    matter.

    Many Thanks Nigel Emms


    > That is a very wide question, as there are many ways
    > to do it. One simple
    > way can be seen here:
    >
    > http://madlabs.info/ir_remote.shtml
    >
    > This scheme uses a standard universal IR remote and
    > a small module that you
    > can easily build. You can also hack remote control
    > cars and a number of
    > other methods. I am currently using a PC with
    > bluetooth and a EB500 on the
    > hydrogen robot to establish remote control. Works
    > great, but it costs a lot
    > more to implement than the IR system.
    >
    > HTH,
    >
    > Jonathan
    >
    > www.madlabs.info
    >
    >
    Original Message
    > From: "richard_ece2k5" <richard_ece2k5@y...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Monday, July 12, 2004 7:24 PM
    > Subject: [noparse][[/noparse]basicstamps] Question about remote control
    >
    >
    > > what do i need to be able to control my robot
    > using a remote control?
    > >
    > >
    > >
    > >
    > > 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
    > >
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    > 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
    >
    >
    > basicstamps-unsubscribe@yahoogroups.com
    >
    >
    >
    >






    __________________________________
    Do you Yahoo!?
    New and Improved Yahoo! Mail - 100MB free storage!
    http://promotions.yahoo.com/new_mail
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-13 19:11
    Dave,


    > I too use the eb500 for controlling several remote control projects.
    > Though more expensive than IR it is also far more versitile. There
    > is an almost unlimited stream of products that can be used to
    > provide the functionality you desire.
    >
    > First you need to determine just what you need out of the remote
    > control to do it's thing. This in itself is a conversation that
    > could stand on its own.

    I totally agree.

    >
    >
    > If your range requirements are more than say 20-30 feet, you will
    > have to go to an alternate mechaism. Class II bluettoht devices are
    > only designed for a 30 foot range, more or less. The eb500 is a
    > little more powered, being a kind of hybrid between class II and
    > class I, which has about 300 foot range. But the Bluetooth module
    > that you plug into the PC will almost certainly be a class II device
    > as these are by far, the most common.
    >
    > Beyond that range, you are going to need a real radio modem and the
    > ones available to hobbyists tend to be limited to 9600 baud and and
    > of course you will need a matched pair of them.

    I am getting over 100' with an EB500 and a $39 Linksys USB bluetooth
    adapter, through walls and trees. I have very quiet local interference
    however.

    Jonathan

    www.madlabs.info
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-13 19:28
    Nigel,

    > Just looked at your website, congrats on a great job,
    > some really neat projects and tools to help students
    > understand/visualize some electronic principles.
    > Having just finished help teach a Summer Electronics
    > Course I found a few that would have really helped me
    > out.

    Thanks!


    >
    > But onto matters of IR Remote Control - I wonder if
    > you could help me try to understand the IR Remote
    > principle that you feature on your website, (again a
    > very neat project indeed),
    >
    > a) how do you work out the key numbers assigned to the
    > function keys on the various remote units available.

    Using the sample code on the site, press the various keys you want to use
    and write down the output. All of the numeric keys should be as labeled i.e.
    if you press the 1 button, you should see a "1" in the command variable. All
    of the function keys output a number higher than 9, for example the "Play"
    button might ouput "167". I usually declare all of the keys I want to use as
    cons like:

    Play Con 167

    That way I can code things like:

    SERIN pin,baud, [noparse][[/noparse]device,command]
    IF command = Play then
    do/goto/gosub yourThing
    ENDIF

    >
    > b) Having worked out the assigned numbers, is it a
    > matter of coding a behaviour/action to a key number
    > ie if #1 pressed pin 1 go high, that kind of thing?

    Exactly. While this system is limited, it is dirt cheap and easy to
    implement. As before, anyone on this list that wants to send me a PIC12F675
    or two and a SASE, and I'll program 'em and send it back. Microchip will
    sample those parts, so you can get them for free. We used this system on the
    hydrogen robot for a school year, and it worked pretty well for us. I must
    say that I am digging the bluetooth link though, much faster and better
    range with no line of sight required. However, you can do the IR system for
    almost nothing. Everybody has an old universal remote laying around and as I
    said you can sample the PIC for free. It is a terrific device for
    debugging/developing Stamp code that needs user input, as it is fast and
    easy to code up.

    >
    > You have to excuse me if my questions are rudimentary
    > but I am still very much a newbie to this subject
    > matter.

    If I got paid for the rudimentary questions that I ask, I'd be a
    millionaire!!

    HTH,

    Jonathan

    www.madlabs.info
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-14 09:13
    Hi Richard,

    we have an infra red module which you can interface with a Basic Stamp in
    order to decode and read IR remote control data. The IRCM has I2C connector
    and Serial solder pads for both forms of interface, so nice and simple with
    the Basic Stamp.

    The IRCM's can be found here:
    http://www.totalrobots.com/access_files/wcm.htm#ircm

    Hope that helps

    Regards

    Jamie Finnan BSc (Hons)
    Total Robots Ltd
    0208 823 9220
    Original Message
    From: "richard_ece2k5" <richard_ece2k5@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, July 13, 2004 3:24 AM
    Subject: [noparse][[/noparse]basicstamps] Question about remote control


    > what do i need to be able to control my robot using a remote control?
    >
    >
    >
    >
    > 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-07-14 12:00
    > If you can afford the eb500 ($99) You will be
    surprised at its versitility. If you have a bluetooth
    enabled PC or PDA, then that is probably the direction
    to go. If you don't have bluetooth, you can add it to
    your PC for around $39 or less, depending on where you
    shop.

    Has anybody used the D-Link DBT-120 USB Bluetooth
    Adapter hooked to a mac to communciate with an EB500?
    Or any other adaptor and a mac for that matter.

    Just curious Nigel.






    __________________________________
    Do you Yahoo!?
    New and Improved Yahoo! Mail - Send 10MB messages!
    http://promotions.yahoo.com/new_mail
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-14 22:47
    Hello Nigel

    > Has anybody used the D-Link DBT-120 USB Bluetooth
    > Adapter hooked to a mac to communciate with an EB500?
    > Or any other adaptor and a mac for that matter.

    I have recently added an iMac to the test lab here at A7 and it
    appears that there are connectivity issues between the Apple
    Bluetooth implementation and the version 1.0 eb500 firmware. I have
    not fully diagnosed the problem yet, but it appears to be caused by
    the security implementation on both devices. The iMac requires
    pairing and authentication and does not allow them to be disabled.
    The eb500 does not support pairing and authentication and is
    therefore not allowed to communicate with the iMac.

    I am going to do further testing on this issue including an upgrade
    to the latest version of OS X 10.3.4 (Panther) to see if there is
    any way to get around the problem. If so I will post my results here
    for everyone.

    A7 is working on a firmware update that will fix this issue by
    adding support for pairing and authentication security. In addition
    we will be adding Bluetooth 1.2 support, encryption, and control of
    the device name. I don't have a specific release date for you, but
    it is coming and has been under development for a while now.

    I wish that I had better news on this front, but I want you to know
    that Mac support is important to A7 and will be provided in the next
    release.

    Talk to you soon,

    Bryan Hall
    A7 Engineering
    http://www.a7eng.com
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-15 04:02
    Hi Brian, Thanks very much for the update, have your
    tests been compiled using OS 9 or OSX Jaguar as you
    mention upgrading to Panther it was not clear what
    your current platform is? I know there are issues with
    OS9.

    Regards Nigel Emms

    --- Bryan Hall <bryan@f...> wrote:
    > Hello Nigel
    >
    > > Has anybody used the D-Link DBT-120 USB Bluetooth
    > > Adapter hooked to a mac to communciate with an
    > EB500?
    > > Or any other adaptor and a mac for that matter.
    >
    > I have recently added an iMac to the test lab here
    > at A7 and it
    > appears that there are connectivity issues between
    > the Apple
    > Bluetooth implementation and the version 1.0 eb500
    > firmware. I have
    > not fully diagnosed the problem yet, but it appears
    > to be caused by
    > the security implementation on both devices. The
    > iMac requires
    > pairing and authentication and does not allow them
    > to be disabled.
    > The eb500 does not support pairing and
    > authentication and is
    > therefore not allowed to communicate with the iMac.
    >
    > I am going to do further testing on this issue
    > including an upgrade
    > to the latest version of OS X 10.3.4 (Panther) to
    > see if there is
    > any way to get around the problem. If so I will post
    > my results here
    > for everyone.
    >
    > A7 is working on a firmware update that will fix
    > this issue by
    > adding support for pairing and authentication
    > security. In addition
    > we will be adding Bluetooth 1.2 support, encryption,
    > and control of
    > the device name. I don't have a specific release
    > date for you, but
    > it is coming and has been under development for a
    > while now.
    >
    > I wish that I had better news on this front, but I
    > want you to know
    > that Mac support is important to A7 and will be
    > provided in the next
    > release.
    >
    > Talk to you soon,
    >
    > Bryan Hall
    > A7 Engineering
    > http://www.a7eng.com
    >
    >
    >
    >
    > 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
    >
    >
    > basicstamps-unsubscribe@yahoogroups.com
    >
    >
    >
    >




    __________________________________
    Do you Yahoo!?
    Yahoo! Mail is new and improved - Check it out!
    http://promotions.yahoo.com/new_mail
Sign In or Register to comment.