MountOne | Software.

Don't Panic!

This guide is 99% images.

Index.

OnStepX.

The MaxPCB4 supports OnStepX.

OnStepX is the advanced version of the OnStep computerized telescope controller with support for interfacing with/controlling a variety of motor drivers (and so motors) including Step/Dir, ODrive, and Servo (a combination of encoder and DC motor or Stepper motor) types.

There are in-depth instructions on the OnStep wiki and details on the configuration for OnStepX. Before we can get into the configuration, firstly you'll need to install the Arduino IDE and associated drivers.

The bulk of the installation and configuration documentation is on the OnStep wiki and I advise you follow through the instructions there. Specifically we will need the configuration for uploading OnStepX onto a Teensy Microcontroller.

Adding libraries.

OnStepX Configuration.

Once you have completed the install we shall adjust the configuration file to match the hardware configuration of the MountOne.

Open the code in the Arduino IDE by double-clinking OnStepX.ino

Config.h.

We will be editing the settings in Config.h. Please note that the source code can change and these settings may be outdated.

These is a guide and should be used only as a reference when used in conjunction with the OnStep Wiki.

PINMAP

  • MaxPCB4

SERIAL PORT COMMAND CHANNELS

  • Set SERIAL_C_BAUD_DEFAULT to 9600 (UART to the astrographs).

AXIS1 RA/AZM

  • AXIS1_DRIVER_MODEL TMC5160 (Or whatever you have).
  • AXIS1_STEPS_PER_DEGREE 14400
  • AXIS1_REVERSE ON
  • AXIS1_DRIVER_MIROSTEPS 32
  • AXIS1_DRIVER_IRUN 1500

AXIS2 DEC/ALT

  • AXIS2_DRIVER_MODEL TMC5160 (Or whatever you have).
  • AXIS2_STEPS_PER_DEGREE 14400
  • AXIS2_REVERSE ON
  • AXIS2_DRIVER_MIROSTEPS 32
  • AXIS2_DRIVER_IRUN 1500

Mount

  • MOUNT_TYPE GEM (or ALTAZM_UNL if you are not using the PET).

ST4 INTERFACE

  • ST4_INTERFACE ON

SLEWING BEHAVIOUR

  • SLEW_RATE_BASE_DESIRED 3

AXIS4 FOCUSER 1 (For 100MM Astrograph)

  • AXIS4_DRIVER_MODEL TMC5160
  • AXIS4_STEPS_PER_MICRON 0.5
  • AXIS4_LIMIT_MAX 7
  • AXIS4_DRIVER_MICROSTEPS 32
  • AXIS4_DRIVER_IRUN 1000
  • AXIS4_POWER_DOWN ON

AXIS4 FOCUSER 1 (For 102OTA Astrograph)

  • AXIS4_DRIVER_MODEL TMC5160
  • AXIS4_STEPS_PER_MICRON 0.5
  • AXIS4_LIMIT_MAX 30
  • AXIS4_DRIVER_MICROSTEPS 32
  • AXIS4_DRIVER_IRUN 1000
  • AXIS4_POWER_DOWN ON

Click Verify (the blue circle with a tick) to test-compile the firmware. If there are errors, check the config and confirm all the required libraries are installed.

Flashing OnStepX.

If everything has gone well, plug in the teensy 4.1 and flash the firmware.

D1 Mini.

grayditigalarts.com have an online installer for flashing the firmware to the ESP8266 D1 Mini which hosts the Wi-Fi webserver that enables connection to OnStep via the Smart Hand Controller, or Android App.

You can still go through the process of compiling the firmware if you want to. See the OnStep Wiki for details.

Continue to the MountOne Electronics Documentation.

Back to Main Documentation.