OnStep - poznámky
Z Hujer.Net
(Rozdíly mezi verzemi)
(Založena nová stránka s textem „Moje konfigurace Pro převodovku s poměrem 3.71 : 1 plus kola 54 zubů / 16 zubů <pre> // Axis1 is for RA/Az #def…“) |
Verze z 25. 7. 2017, 13:15
// Switch close (to ground) on pin 3 for optional limit sense (stops gotos and/or tracking), default=OFF (Teensy3.2 Pin 4) // Start/sttop traccking (unpark) _TRACK //#define LIMIT_SENSE_OFF #define LIMIT_SENSE_TRACK // SAFETY CHECKS // support for limit switch(es) #ifdef LIMIT_SENSE_ON byte ls1=digitalRead(LimitPin); delayMicroseconds(50); byte ls2=digitalRead(LimitPin); if ((ls1==LOW) && (ls2==LOW)) { lastError=ERR_LIMIT_SENSE; if (trackingState==TrackingMoveTo) abortSlew=true; else trackingState=TrackingNone; } #endif // HR ADD // Start/Stop Tracking (Unpark) #ifdef LIMIT_SENSE_TRACK byte ls1=digitalRead(LimitPin); delayMicroseconds(50); byte ls2=digitalRead(LimitPin); if ((ls1==LOW) && (ls2==LOW)) { if (trackingState==TrackingMoveTo){ abortSlew=true; lastError=ERR_LIMIT_SENSE; } else if ( (trackingState != TrackingNone ) TrackingNone=TrackingNone; else if (((parkStatus==Parked) || (atHome)) unpark(); else TrackingNone=TrackingSidereal; } #endif //HR END
Moje konfigurace
Pro převodovku s poměrem 3.71 : 1 plus kola 54 zubů / 16 zubů
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 15359.4 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * 3.71*54/16 * 138/360 = 15359.4 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 9794.4 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 2000 * 16 * 3.71*54/16 * 88/360 = 9794.4 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 40068L // NEMA17 + PLANET : (15359*360)/138 = 40068L
Pro převodovku 5+2/11 :1 RA kola 55 zubů / 16 zubů a DE kola 54 zubů / 16 zubů
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 21850.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * (5+2/11) * 55/16 * 138/360 = 21850.0 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 13680.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * (5+2/11) * 54/16 * 88/360 = 13680.0 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 57000L // My 16m step : (21850*360)/138= 57000
Přímé spojení kola 54 zubů / 16 zubů
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 4140.00000 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 54/16 * 138/360 = 4140.00000 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 2640.00000// calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 54/16 * 88/360 = 2640.00000 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 10800L // My 16m step : (4140*360)/138= 10800
Upřesněné převody šneku 138:1 a 88 : 1 Kola 49 zubů / 16 zubů
#define StepsPerDegreeAxis1 3756.66667 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 138/360 = 3756,66667 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 2395.55556 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 88/360 = 2395,55556 // the EM10b has two spur gears that drive the RA/Dec worms, they give an additional 1.25:1 reduction // in addition to the 18:1 gear heads on the steppers for a 22.5:1 final ratio before the worm/wheels at 144:1 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 9800L // My 16m step : (3757*360)/138= 9800
Původní odhadované převody šneků RA 144 DE 72
#define StepsPerDegreeAxis1 3920.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 144/360 = 3920 #define StepsPerDegreeAxis2 1960.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 72/360 = 1960 #define StepsPerWormRotationAxis1 9800 // My 16m step : (3920*360)/144 = 9800