Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Program Stepper motor to do a specific number of steps

$
0
0
Hello, I have a little problem in programming a stepper motor with PIC16f877A.
I'm not so familiar with programming, but I have an stepper motor wich I want to program to do a specific number of steps when an input signal is applied
to PORTB where I have 5 inputs buttons. In Proteus this code worked well, but when I made the circuit on breadboard, motor is only spinning clockwise.. and it not spinning only 50 steps as I specified in program, it just keep spinning as long as I keep the button...

Program Stepper motor to do a specific number of steps

Viewing all articles
Browse latest Browse all 4923

Trending Articles