Hi All!
I'm doing a Lab playing a bit with a stepper motor...
I've seen lots of threads about stepper motor in this forum BUT each one is slightly different...so I decided to post mine!
First of all, I always like to set up my hardware connection right before I jump into the software part!
Here's what I have: a stepper motor (SM55-4801, 12 volts, 36 Ohms coil, Fuji Electrochemical co.), a L298n H-bridge.
The stepper motor has 6 wires: 2 groups (orange, red, yellow and black, green, brown).
- I did some readings...and I want to confirm if the stepper moter is unipolar since it has 6 wires?
- using the Ohmeter method, I been able to identify the center tap of each coil (red and green).
- I'm trying to do my connection according to the schematics attached that I found...
My questions are:
- where do I connect the 2 center tap wires??
- and the 2 other wires of each coil should be connected to the 4 outputs of the L298n as shown in the schematics, right? And it doesn't matter which of the 2 wires goes to which outputs, right?
- I should feed 12V to pin4 of the L298n and 5V to pin9 of L298n
- I'm thinking of using PIC16F690, what are pin (enable A and enable B for)?? And do they have to be connected to specific pins of the uc??
- about pins input 1,2,3,4 of L298n, do they have to be connected a specific pin of uc??
Any comments would be greatly appreciated!
I'm doing a Lab playing a bit with a stepper motor...
I've seen lots of threads about stepper motor in this forum BUT each one is slightly different...so I decided to post mine!
First of all, I always like to set up my hardware connection right before I jump into the software part!
Here's what I have: a stepper motor (SM55-4801, 12 volts, 36 Ohms coil, Fuji Electrochemical co.), a L298n H-bridge.
The stepper motor has 6 wires: 2 groups (orange, red, yellow and black, green, brown).
- I did some readings...and I want to confirm if the stepper moter is unipolar since it has 6 wires?
- using the Ohmeter method, I been able to identify the center tap of each coil (red and green).
- I'm trying to do my connection according to the schematics attached that I found...
My questions are:
- where do I connect the 2 center tap wires??
- and the 2 other wires of each coil should be connected to the 4 outputs of the L298n as shown in the schematics, right? And it doesn't matter which of the 2 wires goes to which outputs, right?
- I should feed 12V to pin4 of the L298n and 5V to pin9 of L298n
- I'm thinking of using PIC16F690, what are pin (enable A and enable B for)?? And do they have to be connected to specific pins of the uc??
- about pins input 1,2,3,4 of L298n, do they have to be connected a specific pin of uc??
Any comments would be greatly appreciated!
Attachments
-
7.5 KB Views: 127