DC motor control with C

T

Thread Starter

Tan Mok Kooi

Hi,

Does any body know how to control the speed of
a dc motor using c language with the motor
connected via the parallel port ?


Thanks.
 
Use the parallel port as a low-voltage drive for the power transistors, and write a pulse width modulation routine to drive the parallel port.It should be pretty easy for a DC motor, I am working on doing this for a three-phase AC motor which involves creating a PWM equivalent to a 3ph sine. Tough.
 
K
I also did same as you driving a dc motor using parallel port & H-drive L298. I am being able to break stop that motor. But it doesn't have holding tourque. any solution???? Ketan
 
Top