Bipolar stepper motor drive with PIC16F84A and CCS C

CD-ROM bipolar stepper motor drive with PIC16F84A and CCS PIC C compiler

This topic shows circuit schematic and C code for interfacing PIC16F84A microcontroller with CD-ROM bipolar stepper motor.

Related Topics:
Bipolar stepper motor drive with PIC18F4550 and CCS C
Bipolar stepper motor control with PIC16F877A microcontroller

The following circuit schematic shows the connection between the microcontroller PIC16F84A and the stepper motor where a dual H-bridge circuit which is L293D chip is used between them.

PIC16F84A cd-rom stepper motor control circuit

The two pushbuttons are used to choose motor rotation direction.
The PIC16F84A needs +5V between its VDD and VSS pins.

Interfacing PIC16F84A microcontroller with stepper motor CCS PIC C code:
The motor speed is fixed by the code but it can be changed by varying the delay between the four steps.

Interfacing PIC16F84A microcontroller with stepper motor video:
The following video shows a hardware circuit of this project.


Discover more from Simple Circuit

Subscribe to get the latest posts sent to your email.

2 thoughts on “Bipolar stepper motor drive with PIC16F84A and CCS C”

  1. Hi sir
    I am engineering student, I need 3axis pic microcontroller based stand alone motion controller code with pic18f46k22
    You help will be highly appreciated
    Thanks and Regards

Leave a Comment

Your email address will not be published. Required fields are marked *

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

Scroll to Top