Shop OBEX P1 Docs P2 Docs Learn Events
Wireless joystick control... — Parallax Forums

Wireless joystick control...

denodeno Posts: 242
edited 2008-10-10 11:23 in Robotics
Just wondering if anyone is using wireless joystick control of there robot.· By control, I mean left, right, forward, and reverse...as well as stop. If so, what transmitter/receiver are you using to transmit the joystick data to the bot.· Are you getting good results with it?

deno

Comments

  • ZootZoot Posts: 2,227
    edited 2008-09-22 02:43
    I use a surface R/C (radio control) transmitter that came w/crystal, a receiver and two bonus servos.

    Any R/C receiver can be read using PULSIN or similar -- then your code can translate those pulses into actions as you see fit.

    2-channel transmitter/receiver packages can be had for $50 (or less!). 4 to 6 channel packages can be had for ~$100-$130.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • TimmooreTimmoore Posts: 1,031
    edited 2008-09-22 03:42
    A cheap option that works well is the vex robot transmitter/receiver, they are sold on ebay and by allelectronics.com for < $40 (I got 2 on ebay for $40 for both including shipping), it gives 6 channel, 4 analog (i.e. 2 joysticks), 2 digital. There is a software decoder for the propeller for it and I think for the stamp as well.
  • denodeno Posts: 242
    edited 2008-09-22 11:48
    Thank you for the replys...I will look into the surface R/C control.·

    Deno
  • ZootZoot Posts: 2,227
    edited 2008-09-22 12:47
    There is vex code over in the SX forum that JonnyMac posted recently. I'm not sure about the Stamp.

    Also, I forgot about mentioning wireless PS2 controllers, which can also be used (but range is much more limited). There is Stamp code floating around for decoding such a controller, but the Stamp is not fast enough to access all the features. There is also an Nuts n Volts column using an SX "helper" to decode all the functions of a PS2 controller.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • Steve in NMSteve in NM Posts: 54
    edited 2008-09-22 14:49
    deno said...
    Just wondering if anyone is using wireless joystick control of there robot.· By control, I mean left, right, forward, and reverse...as well as stop. If so, what transmitter/receiver are you using to transmit the joystick data to the bot.· Are you getting good results with it?

    deno
    I'm using these with BS1s and BS2s with GREAT success. They're so simple to use that I ...stole.. the code for the Parallax units.:

    http://www.sparkfun.com/commerce/product_info.php?products_id=7813

    http://www.sparkfun.com/commerce/product_info.php?products_id=872

    http://www.sparkfun.com/commerce/product_info.php?products_id=7816

    http://www.sparkfun.com/commerce/product_info.php?products_id=7815

    Note that they're all out of stock (Because they're popular?). But he'll get more..

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm not a complete idiot! Some of my parts are missing.
  • ZootZoot Posts: 2,227
    edited 2008-09-22 15:06
    @Steve in NM -- *wow* thanks for the tip -- those are cheap!

    @Deno -- if you wanted to explore using rx/tx cards like these, you would still need some pots (or ready to go pot joystick) and some circuitry (or a micro) to handle the A/D conversion. An SX using analogin would work -- you could prob. put together a tx/rx joystick package for < $30.

    That said, there is something nice about regular R/C transmitter/receiver combos -- totally plug n play, ready to go, choice of crystals, etc.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • denodeno Posts: 242
    edited 2008-09-22 15:15
    Steve in NM...thanks for the info.· Can you tell me if the transmitter and receiver are FM or AM?· AM will not work with my Robo Caddy, as the·· noise from the DC motors interfear with amplitude modulation.

    Deno
  • Steve in NMSteve in NM Posts: 54
    edited 2008-09-22 15:39
    deno said...

    Steve in NM...thanks for the info.· Can you tell me if the transmitter and receiver are FM or AM?· AM will not work with my Robo Caddy, as the·· noise from the DC motors interfear with amplitude modulation.

    Deno

    Unfortunately, these are AM. BUT...

    I'd encourage you to drop the dime and try one (If he had them). I don't know how much testing you've done, but I'm convinced noise can be overcome in a variety of creative ways. I solved mine mainly by·just twisting the motor wires.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Al2Al2 Posts: 12
    edited 2008-09-29 05:07
    There is a VEX decoder chip on ebay item 290261334178
  • Tom CTom C Posts: 461
    edited 2008-10-10 11:23
    Hi all,

    Jim Fry at Lynxmotion has a 100-300m PS2 controller project going and should have samples for testing within the next month.

    http://www.lynxmotion.net/viewtopic.php?t=4199

    Regards,
    TCIII

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Sign In or Register to comment.