StepperMotors
StepperMotors copied to clipboard
Add support for best selling Bipolar Drivers & motors
Ordered for testing:
Drivers: A4988 TMC2209 V1.3 DM556 TB6600 TB6560
Motors STEPPERONLINE 0.9deg Nema 17 Stepper Motor Bipolar 1.5A 30Ncm Nema 17 Motor 42BYGH 1.8 Degree Body 38MM 4-Lead Wire 1.5A 42N.cm (60oz.in) STEPPERONLINE Nema 17 Stepper Motor Bipolar 2A 59Ncm(84oz.in) 48mm Body 4-Lead W STEPPERONLINE High Torque Nema 23 CNC Stepper Motor 114mm 425oz.in/3Nm CNC Mill Lathe Router
Tested Client app handling 2 motors. With all Controller Factories. With normal and Chained jobs. After I implement some or all of these controllers/motors I'll release 1st stable release.
# self.turret = Turret(StaticControllerFactory())
# self.turret = Turret(DynamicControllerFactory())
# self.turret = Turret(SynchronizedControllerFactory())
self.turret = Turret(MultiProcessingControllerFactory())
Updates:
Drivers:
Tested
Adafruit Motor Hat
class AdafruitStepperDriverAdapter(BipolarStepperMotorDriver, ThirdPartyAdapter)
Bipolar
DRV8825 => class DRV8825MotorDriver(BipolarStepperMotorDriver)
TMC2209 V1.3 => class TMC2209StandaloneMotorDriver(BipolarStepperMotorDriver)
Basic legacy features tested, Need some wiring to test TMC220X pecific features like sensorless homing and step feedback
Unipolar
ULN2003 => ULN2003UnipolarDemo.py
In Queue
Bipolar
TB6600 & TB6560
Motors
Tested motor specs:
PG35S_D48_HHC2 => class PG35S_D48_HHC2(StepperMotor)
Nema 17 Motor 42BYGH 1.8 Degree Body 38MM 4-Lead Wire 1.5A 42N.cm (60oz.in) => class Nema17_42Ncm_17HS4401(StepperMotor)
class GenericStepper(StepperMotor)
28BYJ-48 => class Stepper_28BYJ_48(StepperMotor) ULN2003UnipolarDemo.py
In queue
STEPPERONLINE High Torque Nema 23 CNC Stepper Motor 114mm 425oz.in/3Nm CNC Mill Lathe Router => class Nema23_3Nm_23HS45_4204S(StepperMotor)
STEPPERONLINE Nema 17 Stepper Motor Bipolar 2A 59Ncm(84oz.in) 48mm Body 4-Lead W => class Nema17_59Ncm_17HS19_2004S1(StepperMotor)
STEPPERONLINE 0.9deg Nema 17 Stepper Motor Bipolar 1.5A 30Ncm => Not implemented