We have Successfully Interfaced stepper motor with parallel port and tested following modes of operation:
1. Half step sequence Clockwise and Anti-clockwise.
2.Full step sequence Clockwise and Anti-clockwise.
3.Eight step sequence Clockwise and Anti-clockwise
and successfully controlled the speed of motor according to the need of application
I would like to know that how to use stepper motor with Parallel Port….. What output we will send to parallel port for running stepper motor and what are hardware requirements for implementing the stepper motor project??????
To interface stepper motor with parallel port requirement is–>
1. Parallel port 25 pin male connector.
2. Stepper motor.
3. ULN 2003 IC.
4. 24V power supply.
we our case we used permanant magnet type unipolar stepper motor with step angle of 7.5.
and IC ULN 2003 is used to drive motor because output voltage and current available from PC(parallel port) is not sufficient to drive motor…
read ULN 2003 datasheet and Basic working of stepper motor before starting to work on actual hardware….
after u made all the connections….in driver we simply send data on parallel port data register (which is connected to stepper motor through ULN 2003) and according to the sequence send to motor motor will rotate in either clockwise or anticlockwise direction…
I would like to know that what kind of structure I have to designed in parallel port device driver as I have designed scull_device in character device driver and serial_device in serial port device driver…………..
it is same as u structure u designed in serial driver….simply define,
parallel_dev
{
struct cdev cdev;
};