mukodik, csak egy ido utan megall az RA tengely, es lassabb is, mint az eredeti
This commit is contained in:
@@ -19,11 +19,17 @@
|
||||
|
||||
#define HOST_NAME "OnStep"
|
||||
|
||||
#define AXIS1_STEP_PIN 18 // gyári binárisból kinyerve (volt: 14)
|
||||
#define AXIS1_DIR_PIN 0 // gyári binárisból kinyerve (volt: 12) [GPIO0 must be high at boot]
|
||||
#define AXIS1_STEP_PIN 18 // RA motor STEP (GPIO0 nem tud gyors STEP-et, ez a helyes)
|
||||
#define AXIS1_DIR_PIN 0 // RA motor DIR
|
||||
#define AXIS1_M0_PIN 13 // TMC MS1 (megosztott)
|
||||
#define AXIS1_M1_PIN 14 // TMC MS2 (megosztott)
|
||||
#define AXIS1_M2_PIN 5 // TMC2209 UART - KÖZÖS vonal az AXIS2-vel (megosztott busz)
|
||||
|
||||
#define AXIS2_STEP_PIN 27
|
||||
#define AXIS2_DIR_PIN 26
|
||||
#define AXIS2_STEP_PIN 27 // DEC motor STEP
|
||||
#define AXIS2_DIR_PIN 26 // DEC motor DIR
|
||||
#define AXIS2_M0_PIN 13 // TMC MS1 (megosztott)
|
||||
#define AXIS2_M1_PIN 14 // TMC MS2 (megosztott)
|
||||
#define AXIS2_M2_PIN 5 // TMC2209 UART vonal (szoftver-soros TX)
|
||||
|
||||
#define SHARED_ENABLE_PIN 25 // Közös láb, ahogy gyárilag tervezték!
|
||||
#define STATUS_LED_PIN 2
|
||||
@@ -39,7 +45,11 @@
|
||||
#define SERIAL_C_BAUD_DEFAULT OFF // OFF, n. Baud rate as above. See (src/pinmaps/) for Serial port assignments. Infreq
|
||||
#define SERIAL_D_BAUD_DEFAULT OFF // OFF, n. Baud rate as above. See (src/pinmaps/) for Serial port assignments. Infreq
|
||||
#define SERIAL_E_BAUD_DEFAULT OFF // OFF, n. Baud rate as above. See (src/pinmaps/) for Serial port assignments. Infreq
|
||||
#define SERIAL_RADIO WIFI_ACCESS_POINT // OFF, Use BLUETOOTH or WIFI_ACCESS_POINT or WIFI_STATION (ESP32 only.) Option
|
||||
#define SERIAL_RADIO OFF // OFF, Use BLUETOOTH or WIFI_ACCESS_POINT or WIFI_STATION (ESP32 only.) (ideiglenesen OFF a diagnózishoz) Option
|
||||
|
||||
// TMC2209 UART (szoftver-soros, axiseként saját TX vonal az M2 pinen) ------------------------------------------------------------
|
||||
#define SERIAL_TMC SoftSerial // szoftver-soros UART a TMC2209 driverekhez
|
||||
#define SERIAL_TMC_BAUD 115200 // TMC UART baud rate
|
||||
|
||||
// STATUS --------------------------------------------- see https://onstep.groups.io/g/main/wiki/Configuration_Controller#STATUS_LED
|
||||
#define STATUS_LED ON // OFF, Steady illumination if no error, blinks w/error code otherwise. Option
|
||||
@@ -68,7 +78,7 @@
|
||||
// Typically: A4988, DRV8825, LV8729, S109, TMC2130, TMC5160, TMC2209, etc.
|
||||
|
||||
// AXIS1 RA/AZM -------------------------------------------------------- see https://onstep.groups.io/g/main/wiki/Configuration_Axes
|
||||
#define AXIS1_DRIVER_MODEL TMC2209S // OFF, Enter motor driver model (above) in both axes to activate the mount. <-Often
|
||||
#define AXIS1_DRIVER_MODEL TMC2209 // OFF, Enter motor driver model (above) in both axes to activate the mount. <-Often
|
||||
|
||||
// If runtime axis settings are enabled changes in the section below will be ignored (disable in SWS or by wiping NV/EEPROM):
|
||||
// \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
|
||||
@@ -80,18 +90,18 @@
|
||||
#define AXIS1_LIMIT_SYNC OFF // OFF, n. Where n= 0..90 (degrees.) Allow sync/reset only within this +/-range. Option
|
||||
|
||||
#define AXIS1_DRIVER_MICROSTEPS 16 // OFF, n. Microstep mode when tracking. <-Req'd
|
||||
#define AXIS1_DRIVER_MICROSTEPS_GOTO 4 // OFF, n. Microstep mode used during slews. OFF uses _DRIVER_MICROSTEPS. Option
|
||||
#define AXIS1_DRIVER_MICROSTEPS_GOTO OFF // OFF, n. Microstep mode used during slews. OFF = nincs futás közbeni UART mód-váltás (közös busz!) Option
|
||||
|
||||
// for TMC2130, TMC5160, TMC2209, TMC2226 STEP/DIR driver models:
|
||||
#define AXIS1_DRIVER_IHOLD OFF // OFF, n, (mA.) Current during standstill. OFF uses IRUN/2.0 Option
|
||||
#define AXIS1_DRIVER_IRUN OFF // OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc. Option
|
||||
#define AXIS1_DRIVER_IGOTO OFF // OFF, n, (mA.) Current during slews. OFF uses IRUN. Option
|
||||
#define AXIS1_DRIVER_IRUN 1000 // OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc. Option
|
||||
#define AXIS1_DRIVER_IGOTO 1300 // OFF, n, (mA.) Current during slews. OFF uses IRUN. Option
|
||||
// /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /
|
||||
|
||||
#define AXIS1_DRIVER_STATUS OFF // OFF, ON, HIGH, or LOW. For driver status info/fault detection. Option
|
||||
|
||||
#define AXIS1_DRIVER_DECAY OFF // OFF, Tracking decay mode default override. TMC default is STEALTHCHOP. Infreq
|
||||
#define AXIS1_DRIVER_DECAY_GOTO OFF // OFF, Decay mode goto default override. TMC default is SPREADCYCLE. Infreq
|
||||
#define AXIS1_DRIVER_DECAY SPREADCYCLE // azonos tracking/goto decay = nincs UART mód-váltás + van indítónyomaték Infreq
|
||||
#define AXIS1_DRIVER_DECAY_GOTO SPREADCYCLE // azonos a fentivel Infreq
|
||||
|
||||
#define AXIS1_POWER_DOWN OFF // OFF, ON Powers off 30sec after movement stops or 10min after last<=1x guide. Infreq
|
||||
|
||||
@@ -104,7 +114,7 @@
|
||||
// |HYST(n) Where n=0..1023 (ADU) for +/- Hystersis range.
|
||||
|
||||
// AXIS2 DEC/ALT ------------------------------------------------------- see https://onstep.groups.io/g/main/wiki/Configuration_Axes
|
||||
#define AXIS2_DRIVER_MODEL TMC2209S // OFF, Enter motor driver model (above) in both axes to activate the mount. <-Often
|
||||
#define AXIS2_DRIVER_MODEL TMC2209 // OFF, Enter motor driver model (above) in both axes to activate the mount. <-Often
|
||||
|
||||
// If runtime axis settings are enabled changes in the section below will be ignored (disable in SWS or by wiping NV/EEPROM):
|
||||
// \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
|
||||
@@ -116,18 +126,18 @@
|
||||
#define AXIS2_LIMIT_SYNC OFF // OFF, n. Where n= 0..90 (degrees.) Allow sync/reset only within this +/-range. Option
|
||||
|
||||
#define AXIS2_DRIVER_MICROSTEPS 16 // OFF, n. Microstep mode when tracking. <-Req'd
|
||||
#define AXIS2_DRIVER_MICROSTEPS_GOTO OFF // OFF, n. Microstep mode used during slews. OFF uses _DRIVER_MICROSTEPS. Option
|
||||
#define AXIS2_DRIVER_MICROSTEPS_GOTO OFF // OFF, n. Microstep mode used during slews. OFF = nincs futás közbeni UART mód-váltás (közös busz!) Option
|
||||
|
||||
// for TMC2130, TMC5160, TMC2209, TMC2226 STEP/DIR driver models:
|
||||
#define AXIS2_DRIVER_IHOLD OFF // OFF, n, (mA.) Current during standstill. OFF uses IRUN/2.0 Option
|
||||
#define AXIS2_DRIVER_IRUN OFF // OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc. Option
|
||||
#define AXIS2_DRIVER_IGOTO OFF // OFF, n, (mA.) Current during slews. OFF uses IRUN. Option
|
||||
#define AXIS2_DRIVER_IRUN 1000 // OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc. Option
|
||||
#define AXIS2_DRIVER_IGOTO 1300 // OFF, n, (mA.) Current during slews. OFF uses IRUN. Option
|
||||
// /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /
|
||||
|
||||
#define AXIS2_DRIVER_STATUS OFF // OFF, ON, HIGH, or LOW. Polling for driver status info/fault detection. Option
|
||||
|
||||
#define AXIS2_DRIVER_DECAY OFF // OFF, Tracking decay mode default override. TMC default is STEALTHCHOP. Infreq
|
||||
#define AXIS2_DRIVER_DECAY_GOTO OFF // OFF, Decay mode goto default override. TMC default is SPREADCYCLE. Infreq
|
||||
#define AXIS2_DRIVER_DECAY SPREADCYCLE // azonos tracking/goto decay = nincs UART mód-váltás + van indítónyomaték Infreq
|
||||
#define AXIS2_DRIVER_DECAY_GOTO SPREADCYCLE // azonos a fentivel Infreq
|
||||
|
||||
#define AXIS2_POWER_DOWN OFF // OFF, ON Powers off 30sec after movement stops or 10min after last<=1x guide. Option
|
||||
|
||||
|
||||
Reference in New Issue
Block a user