Devices & Components
Arduino Due
Resistor 1k ohm
Capacitor 100 µF
DHT22 Temperature Sensor
Belts & Pulleys
HC-05 Bluetooth Module
DRV8825
SY42STH47-1684B Motors NEMA 17
3.2" TFT 400*240 SD Touch Module With Shield for Arduino Due
Electronic Components
RTC DS3231
GPS uBlox Neo 6M
PS2 joystick for Arduino
Hardware & Tools
PCB
Project description
Code
Code snippet #1
text
1// HERE GOES THE Mount, Gears and Drive information. 2// ... used to calculate the HourAngle to microSteps ratio 3// UPDATE THIS PART according to your SET-UP 4// --------------------------------------------- 5// NB: RA and DEC uses the same gear ratio (144 tooth in my case)! 6//---------------------------------------------- 7int WORM = 144; 8int REDUCTOR = 4; // 1:4 gear reduction 9int DRIVE_STP = 200; // Stepper drive have 200 steps per revolution 10int MICROSteps = 16; // I'll use 1/16 microsteps mode to drive sidereal - also determines the LOWEST speed.
Code snippet #3
c_cpp
1if (SLEW_RA_microsteps > RA_microSteps){ 2 digitalWrite(RA_DIR,STP_BACK); 3 digitalWrite(RA_STP,HIGH); 4 digitalWrite(RA_STP,LOW); 5 RA_microSteps += RA_mode_steps; 6}else{ 7 digitalWrite(RA_DIR,STP_FWD); 8 digitalWrite(RA_STP,HIGH); 9 digitalWrite(RA_STP,LOW); 10 RA_microSteps -= RA_mode_steps; 11} 12
Github
https://github.com/dEskoG/rDUINOScope
Code snippet #1
text
1// HERE GOES THE Mount, Gears and Drive information. 2// ... used to 3 calculate the HourAngle to microSteps ratio 4// UPDATE THIS PART according to 5 your SET-UP 6// --------------------------------------------- 7// NB: RA and 8 DEC uses the same gear ratio (144 tooth in my case)! 9//---------------------------------------------- 10int 11 WORM = 144; 12int REDUCTOR = 4; // 1:4 gear reduction 13int DRIVE_STP = 200; 14 // Stepper drive have 200 steps per revolution 15int MICROSteps = 16; // I'll 16 use 1/16 microsteps mode to drive sidereal - also determines the LOWEST speed.
Code snippet #3
c_cpp
1if (SLEW_RA_microsteps > RA_microSteps){ 2 digitalWrite(RA_DIR,STP_BACK); 3 digitalWrite(RA_STP,HIGH); 4 digitalWrite(RA_STP,LOW); 5 RA_microSteps += RA_mode_steps; 6}else{ 7 digitalWrite(RA_DIR,STP_FWD); 8 digitalWrite(RA_STP,HIGH); 9 digitalWrite(RA_STP,LOW); 10 RA_microSteps -= RA_mode_steps; 11} 12
Github
https://github.com/dEskoG/rDUINOScope
Downloadable files
How to wire Stepper Motors and DRV8825
How to wire Stepper Motors and DRV8825 and connect them to Arduino DUE
How to wire Stepper Motors and DRV8825

How to wire supporting hardware
How to wire all all sensors and conenct to Arduino DUE
How to wire supporting hardware

How to wire Stepper Motors and DRV8825
How to wire Stepper Motors and DRV8825 and connect them to Arduino DUE
How to wire Stepper Motors and DRV8825

Comments
Only logged in users can leave comments