Shop OBEX P1 Docs P2 Docs Learn Events
help needed ..and very much appreciated — Parallax Forums

help needed ..and very much appreciated

qtommerqtommer Posts: 4
edited 2008-12-17 10:09 in BASIC Stamp
to be honest im rather embarassed to be asking such an amateurish question in a forum choc full of experts.
im rather an amateur in parallax systems and i would like to ask whether it is possible that i could control servo motors in the·BOE using BS2 ·by using normal switches [noparse][[/noparse]preferably dpdt or tact switches] i would like the servo motor to start rotating once i turn on the switches...is there any program coding in the BS2 for this kind of operation ? A reply from a kind soul would be very much appreciated.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-12 13:59
    You have two tasks for the BS2:
    1) Control one or more servos
    2) Sense one or more switches and act on their settings

    The BS2 can do both and more. Download and read through the "What's a Microcontroller?" tutorial and the "Robotics with the BoeBot" tutorial. The first teaches you about programming the Stamps and interfacing them to a variety of sensors, like switches. The second teaches you about servos, how to control them, and about changing the robot's behavior based on tactile switches and on infrared sensor outputs. The tutorials have sample programs and worked examples as well as circuit diagrams.

    The tutorials can be downloaded here along with many others: www.parallax.com/tabid/535/Default.aspx
  • Carl HayesCarl Hayes Posts: 841
    edited 2008-12-12 15:22
    qtommer said...
    to be honest im rather embarassed to be asking such an amateurish question in a forum choc full of experts.
    Qtommer, your question may be amateurish -- though it seems a sensible and intelligent·one to me -- but what are the forums for, if not for questions like yours?· We are fortunate that the forums exist, and that (while by no means chock-full) they have a few actual experts like Mike who are articulate enough to explain things, and willing to give their time.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net
  • sylvie369sylvie369 Posts: 1,622
    edited 2008-12-12 16:30
    I've learned far more from lurking in threads begun with "amateurish questions" than I have from asking my own questions. The all-time best example was just this past week, when someone asked how to get a full range of readings from an analog-input accelerometer. Great answers on that thread that really taught me a lot about those devices, and all I did was read:

    http://forums.parallax.com/showthread.php?p=769302
  • qtommerqtommer Posts: 4
    edited 2008-12-17 10:09
    thanx so much guys...ppl like u make the world go round=) [noparse][[/noparse]and even my servos too!]
Sign In or Register to comment.