sunil21
Advanced Member level 4
- Joined
- Dec 2, 2010
- Messages
- 119
- Helped
- 4
- Reputation
- 8
- Reaction score
- 5
- Trophy points
- 1,298
- Activity points
- 2,514
I am trying to interface PIC micro 876A with stepper motor driver board build with L298.
I searched in the internet, found lot about L298 and Arduino but not much about PIC.
I have just one question.
I have Pic 16F876A, one board L298 (from ebay), stepper motor 12v, 2amp.
I connected stepper motor wires (bipolar) to the side connections of L298 (many videos on youtube)
connected 12v supply to the L298 board. and am left with 4 pin header to connect to micro.
IN1, ,,,,IN4.
Just want to know how to run it . just one complete rotation.
Just like - connect IN1 to RC4, IN2 to RC5, IN3 to RC6 and IN4 to RC7
turn on all power.
set RC4 -0, RC5-1 and wait 1 milli second
then Rc5 - 0 and RC4 - 1
just like that.. Plz.
I searched in the internet, found lot about L298 and Arduino but not much about PIC.
I have just one question.
I have Pic 16F876A, one board L298 (from ebay), stepper motor 12v, 2amp.
I connected stepper motor wires (bipolar) to the side connections of L298 (many videos on youtube)
connected 12v supply to the L298 board. and am left with 4 pin header to connect to micro.
IN1, ,,,,IN4.
Just want to know how to run it . just one complete rotation.
Just like - connect IN1 to RC4, IN2 to RC5, IN3 to RC6 and IN4 to RC7
turn on all power.
set RC4 -0, RC5-1 and wait 1 milli second
then Rc5 - 0 and RC4 - 1
just like that.. Plz.