Shop OBEX P1 Docs P2 Docs Learn Events
bs2 servo control — Parallax Forums

bs2 servo control

Let's Go!Let's Go! Posts: 124
edited 2008-09-23 15:56 in BASIC Stamp
can the bs2 operate any 4.8v servo with the 3 pin connection?

Comments

  • ZootZoot Posts: 2,227
    edited 2008-09-23 14:26
    Yes, with a few caveats. You do not want to use the Stamp's onboard power supply (Vdd / 5v) for the servo(s). Use a separate power supply or an outboard regulator that can handle all the power.

    The Stamp pin would be hooked up to the signal pin of the servo (yellow on hitec cables, white on futaba cables).

    PULSOUT is used to send pulses approx. every 20 milliseconds, with pulses being from approx. 1ms to 2ms wide.

    Download "Robotics with the Boe-bot" from the Parallax site which contains numerous examples of servo control. You do not need a Boe-bot, naturally, but the text will provide a wealth of information.

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

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • Let's Go!Let's Go! Posts: 124
    edited 2008-09-23 15:39
    would i also connect the stamp ground and the extra pwr supply ground together?
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-09-23 15:42
    Yes, you absolutely must connect the extra power supply ground, and the BS2 supply ground together.
  • Let's Go!Let's Go! Posts: 124
    edited 2008-09-23 15:56
    thanks for the info...
Sign In or Register to comment.