From 02bc01638a062b519f7307a521216534ffaad40a Mon Sep 17 00:00:00 2001 From: zisi Date: Mon, 8 Oct 2018 16:20:13 +0300 Subject: [PATCH] Update max speed and home delay due to #19 Signed-off-by: zisi --- stepper_motor_controller/stepper_motor_controller.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepper_motor_controller/stepper_motor_controller.ino b/stepper_motor_controller/stepper_motor_controller.ino index 39b9bdb..82297f8 100644 --- a/stepper_motor_controller/stepper_motor_controller.ino +++ b/stepper_motor_controller/stepper_motor_controller.ino @@ -26,7 +26,7 @@ #define RATIO 54 ///< Gear ratio of rotator gear box #define MICROSTEP 8 ///< Set Microstep #define MIN_PULSE_WIDTH 20 ///< In microsecond for AccelStepper -#define MAX_SPEED 6400 ///< In steps/s, consider the microstep +#define MAX_SPEED 3200 ///< In steps/s, consider the microstep #define MAX_ACCELERATION 1600 ///< In steps/s^2, consider the microstep #define SPR 1600L ///< Step Per Revolution, consider the microstep #define MIN_M1_ANGLE 0 ///< Minimum angle of azimuth @@ -34,7 +34,7 @@ #define MIN_M2_ANGLE 0 ///< Minimum angle of elevation #define MAX_M2_ANGLE 180 ///< Maximum angle of elevation #define DEFAULT_HOME_STATE HIGH ///< Change to LOW according to Home sensor -#define HOME_DELAY 10000 ///< Time for homing Deceleration in millisecond +#define HOME_DELAY 12000 ///< Time for homing Deceleration in millisecond #include #include