Modify unipolar stepper motor to bipolar
Wiring
Software
Read moreI followed a blog article on how to modify this unipolar stepper to be bipolar, because BeagleBone Blue has built-in H-bridges.
I used an EduMIP, which has DC motors on M2 and M3, so I grabbed M1 and M4.
I used a wiring housing to line up the wires to the stepper motor header.
- M1+: Pink (2)
- M1-: Orange (4)
- M4+: Yellow (3)
- M4-: Blue (1)
- center-tap (unused): Red (5)
git clone https://gist.github.com/jadonk/1da9f20423c2e6c8a954eca1a3e8f7f2
cd 1da9f20423c2e6c8a954eca1a3e8f7f2
make
./stepper_example
Comments