Shop OBEX P1 Docs P2 Docs Learn Events
Remote With the Toddler — Parallax Forums

Remote With the Toddler

Dan TaylorDan Taylor Posts: 207
edited 2008-08-18 20:00 in Robotics
Has anybody seen a program that is like the IR remote with the Boe-Bot. Except with the Toddler? I am wanting to build a Remote Controlled Toddler...
Any ideas? I've tried making my own but didn't make it very far...shakehead.gif

Any help would be great!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor

Comments

  • SRLMSRLM Posts: 5,045
    edited 2008-08-15 21:53
    It doesn't really matter what platform you use as long as it has an IR receiver. The control is simply in the software part of things. Just use the programs for the Boe bot but modify them to fit. For example, you'll have to change what forward means, what rotate left means, and so on. When you get right down to it, there isn't really that much of a difference between the two.
  • Dan TaylorDan Taylor Posts: 207
    edited 2008-08-15 22:23
    Its not the platform or the IR receiver that I am having trouble with. Its just programming it. I just got the Toddler and still trying to figure out how to program it to move and stuff...

    This is the area that needs to be changed.

    ·
    SELECT remoteCode
    ··· CASE 2, ChUp ' Forward
    ··· CASE 4, VolDn ' Rotate Right
    ··· CASE 6, VolUp ' Rotate Left
    ··· CASE 8, ChDn ' Backward
    ··· CASE 1 ' Pivot Fwd-left
    ··· CASE 3 ' Pivot Fwd-right
    ··· CASE 7 ' Pivot back-left
    ··· CASE 9 ' Pivot back-right
    ··· CASE ELSE ' Hold position
    · ENDSELECT

    Between the CASE's need to be the different movement patterns. And I don't really know how to do it. Please help!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor
  • SRLMSRLM Posts: 5,045
    edited 2008-08-16 03:10
    The programming is simply a combination of the two. You can take a program from the book on IR for the BOE-BOT and pretty much use it line for line, just change what the final actions are. For example, instead of saying under "go forward" to rotate servos at 700 and 800, you'll insert the code that moves the feet. However, you'd best save the IR stuff until you understand the Toddler completely and how to make it move. That way, you'll only have to concentrate on one area (the IR) instead of two (IR and Mechanics).
  • Dan TaylorDan Taylor Posts: 207
    edited 2008-08-18 18:20
    Yes, I think I am going to wait until I fully understand the Toddler before continuing this project. Thanks alot!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor
  • SRLMSRLM Posts: 5,045
    edited 2008-08-18 20:00
    You may want to make a program that takes input in the form of DEBUGIN. When you send it commands (1,2,3,4 etc) you could have the robot do a specific actions. Then if would be a simple matter to get rid of the DEBUGIN and replace it with the code to get the remote control codes.
Sign In or Register to comment.