From 563c8192cdc35930fdaf6bbe2ecc3479bb330b84 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sun, 29 Aug 2021 11:57:41 +0200 Subject: [PATCH] Update motor currents Use the same values from the original FW as suggested by @leptun --- src/config/config.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/config/config.h b/src/config/config.h index e7e9c79..ecf4af0 100644 --- a/src/config/config.h +++ b/src/config/config.h @@ -77,9 +77,9 @@ static constexpr uint16_t stepTimerQuantum = 256; // 256 = 128us static constexpr AxisConfig pulley = { .dirOn = false, .mRes = MRes_2, - .vSense = false, - .iRun = 20, - .iHold = 20, + .vSense = true, + .iRun = 30, + .iHold = 1, .stealth = false, .stepsPerUnit = 161.3, }; @@ -96,8 +96,8 @@ static constexpr AxisConfig selector = { .dirOn = true, .mRes = MRes_2, .vSense = false, - .iRun = 20, - .iHold = 20, + .iRun = 17, + .iHold = 5, .stealth = false, .stepsPerUnit = (200 * 2 / 8.), }; @@ -114,8 +114,8 @@ static constexpr AxisConfig idler = { .dirOn = true, .mRes = MRes_16, .vSense = false, - .iRun = 20, - .iHold = 20, + .iRun = 23, + .iHold = 11, .stealth = false, .stepsPerUnit = (200 * 16 / 360.), };