Close

Stepper Motor Controller through pc

Here is a way to control a motor with your computer.The motor can be unipolar or bipolar . I will use parallel port of my computer and  i’ll use only four pins.

Those are 2,3,4,5 pins of parallel. or D0,D1,D2.D3 as photo.

parallel

With 4 pins of parallel we can manage all different combinations. Connection can be bipolar with four pins or unipolar with 4,5 or 6 pins.Next photo you can see all combinations

different combination

You should not connect directly your motor to parallel port because parallel can serve only 3mAh current each pins, unsufficient current to control ever the smaller bipolar motor .So, one solution i suggest is to use a IC that can enforce current around 500mAh as datasheet says.I am talking about ULN2003 or UDN 2981 .It is 7 or 8 darlington array especially for those purposes and can boost current until 500mAh (you never reach that current,most you can use is 400mAh). If you need more current you can use relays,ssd or bridge H

uln2003

I will describe in  a few word how program works. The capabilities are,

  • manually control each output
  • Full wave – Half wave both directions
  • any pin order you need
  • control  your speed
  • Bipolar-unipolar (any current request)*
wavestep
Wave Step

 

fullstep
Full Step
halfstep
Half Step

Everywhere you see 1=5V and 0=V. There is logical order that a bip/unip. motor need current in each input so that start moving.Program does exactly this, decide the order and the speed to sent pulses to the motor.Upper left corner you see 378=LTP1 and 278=LTP2 .Down, drop down menu, you can control your speed. Three 4 square down you can control forward or backward full step and forward or backward half step. So simple

Download program

I have to thankful the creator of the program

steper controller

1 thought on “Stepper Motor Controller through pc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Electronics | WordPress Theme: Annina Free by CrestaProject.
%d bloggers like this: