Shop OBEX P1 Docs P2 Docs Learn Events
Turning stepper Motor — Parallax Forums

Turning stepper Motor

-Pavel--Pavel- Posts: 3
edited 2008-04-05 05:18 in BASIC Stamp
Hi,

I have got a Basic Stamp and Board of Education. I tested the examples of the book"What's on microcontroller" and they are ok.

Now, I have to do a project which needs to turn a stepper motor using BS-2 and Board of Education.

I am bit confused about that-> Do I need an extra driver circuit to turn the motor?
··············································· -> Or do I just connect the port of stepper motor to mocrocontroller?

The stepper motor I have got has five wires(black,green,grey,red,black and 12 written on port). And it works on 12v as power.

Can anyone please·give me these answer?

Regards
~Pavel

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-04-01 15:30
    Pavel,

    Connecting the Stepper Motors wires directly to the microcontroller will damage the I/O pins. You should always use a driver for high voltage/current devices. Especially if they’re inductive. The ULN2803 is a good IC for this task and could handle two Unipolar Stepper Motors, which it appears you have. Please see the documentation at the following link. Take care.

    http://www.parallax.com/Portals/0/Downloads/docs/prod/motors/Stepper_Motor_27964.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • -Pavel--Pavel- Posts: 3
    edited 2008-04-05 04:43
    Hi Chris,

    Thanks for the suggestion for turning the stepper motor.As I see need the following parts

    -12 Volt Unipolar Stepper Motor(#27964)

    And

    -ULN2803/2003 (interface driver)

    But, the problem is I live in Melbourne,Australia. I contact to the parallax local distributor( from whom I purchased BS2 and Board of Education)·in victoria,Australia, he said he does not have these parts.

    So, can you tell me if I order these parts from USA, how long will it take to come to my hand?And is there any other alternative parts that I can use for the purpose? I went to a local electronics shop"Jaycar", they have Stepper motor but no driver circuit.·So can you give me a schematic diagram which works as driver interface?

    Regards

    -Pavel





  • OzStampOzStamp Posts: 377
    edited 2008-04-05 05:18
    Hi Pavel.

    I did do a sketch this morning for you when you saw me ..
    If you have a 5 wire motor it is most likely a UNIPOLAR motor,
    So get a ULN2803 or the 4 suggested IRF mosfet transistors and you should be up and running.

    RE that stepper motor.. did you buy that from Jaycar today ?
    They have a datasheet on that motor on their website...
    Mentioning color of wires to people on this Forum does not really achive anything...

    There is no do better way to do this than doing it yourself...
    If you have people chewing it all for you you will never become a fully fledged engineer in this highly competitve
    industry here in Australia .. so please apply yourself... google it .. I pointed you to various websites also..

    Sorry to be so blunt and straight to the point mate.. but you need to take some initiave.
    For a 4th year UNI student doing an Electronics degree you are and should be ready to attack the real world soon...
    And I am constantly reminded how poor our education system here in Australia must be ..
    If your are in your 4th year and you have not been exposed to stepper motors and circuits woowww that is amazing...

    See the attached sheet that Paul Baker from Parallax USA attached in his response ( thanks Paul) and work from that..

    Ronald Nollet Parallax Australia distributor

    Post Edited (OzStamp) : 4/5/2008 5:27:41 AM GMT
Sign In or Register to comment.