From 8af36de9e7ecb2be6e3f536f3a507de958a7c90c Mon Sep 17 00:00:00 2001 From: anor Date: Mon, 27 Apr 2026 14:20:48 +1000 Subject: [PATCH] =?UTF-8?q?tune:=20ramp=20=D0=B2=202=20=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=B0=20=D0=BC=D0=B5=D0=B4=D0=BB=D0=B5=D0=BD=D0=BD=D0=B5=D0=B5?= =?UTF-8?q?=20(~6.5=20=D1=81=D0=B5=D0=BA=20=D0=B4=D0=BE=20max,=20325=20?= =?UTF-8?q?=D0=BC=D1=81=20=D0=BC=D0=B5=D0=B6=D0=B4=D1=83=20=D1=81=D1=82?= =?UTF-8?q?=D1=83=D0=BF=D0=B5=D0=BD=D1=8F=D0=BC=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vertushka_esp32s3/vertushka_esp32s3.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vertushka_esp32s3/vertushka_esp32s3.ino b/vertushka_esp32s3/vertushka_esp32s3.ino index e8db89d..2fbda73 100644 --- a/vertushka_esp32s3/vertushka_esp32s3.ino +++ b/vertushka_esp32s3/vertushka_esp32s3.ino @@ -64,8 +64,9 @@ const uint16_t CALIB_RPM[CALIB_N] = { // ==== Soft-ramp параметры ==== // Повышение PWM плавно — мотор не «дёргается» под нагрузкой. -// 4 PWM / 10 мс = 400 PWM/сек ≈ 3 сек от стопа (2200) до максимума (3500). -#define RAMP_STEP_UP 4 +// 2 PWM / 10 мс = 200 PWM/сек ≈ 6.5 сек от стопа (2200) до максимума (3500). +// Между соседними ступенями (~65 PWM) — ~325 мс плавности. +#define RAMP_STEP_UP 2 #define RAMP_PERIOD_MS 10 // ==== Состояние ====