learn robot to save movements


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default learn robot to save movements

    Hi all,
    I build a robot to control its movements forward, reverse, to right and to left manually using push buttons, but I have constant path every time I move the robot through it, so I want another button to beging to record movements then stop recording, after that I have another push button when I pressed it's recall the recorded path again. so how I can programm it ?? need help ?

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    You could use one of Darrel Taylor's timers to keep track of how much time was spent traveling after each direction command. These direction commands and time values could be stored in eeprom, or an external eeprom, if you needed more space. Since your robot's motors could be slower when the batteries voltage drops, it would probably be better to keep track of distance. But then you would need an odometer of sorts on one of your wheels. You could use a button to start and stop this recording, and a button to start following the stored route.
    http://www.scalerobotics.com

  3. #3


    Did you find this post helpful? Yes | No

    Default

    oky thank you for your reply but if you have any projects ready to know its idea and learn something from it.

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Hi, Iugmoh

    What you ask here is something involving lots of money in the industrial world of robot machine tools ...

    I had been looking to that subject 15 Years ago for foundry parts sanding and finishing ... many papers were describing What to do ... but none HOW to do it !!!

    Just a link to the project developing societies ...

    Now, without knowing what you really have in mind ... how could you hope to get a "ready to cook" solution ???

    The "Hard" way would be to record positions ( or commands ) at regular time intervals ... not the most clever way, but allowing quite all kinds of movements !

    Now, between the programmed route and the actual route there can be miles ... so, there's some absolute positionning interesting matter here !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I've never done this with a PIC, but I have with an 8051 type. I wrote an article back in
    1998 for Circuit Cellar for a small robot. You use push-button switches to program the
    robots course and time to proceed in each direction, pause times, etc. It's a lot easier
    than it sounds. Even on an old dinosaur 8749 controller...;o}

    There's a link to the assembler source code on this page;
    http://www.dtweed.com/circuitcellar/caj00092.htm#1395

    You'll need to know assembler to convert it, but it does what you're looking for.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Angle measurement for balancing robot.
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 52
    Last Post: - 21st March 2010, 12:33
  2. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  3. PIC16F877A for application in mobile robot...
    By mcbeasleyjr in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th January 2009, 14:47
  4. IR for robot on 16F877A
    By Samuel in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 9th April 2005, 20:57
  5. Line tracer robot
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 30th January 2005, 15:36

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts