Shop OBEX P1 Docs P2 Docs Learn Events
program for my robot — Parallax Forums

program for my robot

dikosdikos Posts: 3
edited 2007-10-03 20:15 in Robotics
Ηι, I do not have knowledge of planning and would want a program for my robotconfused.gif
'P0· right IR LED output
'P1· right IR sensor input
'P2· Sonar SRF05
'P3
'P4· right Sensor of contact
'P5
'P6· left Sensor of contact
'P7· left IR LED output
'P8· left IR sensor input
'P9
'P10·
'P11·
'P12· left servo motor
'P13· right servo motor
'P14· camera servo left right
'P15· camera servo up down
http://www.youtube.com/watch?v=SqHX2TADN98

http://www.youtube.com/watch?v=847jsbf9e0k

Post Edited (dikos) : 10/1/2007 10:07:05 AM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-01 14:46
    You will have to develop your program piece by piece. I would suggest starting with Parallax's Robotics with the BoeBot (www.parallax.com/detail.asp?product_id=28154) and their IR Remote for the BoeBot (www.parallax.com/detail.asp?product_id=28139). Both books are downloadable at no cost from the mentioned web pages. The Advanced Robotics with the Toddler book (www.parallax.com/detail.asp?product_id=27311) has information and examples that may be useful.

    The main concept you will need is that of a control cycle determined by the servos' need for a control pulse about every 20ms. Reading the various sensors is done in the extra time left in these 20ms cycles and the decision making (what to do next) is also done during this "extra" time. Consider adding a servo motor controller like the Parallax Servo Controller (www.parallax.com/detail.asp?product_id=28023) or the PWMPAL (www.parallax.com/detail.asp?product_id=28020) to take some of this timing constraint off the Stamp. You'll still need a "control cycle", but the rigidity of the 20ms timing won't be necessary.

    Post Edited (Mike Green) : 10/1/2007 2:54:06 PM GMT
  • dikosdikos Posts: 3
    edited 2007-10-02 09:16
    thank Mike Green.
    I would want a complete program.
    please.
  • MightorMightor Posts: 338
    edited 2007-10-02 09:29
    dikos said...
    thank Mike Green.
    I would want a complete program.
    please.
    Hiya Dikos,

    This forum is for helping people to help themselves. We generally do not provide people with complete programs but we do help people with programs they have written. Your best course of action now would be to read up on some of the excellent documentation out there and try to write the program to control the various parts of your robot. Many of the documents come in various languages, in case your native tongue is not English. (More than) half the fun of robotics is the learning process.

    Gr,
    Mightor

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    | To know recursion, you must first know recursion.
    | I reject your reality and substitute my own!
    | - Adam Savage
  • Steve JoblinSteve Joblin Posts: 784
    edited 2007-10-02 13:14
    dikos: I would download and follow the Robots tutorial (http://www.parallax.com/dl/docs/books/edu/Roboticsv2_2.pdf)... it covers most of what you want (except the sonar part, which you will be able to easily incorporate once you complete the tutorial).
  • dikosdikos Posts: 3
    edited 2007-10-03 19:28
    I a lot thank but do not know English, I am from Greece.
    Don't ready programs exist?







    Translated[noparse]:http:[/noparse]//babelfish.altavista.com/
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-10-03 19:42
    No, because everything each person wants to do with the BS2 is slightly different.

    Besides, you haven't told us what you want to do with the BS2.

    But the documentation at www.parallax.com is very good.
  • Steve JoblinSteve Joblin Posts: 784
    edited 2007-10-03 20:15
    Parallax currently has educational downloads available in English, Spanish, German, French, Italian, Dutch, Japanese, Swedish, Turkish, Traditional and Simplified Chinese, Korean, and Czech. Do you know any of these languages? You can find them here: http://www.parallax.com/html_pages/downloads/siccurriculum/documentation_sic_curriculum.asp
Sign In or Register to comment.