Shop OBEX P1 Docs P2 Docs Learn Events
hb25 speed increase of dc motor — Parallax Forums

hb25 speed increase of dc motor

Let's Go!Let's Go! Posts: 124
edited 2008-11-27 16:07 in BASIC Stamp
how does one increase the speed of the dc motor via the hb25. i am able to go fwd and rev but the motor is very slow. i would like to control the speed so it goes a little faster. thanks again for all the support. running off bs2, hb25.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-11-27 16:07
    As mentioned in your other thread, the speed is set by the width of the control pulse. The stop position is a pulse width of 1500us. The further away the pulse width is from 1500us, the faster the motor will go (up to about 1000us or 2000us). The fastest movement in one direction is with a pulse width of 1000us and in the other direction with a pulse width of 2000us. With the BS2, this corresponds to a "PULSOUT <pin>,500" or a "PULSOUT <pin>,1000" respectively.
Sign In or Register to comment.