Menu

Home

Christoph Sitter

AstroDrive

Configuration

The I/O Pins are defined in pins_RAMPS.h
At this moment only the following pins are in use:

#define RA_STEP_PIN         54
#define RA_DIR_PIN          55
#define RA_ENABLE_PIN       38

#define DEC_STEP_PIN        60
#define DEC_DIR_PIN         61
#define DEC_ENABLE_PIN      56

#define PS_ON_PIN           12

If you want to controll the power supply via the RAMPS board the set the PS_ON_PIN.

The configuration for the drive logic is in Configuration.h

  • Serialport speed is set to 115200. LX200 standard is 9600 Baude.
  • Stepper settings. Invert enable and direction signals

The settings for each axis (RA/Dec)

  • STEPS_PER_UNIT is in Steps/Deg
    SPU = (Gear Ratio * Stepper Steps * Micro Stepping)/360
  • MAX_SPEED is in Deg/Sec
  • MAX_ACCELLERATION and DEF_ACCEL is in Deg/Sec^2
  • MIN_POS and MAX_POS are in Deg.
  • Define if PSU is controlled by AstroDrive

Supported Commands

Command Description
ACK Returns: L, P, A
:AL#
:AP#
:AA#
:Aa#
:AS# Additional command sets mount into tracking mode
:AT# Additional command sets mount into slewing mode
:CM#
:D#
:G..#
:MA#
:Me#
:Mn#
:Ms#
:Mw#
:MS#
:P#
:Q#
:Qe#
:Qn#
:Qs#
:Qw#
:RA#
:RC#
:RD#
:RG#
:Rg#
:RM#
:RS#
:S..#
:T+#
:T-#
:TL#
:TM#
:TQ#
:TS#
:TDDD.DDD#
:U#
:W#

TODO

Project Members:


MongoDB Logo MongoDB