MOTORS

APPLICATION FILE PAGE

MOTORS.DSN

MOTORS.ASM

Proteus VSM design file created as ISIS interactive schematic

Source code file created using text editor within ISIS interactive schematic

 

OPERATION

 

Three types of motor interface are shown. Each is selected in turn using the select motor push button.

 

The DC motor is driven with a pulse width modulated signal via a power FET switch. The speed is controlled by changing the mark-space ratio with the up/down buttons.

 

The DC servo is operated via a full-bridge driver IC to give bi-directional motion. The position of the output shaft is monitored as an analogue voltage at AD0, and the servo stopped when the set position is reached. This is modified via the up/down buttons.

 

The stepper motor needs a special drive sequence provided by U2, with coil current provided by driver IC U4. In this case, the buttons simply reverse its direction of travel.