Shop OBEX P1 Docs P2 Docs Learn Events
bs2 stepper motor control - motor quivers — Parallax Forums

bs2 stepper motor control - motor quivers

ArchiverArchiver Posts: 46,084
edited 2004-03-25 01:07 in General Discussion
i'm using a bs2 and uln2803 to control a stepper motor. i wired the
circuit as the schematic for the motor said
( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran the
sample code. the motor quivers and will not turn. the write-up said
this is caused by incorrect sequencing, which i did exactly as the
sample code. i have tried other sequences but nothing has working.
if anyone has any advice on what i could be doing wrong or if there
is possibly another problem, i would greatly appreciate it.

adam

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 05:34
    --- In basicstamps@yahoogroups.com, "oabatmsu" <nankeead@m...> wrote:
    > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    the
    > circuit as the schematic for the motor said
    > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    the
    > sample code. the motor quivers and will not turn. the write-up
    said
    > this is caused by incorrect sequencing, which i did exactly as the
    > sample code. i have tried other sequences but nothing has
    working.
    > if anyone has any advice on what i could be doing wrong or if there
    > is possibly another problem, i would greatly appreciate it.
    >
    > adam

    The 2803 can sink about 500mA. What current is the motor ?


    How are you driving the darlington ?

    Assuming you have a .5A motor and are running it at the nameplate
    voltage, verify the motor leads are correct. ( double that if you
    are using two channles to get 1 amp.)

    Assuming (again) that you have a 6 wire motor, you have already found
    the 3 wires for Phase A by checking the resistance, and then you
    conneced your positive to the center tap (lowest resistance) wire ?)

    You have connected the power thru a properly sized resistor. 5volts
    time 500mA is 2.5 watts, so you used a 2.5 watt resistor or whatever
    your calculations would show ?


    So, you should have power supply to resistor, to motor coil center
    tap on Phase A.

    power supply to resistor to coil on phase B

    Phase A line 1 and phase A line 2 to the 2803 then to ground.

    Ditto phase B.

    If you motor prattles but does not spin, double check the resistor
    sizing and double check the lead is actually the lowest ohm lead.
    The other two will be higher to each other, and the center tap will
    be lower to either of those two.

    If that all checks out, swap only the 2 wires on Phase A to the
    darlington.

    That should make things work out.

    If the motor spins backwards, then swap all 4 wires to the darlington.

    Dave
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 12:43
    Did you buy the Stepper from Parallax? If yes, which one (we have had
    two manufacturers)? We will be posting an update today that gives the
    color sequences for the motors we've provided. Since it's not there
    now, I'll give it here:

    Motor Mitsumi Howard


    Phase 1 Black Brown
    Phase 2 Orange Green
    Phase 3 Brown Red
    Phase 4 Yellow White
    Common Red Black

    I wrote the documentation that appears on our site now (the version with
    the phase sequence graphics) and I have tested with both motors. The
    Mitsumi motor is a shaped like a flat gray cylinder, and the Howard
    motor is shaped more like a black cube.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: oabatmsu [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MTAroFFOpJStdCcSzfkcWkLeqnLyRS9oyzucJnP8Ou79XwDg9fU1Li_Q1GI0hFotQCKCtJep1SD6FQ]nankeead@m...[/url
    Sent: Monday, March 22, 2004 9:51 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers


    i'm using a bs2 and uln2803 to control a stepper motor. i wired the
    circuit as the schematic for the motor said
    ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran the
    sample code. the motor quivers and will not turn. the write-up said
    this is caused by incorrect sequencing, which i did exactly as the
    sample code. i have tried other sequences but nothing has working.
    if anyone has any advice on what i could be doing wrong or if there
    is possibly another problem, i would greatly appreciate it.

    adam
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 14:23
    I'm using the Mitsumi motor and that is the information i went by.

    Adam

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Did you buy the Stepper from Parallax? If yes, which one (we have
    had
    > two manufacturers)? We will be posting an update today that gives
    the
    > color sequences for the motors we've provided. Since it's not there
    > now, I'll give it here:
    >
    > Motor Mitsumi Howard
    >


    > Phase 1 Black Brown
    > Phase 2 Orange Green
    > Phase 3 Brown Red
    > Phase 4 Yellow White
    > Common Red Black
    >
    > I wrote the documentation that appears on our site now (the version
    with
    > the phase sequence graphics) and I have tested with both motors.
    The
    > Mitsumi motor is a shaped like a flat gray cylinder, and the Howard
    > motor is shaped more like a black cube.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Monday, March 22, 2004 9:51 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    >
    >
    > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    the
    > circuit as the schematic for the motor said
    > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    the
    > sample code. the motor quivers and will not turn. the write-up
    said
    > this is caused by incorrect sequencing, which i did exactly as the
    > sample code. i have tried other sequences but nothing has
    working.
    > if anyone has any advice on what i could be doing wrong or if there
    > is possibly another problem, i would greatly appreciate it.
    >
    > adam
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 15:00
    With respect, Adam, you're doing something wrong because I just
    reconnected both motors based on the code chart below and they work
    fine. Are you using the latest code sample? The demo code did change a
    bit with the document update and that may be causing your problem. You
    can get the latest code from our product page for the BS1, the BS2
    family, and even for the Javelin Stamp.

    http://www.parallax.com/detail.asp?product_id=27964

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: oabatmsu [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=AjEfkXjYCbmzNAQWlA-xLW7r3t28hSUGTpcE8vmgVKCw2-EkdjNYZfrHV4zXPCrzADrXwmf6_1TWxqI]nankeead@m...[/url
    Sent: Tuesday, March 23, 2004 8:23 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers


    I'm using the Mitsumi motor and that is the information i went by.

    Adam

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Did you buy the Stepper from Parallax? If yes, which one (we have
    had
    > two manufacturers)? We will be posting an update today that gives
    the
    > color sequences for the motors we've provided. Since it's not there
    > now, I'll give it here:
    >
    > Motor Mitsumi Howard
    >


    > Phase 1 Black Brown
    > Phase 2 Orange Green
    > Phase 3 Brown Red
    > Phase 4 Yellow White
    > Common Red Black
    >
    > I wrote the documentation that appears on our site now (the version
    with
    > the phase sequence graphics) and I have tested with both motors.
    The
    > Mitsumi motor is a shaped like a flat gray cylinder, and the Howard
    > motor is shaped more like a black cube.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Monday, March 22, 2004 9:51 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    >
    >
    > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    the
    > circuit as the schematic for the motor said
    > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    the
    > sample code. the motor quivers and will not turn. the write-up
    said
    > this is caused by incorrect sequencing, which i did exactly as the
    > sample code. i have tried other sequences but nothing has
    working.
    > if anyone has any advice on what i could be doing wrong or if there
    > is possibly another problem, i would greatly appreciate it.
    >
    > adam
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 17:57
    It may not be obvious, but is the Stamp ground
    and the Stepper ground connected?

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > With respect, Adam, you're doing something wrong because I just
    > reconnected both motors based on the code chart below and they work
    > fine. Are you using the latest code sample? The demo code did
    change a
    > bit with the document update and that may be causing your problem.
    You
    > can get the latest code from our product page for the BS1, the BS2
    > family, and even for the Javelin Stamp.
    >
    > http://www.parallax.com/detail.asp?product_id=27964
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Tuesday, March 23, 2004 8:23 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers
    >
    >
    > I'm using the Mitsumi motor and that is the information i went by.
    >
    > Adam
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Did you buy the Stepper from Parallax? If yes, which one (we have
    > had
    > > two manufacturers)? We will be posting an update today that gives
    > the
    > > color sequences for the motors we've provided. Since it's not
    there
    > > now, I'll give it here:
    > >
    > > Motor Mitsumi Howard
    > >


    > > Phase 1 Black Brown
    > > Phase 2 Orange Green
    > > Phase 3 Brown Red
    > > Phase 4 Yellow White
    > > Common Red Black
    > >
    > > I wrote the documentation that appears on our site now (the
    version
    > with
    > > the phase sequence graphics) and I have tested with both motors.
    > The
    > > Mitsumi motor is a shaped like a flat gray cylinder, and the
    Howard
    > > motor is shaped more like a black cube.
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > > Sent: Monday, March 22, 2004 9:51 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    > >
    > >
    > > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    > the
    > > circuit as the schematic for the motor said
    > > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    > the
    > > sample code. the motor quivers and will not turn. the write-up
    > said
    > > this is caused by incorrect sequencing, which i did exactly as the
    > > sample code. i have tried other sequences but nothing has
    > working.
    > > if anyone has any advice on what i could be doing wrong or if
    there
    > > is possibly another problem, i would greatly appreciate it.
    > >
    > > adam
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 20:58
    Using the connections from our App Note, the ground for the BS2 and
    ULN2x03 need to be connected. The ULN2x03 actually switches each phase
    connection to ground to complete the path (common is connected to +12v).

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Allan Lane [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=OpYKyMGFcLfr3vUkz42k7BHIEweSDlNukoGQAFwZEYgmjZ-tdzpBJaR12UHB2ytF_TD7L97Y2p8jpvXeDYs939JwhoY]allan.lane@h...[/url
    Sent: Tuesday, March 23, 2004 11:57 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers


    It may not be obvious, but is the Stamp ground
    and the Stepper ground connected?

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > With respect, Adam, you're doing something wrong because I just
    > reconnected both motors based on the code chart below and they work
    > fine. Are you using the latest code sample? The demo code did
    change a
    > bit with the document update and that may be causing your problem.
    You
    > can get the latest code from our product page for the BS1, the BS2
    > family, and even for the Javelin Stamp.
    >
    > http://www.parallax.com/detail.asp?product_id=27964
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Tuesday, March 23, 2004 8:23 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers
    >
    >
    > I'm using the Mitsumi motor and that is the information i went by.
    >
    > Adam
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Did you buy the Stepper from Parallax? If yes, which one (we have
    > had
    > > two manufacturers)? We will be posting an update today that gives
    > the
    > > color sequences for the motors we've provided. Since it's not
    there
    > > now, I'll give it here:
    > >
    > > Motor Mitsumi Howard
    > >


    > > Phase 1 Black Brown
    > > Phase 2 Orange Green
    > > Phase 3 Brown Red
    > > Phase 4 Yellow White
    > > Common Red Black
    > >
    > > I wrote the documentation that appears on our site now (the
    version
    > with
    > > the phase sequence graphics) and I have tested with both motors.
    > The
    > > Mitsumi motor is a shaped like a flat gray cylinder, and the
    Howard
    > > motor is shaped more like a black cube.
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > > Sent: Monday, March 22, 2004 9:51 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    > >
    > >
    > > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    > the
    > > circuit as the schematic for the motor said
    > > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    > the
    > > sample code. the motor quivers and will not turn. the write-up
    > said
    > > this is caused by incorrect sequencing, which i did exactly as the
    > > sample code. i have tried other sequences but nothing has
    > working.
    > > if anyone has any advice on what i could be doing wrong or if
    there
    > > is possibly another problem, i would greatly appreciate it.
    > >
    > > adam



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-23 22:30
    > the motor quivers and will not turn. the write-up said
    > this is caused by incorrect sequencing

    You'll get a similar response from trying to run the motor too fast. Try
    adjusting the delay to something really slow like 1 step every second.
    Stick a piece of paper on the shaft with a pencil mark so that you can
    easilly see what the motor is doing.

    Steve.

    ==========================================
    Steve Baldwin Electronic Product Design
    TLA Microsystems Ltd Microcontroller Specialists
    PO Box 15-680, New Lynn http://www.tla.co.nz
    Auckland, New Zealand ph +64 9 820-2221
    email: steve@t... fax +64 9 820-1929
    =========================================
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-24 01:02
    Well in thinking about it.
    Your circuit may be OK.
    The fault most everyone makes is they try to run a stepper motor too
    fast or at speed right away. Either way the motor will quiver like you
    state.
    What you have to do is build up the speed slowly. Start at a few RPM,
    and then ramp up the speed up to 200 RPM. Steppers only run up to about
    200 rpm or so for top speed. Modify the program to step the motor real
    slow, and then work on speeding it up more gradually, up to 200 rpm.
    Depending on the stepper you may get 100 rpm or over 200 rpm for top
    speed.
    Advanced systems can get speeds upwards of 2,000 RPM or so, but they do
    so at the cost of torque. Plus they use creative methods of pulsing or
    pulse skipping to getup to that speed.
    Anyway, I hope that helps you.
    Regards,
    Earl

    Original Message
    From: oabatmsu [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=T0EEkRm-KeQDAVqp3SbYwQNSYEVh7wyL3dk7YjB1vJdk4KETJP2Sw5NNLuhtWAB7iSMTjQ0fXwFB]nankeead@m...[/url
    Sent: Tuesday, March 23, 2004 8:23 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers

    I'm using the Mitsumi motor and that is the information i went by.

    Adam

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Did you buy the Stepper from Parallax? If yes, which one (we have
    had
    > two manufacturers)? We will be posting an update today that gives
    the
    > color sequences for the motors we've provided. Since it's not there
    > now, I'll give it here:
    >
    > Motor Mitsumi Howard
    >


    > Phase 1 Black Brown
    > Phase 2 Orange Green
    > Phase 3 Brown Red
    > Phase 4 Yellow White
    > Common Red Black
    >
    > I wrote the documentation that appears on our site now (the version
    with
    > the phase sequence graphics) and I have tested with both motors.
    The
    > Mitsumi motor is a shaped like a flat gray cylinder, and the Howard
    > motor is shaped more like a black cube.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Monday, March 22, 2004 9:51 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    >
    >
    > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    the
    > circuit as the schematic for the motor said
    > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    the
    > sample code. the motor quivers and will not turn. the write-up
    said
    > this is caused by incorrect sequencing, which i did exactly as the
    > sample code. i have tried other sequences but nothing has
    working.
    > if anyone has any advice on what i could be doing wrong or if there
    > is possibly another problem, i would greatly appreciate it.
    >
    > adam



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.

    Yahoo! Groups Links
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-24 01:59
    Good catch, Earl!

    -- Jon Williams
    -- Parallax


    Original Message
    From: Earl Bollinger [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=bMT2G6OZMO193d6LJ0KbjY9uiSTEaChNQHwLq7Tp7_wdIxFyydh2SR-M2zS4bmJwFx5XFKqeUVMu9J8iu4bgr6wzG0g]earlwbollinger@c...[/url
    Sent: Tuesday, March 23, 2004 7:03 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers


    Well in thinking about it.
    Your circuit may be OK.
    The fault most everyone makes is they try to run a stepper motor too
    fast or at speed right away. Either way the motor will quiver like you
    state. What you have to do is build up the speed slowly. Start at a few
    RPM, and then ramp up the speed up to 200 RPM. Steppers only run up to
    about 200 rpm or so for top speed. Modify the program to step the motor
    real slow, and then work on speeding it up more gradually, up to 200
    rpm. Depending on the stepper you may get 100 rpm or over 200 rpm for
    top speed. Advanced systems can get speeds upwards of 2,000 RPM or so,
    but they do so at the cost of torque. Plus they use creative methods of
    pulsing or pulse skipping to getup to that speed. Anyway, I hope that
    helps you. Regards, Earl

    Original Message
    From: oabatmsu [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=AXTKrxSflKEDq4UBqS962iWuf1pVov9rUWyj-ZnM0gl4WJsaBPTTAWYRUFEEkNjpraPeBpxtjQ]nankeead@m...[/url
    Sent: Tuesday, March 23, 2004 8:23 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers

    I'm using the Mitsumi motor and that is the information i went by.

    Adam

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Did you buy the Stepper from Parallax? If yes, which one (we have
    had
    > two manufacturers)? We will be posting an update today that gives
    the
    > color sequences for the motors we've provided. Since it's not there
    > now, I'll give it here:
    >
    > Motor Mitsumi Howard
    >


    > Phase 1 Black Brown
    > Phase 2 Orange Green
    > Phase 3 Brown Red
    > Phase 4 Yellow White
    > Common Red Black
    >
    > I wrote the documentation that appears on our site now (the version
    with
    > the phase sequence graphics) and I have tested with both motors.
    The
    > Mitsumi motor is a shaped like a flat gray cylinder, and the Howard
    > motor is shaped more like a black cube.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Monday, March 22, 2004 9:51 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    >
    >
    > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    the
    > circuit as the schematic for the motor said
    > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    the
    > sample code. the motor quivers and will not turn. the write-up
    said
    > this is caused by incorrect sequencing, which i did exactly as the
    > sample code. i have tried other sequences but nothing has
    working.
    > if anyone has any advice on what i could be doing wrong or if there
    > is possibly another problem, i would greatly appreciate it.
    >
    > adam



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.

    Yahoo! Groups Links









    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-24 06:33
    --- In basicstamps@yahoogroups.com, "Earl Bollinger"
    <earlwbollinger@c...> wrote:
    > Well in thinking about it.
    > Your circuit may be OK.
    > The fault most everyone makes is they try to run a stepper motor too
    > fast or at speed right away. Either way the motor will quiver like
    you
    > state.
    > What you have to do is build up the speed slowly. Start at a few
    RPM,
    > and then ramp up the speed up to 200 RPM. Steppers only run up to
    about
    > 200 rpm or so for top speed. Modify the program to step the motor
    real
    > slow, and then work on speeding it up more gradually, up to 200 rpm.
    > Depending on the stepper you may get 100 rpm or over 200 rpm for top
    > speed.
    > Advanced systems can get speeds upwards of 2,000 RPM or so, but
    they do
    > so at the cost of torque. Plus they use creative methods of pulsing
    or
    > pulse skipping to getup to that speed.
    > Anyway, I hope that helps you.
    > Regards,
    > Earl


    Good possibility.

    Start the motor out at something like 100 hz and ramp up. I think
    you may be better talking hertz on the motor as there are 400 steps
    per rotation on some motors and 48 on others.

    Also, you are dead on that motor torque drops as the inverse of speed
    for constant power. At some point, there will not be enough power
    to spin itself.

    Dave
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-25 01:07
    i got it working...you were right about the speed. thanks for all
    your help everyone.

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Good catch, Earl!
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    >
    Original Message
    > From: Earl Bollinger [noparse][[/noparse]mailto:earlwbollinger@c...]
    > Sent: Tuesday, March 23, 2004 7:03 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor
    quivers
    >
    >
    > Well in thinking about it.
    > Your circuit may be OK.
    > The fault most everyone makes is they try to run a stepper motor too
    > fast or at speed right away. Either way the motor will quiver like
    you
    > state. What you have to do is build up the speed slowly. Start at a
    few
    > RPM, and then ramp up the speed up to 200 RPM. Steppers only run up
    to
    > about 200 rpm or so for top speed. Modify the program to step the
    motor
    > real slow, and then work on speeding it up more gradually, up to 200
    > rpm. Depending on the stepper you may get 100 rpm or over 200 rpm
    for
    > top speed. Advanced systems can get speeds upwards of 2,000 RPM or
    so,
    > but they do so at the cost of torque. Plus they use creative
    methods of
    > pulsing or pulse skipping to getup to that speed. Anyway, I hope
    that
    > helps you. Regards, Earl
    >
    >
    Original Message
    > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > Sent: Tuesday, March 23, 2004 8:23 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: bs2 stepper motor control - motor quivers
    >
    > I'm using the Mitsumi motor and that is the information i went by.
    >
    > Adam
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Did you buy the Stepper from Parallax? If yes, which one (we have
    > had
    > > two manufacturers)? We will be posting an update today that gives
    > the
    > > color sequences for the motors we've provided. Since it's not
    there
    > > now, I'll give it here:
    > >
    > > Motor Mitsumi Howard
    > >


    > > Phase 1 Black Brown
    > > Phase 2 Orange Green
    > > Phase 3 Brown Red
    > > Phase 4 Yellow White
    > > Common Red Black
    > >
    > > I wrote the documentation that appears on our site now (the
    version
    > with
    > > the phase sequence graphics) and I have tested with both motors.
    > The
    > > Mitsumi motor is a shaped like a flat gray cylinder, and the
    Howard
    > > motor is shaped more like a black cube.
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: oabatmsu [noparse][[/noparse]mailto:nankeead@m...]
    > > Sent: Monday, March 22, 2004 9:51 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] bs2 stepper motor control - motor quivers
    > >
    > >
    > > i'm using a bs2 and uln2803 to control a stepper motor. i wired
    > the
    > > circuit as the schematic for the motor said
    > > ( http://www.parallax.com/dl/docs/prod/motors/27964.pdf ) and ran
    > the
    > > sample code. the motor quivers and will not turn. the write-up
    > said
    > > this is caused by incorrect sequencing, which i did exactly as the
    > > sample code. i have tried other sequences but nothing has
    > working.
    > > if anyone has any advice on what i could be doing wrong or if
    there
    > > is possibly another problem, i would greatly appreciate it.
    > >
    > > adam
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    Subject
    > and Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    Subject
    > and Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
Sign In or Register to comment.