Rotator homing time for 5.18 version

Hello to All!
Can you help me to solve this problem on V 5.18 Rotator A new version of 5.18 geared nema rotator

In the stepper motor rotor 5.18: 1, I noticed sometimes that the rotor when turned on, if it is too far from the zero AZ position (example 200 degree) , the homing ring in fact fails to finish the race because it stops a little earlier and starts again in the sense opposite until then to stop without arriving at the home position, this involves a double restart to make it go to the home position (0 AZIMUTH).
What should I change to extend the HOMING time?
maybe #define ANGLE_SCANNING_MULT 180 // Angle scanning multiplier defaut 180 ???

In fact, I am now using these values ​​in the variables

#define SPR 1036L // Step For Revolution
#define RATIO 54 // Gear ratio
#define T_DELAY 60000 // Time to disable the motors in millisecond (default 60000)

#define HOME_AZ 4 // Homing switch for Azimuth
#define HOME_EL 5 // Homing switch for Elevation
/ * The MAX_ANGLE depends on ANGLE_SCANNING_MULT and maybe misbehave for large values ​​* /
#define ANGLE_SCANNING_MULT 180 // Angle scanning multiplier defaut 180
#define MAX_AZ_ANGLE 360 // Maximum Angle of Azimuth for homing scanning
#define MAX_EL_ANGLE 360 // Maximum Angle of Elevation for homing scanning

#define HOME_DELAY 6000 // Time for homing Decceleration in millisecond

while the speeds are set like this
/ * Change these to suit your stepper if you want * /
AZstepper.setMaxSpeed ​​(640); // default 150 current values ​​640
** AZstepper.setAcceleration (160); // default 50 current values ​​160**

/ * Change these to suit your stepper if you want * /
ELstepper.setMaxSpeed ​​(640); // default 150 velocity of rotator homing
ELstepper.setAcceleration (160); // default 50

Thanks again.

Massimiliano - IZ5RZR

Hey!

I think you must change the:

#define HOME_DELAY 6000 // Time for homing Decceleration in millisecond

Thanks a Lot, I will try to increase value.
Actually 5.18 stepper motor version is working good

Perfect!
with a value of 12000 millisecond rotator homing good.

#define HOME_DELAY 12000 // Time for homing Decceleration in millisecond

Many Thanks Agis

1 Like