Arduino - poznámky

Z Hujer.Net
Přejít na: navigace, hledání
  • TMC2100
  • DRV8825


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

Frekvence pro Seben RA  motor  12.67Hz Seben

Manuální  původní verze

144:1 (worm gear) and 2.05:1 (printer gears) = 295.2:1. with a A4988 in a 16 microstep mode, a 200 steps motor will run at 3200 steps/revolution. 
if polar axis should run roughly at 23 hours 56 minutes y 4,0916 seconds (sidereal day) 
per revolution, this gives a 82800 s + 3360 s +4.0916 s = 86164.0916 seconds /rev. of the polar axis. for each revolution, 
the steps count for the motor will be (3200 x 295.2= 944640 steps), wich gives a (86164.0916 s/944640 steps) = 0.091213681 seconds/step, 
or 10.9632676703 Hz. this ~11Hz signal can be generated using an arduino. to keep costs low, a NE555 can be used. for a fast feed 
of the equatorial mount, a higher trigger frecuency can be used according t desired feed speed. 
a switch for direction changing of the stepper. is also recommended


Osobní nástroje
Jmenné prostory

Varianty
Akce
Navigace
Nástroje