Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/modules/configurations/oae/oaeSteps.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export const getOAESteps = () => [
'#define RA_DRIVER_TYPE DRIVER_TYPE_TMC2209_UART',
'',
'// Define some RA stepper motor settings',
'#define RA_MOTOR_CURRENT_RATING 1200 // mA',
'#define RA_OPERATING_CURRENT_SETTING 80 // %',
'#define RA_MOTOR_CURRENT_RATING 2000 // mA',
'#define RA_OPERATING_CURRENT_SETTING 50 // %',
'#define RA_SLEW_MICROSTEPPING 4',
'#define RA_TRACKING_MICROSTEPPING 256',
'',
Expand All @@ -65,10 +65,10 @@ export const getOAESteps = () => [
'',
'// Define some RA stepper motor settings',
'',
'#define RA_SLEWING_SPEED_DEGREE 3',
'#define RA_ACCEL_SecToFullSpeed 1 // Seconds to reach full slewing speed',
'#define RA_SLEWING_SPEED_DEGREE 4',
'#define RA_ACCEL_SecToFullSpeed 1.5 // Seconds to reach full slewing speed',
'',
'#define RA_STEPPER_SPR (400 * 9) // change to (200 * 9) for 1.8° stepper',
'#define RA_STEPPER_SPR (400 * 9) // change to (200 * 9) for 1.8° stepper',
'#define DEC_STEPPER_SPR (200 * 50 * 4.5f) // change "200" to "400" for 0.9° stepper, change "50" to different value depending on worm gear used',
'',
'// Using the 16 tooth gear (recommended) for RA belt',
Expand All @@ -89,15 +89,15 @@ export const getOAESteps = () => [
'',
'// Define some DEC stepper motor settings',
'#define DEC_MOTOR_CURRENT_RATING 2000 // mA',
'#define DEC_OPERATING_CURRENT_SETTING 60 // %',
'#define DEC_SLEW_MICROSTEPPING 32',
'#define DEC_OPERATING_CURRENT_SETTING 50 // %',
'#define DEC_SLEW_MICROSTEPPING 16',
'#define DEC_GUIDE_MICROSTEPPING 256',
'',
'// TMC2209 Stealth Mode (spreadCycle) - When set to 0, tracking is more precise, but noisy (high-pitched sound). When set to 1, they are silent.',
'#define DEC_UART_STEALTH_MODE 1',
'',
'// Is it going the wrong way?',
'#define DEC_INVERT_DIR 0',
'#define DEC_INVERT_DIR 1',
'',
'#define DEC_SLEWING_SPEED_DEGREE RA_SLEWING_SPEED_DEGREE',
'#define DEC_ACCEL_SecToFullSpeed RA_ACCEL_SecToFullSpeed',
Expand All @@ -110,15 +110,15 @@ export const getOAESteps = () => [
'// AZ Stepper Configuration',
'#define AZ_STEPPER_SPR 2048 // 28BYJ-48',
'#define AZ_MICROSTEPPING 1',
'#define AZ_STEPPER_SPEED 1200',
'#define AZ_STEPPER_ACCELERATION 3000',
'#define AZ_STEPPER_SPEED 800',
'#define AZ_STEPPER_ACCELERATION 2000',
'',
'////////////////////////////////',
'// ALT Stepper Configuration',
'#define ALT_STEPPER_SPR 2048 // 28BYJ-48',
'#define ALT_MICROSTEPPING 1',
'#define ALT_STEPPER_SPEED 800',
'#define ALT_STEPPER_ACCELERATION 3000',
'#define ALT_STEPPER_ACCELERATION 2000',
'',
'////////////////////////////////',
'// Display configuration ',
Expand Down