DaveX
October 14, 2024, 2:55pm
14
Is it sort of like Stepper.h's knob example or AccelStepper's Proportional control, but with an encoder instead of a pot and some limit switches like MobaTools's Stepper Reference Example?
Here are some stepper motor control library example simulations:
Stepper.h
Examples
MobaTools MobaStepper
This library moves steppers with acceleration in the background, and supplies a lot of other functionality (Servos, Buttons, LEDs, timers)
Simulations
AccelStepper
This non-blocking library uses a smooth acceleration scheme to move steppers.
Examples
AFMotor_ConstantSpeed
AFMotor_MultiStepper
Blocking
Bounce -- Simulation : Bounces +/-500 steps
ConstantSpeed
DualMotorShield -- Simulation : two steppers bounce back and forth at different speeds.
MotorShield
MultiStepper -- Simulation : two steppers in coordinated motion to multiple positions (no acceleration)
MultipleSteppers -- Simulation : Three steppers with acceleration
Overshoot -- Simulation : Demonstrate overshooting past 300 and smoothly returning to 0.
ProportionalControl -- Simulation : Follow potentiometer position with acceleration.
Quickstop -- Simulation : Accelerate towards +/- 500 but stop ASAP after +300&0 subject to acceleration limits. (With an improved simulation )
Random -- Simulation : accelerate to random positions with random speeds and accelerations.