Modified phase table in stepper.cpp to enable stepping a bipolar motor using a twin H-bridge driver.
Fork of stepper by
Corrected single-stepping, now walking up or down just one phase table. Compile-time options for driving bipolar motor in any of single-phase, two-phase, or half-stepping. Coils remain engaged at end of specifed movement command - de-energize coils by issuing a motor.move(0) while already stopped.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:75fcbd49d49f | 2014-12-31 | gregeric | Updates and fixes. |
7:9fc4b1be489c | 2014-12-23 | gregeric | Tidy up |
6:ee6c96064559 | 2014-12-22 | gregeric | Fix the fix |
5:f2bbcd06019e | 2014-12-22 | gregeric | Fix bug with direction change to CW for deceleration phase after issuing move(0) |
4:5b596b405573 | 2014-12-21 | gregeric | Allow sequential single-stepping (keep record of phase).; Walk up or down one phase table to correctly single step either direction.; Motor in stop condition engages coils - release by issuing 0-step move while already stopped. |
3:96bfb8b476f8 | 2014-12-18 | gregeric | Unipolar/bipolar motor configuration switchable by #define in stepper.cpp |
2:fd11d89b8ce0 | 2014-12-18 | gregeric | Phase sequence modified for bipolar stepper type, requiring one h-bridge driver for each coil. |
1:94f55ebfe2db | 2014-08-23 | kenjiArai | modified comments and cosmetic parts |
0:7b0c724fa658 | 2014-08-23 | kenjiArai | 1st release version: Stepper Motor driver Library only for uni-polar type using 4 ports and Ticker |