|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Motor Configuration for 17HS4401S-PG518 NEMA 17 Stepper Motor (WITH GEARBOX) More...
#include <esp32_tmc51x0_test_config.hpp>
Static Public Attributes | |
| static constexpr uint16_t | RATED_CURRENT_MA = 1700 |
| static constexpr uint32_t | RESISTANCE_MOHM = 1500 |
| static constexpr float | INDUCTANCE_MH = 3.2f |
| static constexpr float | GEAR_RATIO = 5.18f |
| static constexpr uint16_t | MOTOR_FULL_STEPS = 200 |
| static constexpr uint16_t | OUTPUT_FULL_STEPS = static_cast<uint16_t>(MOTOR_FULL_STEPS * GEAR_RATIO) |
| static constexpr uint32_t | SUPPLY_VOLTAGE_MV = 24000 |
| static constexpr uint16_t | TARGET_RUN_CURRENT_MA = 1880 |
| static constexpr uint16_t | TARGET_HOLD_CURRENT_MA = 940 |
| static constexpr tmc51x0::MicrostepResolution | MRES = tmc51x0::MicrostepResolution::MRES_256 |
| static constexpr bool | INTERPOLATION = true |
| static constexpr uint8_t | TOFF = 5 |
| static constexpr uint8_t | HEND = 3 |
| static constexpr uint8_t | HSTRT = 4 |
| static constexpr uint8_t | TBL = 2 |
| static constexpr bool | STEALTH_AUTOSCALE = true |
| static constexpr bool | STEALTH_AUTOGRAD = true |
| static constexpr uint8_t | STEALTH_FREQ = 1 |
| static constexpr uint8_t | STEALTH_OFS = 30 |
| static constexpr float | RAMP_VSTART_RPM = 3.0f |
| static constexpr float | RAMP_VSTOP_RPM = 5.0f |
| static constexpr float | RAMP_VMAX_RPM = 120.0f |
| static constexpr float | RAMP_AMAX_REV_S2 = 2.0f |
| static constexpr float | RAMP_DMAX_REV_S2 = 2.0f |
| static constexpr float | RAMP_A1_REV_S2 = 1.0f |
| static constexpr float | RAMP_D1_REV_S2 = 1.0f |
| static constexpr float | RAMP_V1_RPM = 36.0f |
| static constexpr float | RAMP_TPOWERDOWN_MS = 100.0f |
| static constexpr float | RAMP_TZEROWAIT_MS = 0.0f |
| static constexpr float | IHOLDDELAY_MS = 300.0f |
| static constexpr float | STEALTH_VELOCITY_THRESHOLD_RPM = 30.0f |
Motor Configuration for 17HS4401S-PG518 NEMA 17 Stepper Motor (WITH GEARBOX)
Model: 17HS4401S-PG518 (with Planetary Gearbox)
Driver Settings for Smoothness:
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |