EQMod *OLD*

  • 179.jpg

Installation

INDI EQMod Driver is released as a 3rd party driver and requires INDI Library >= v0.9.7.

Features

This INDI driver interacts with a mount controller using the Skywatcher Protocol through a serial link. It can directly drive Skywatcher and similar mounts through a serial port after a conversion of signal levels (see EQDIRECT interface), or any other mount hardware which uses this protocol. The EQMod driver can also be used with the Synscan controller if PC Direct Mode is enabled in the handset. However, this approach can be problematic and generally not recommended. For wired connections, using EQDirect cable is recommeneded.

eqmod main

Current features are:

  • Goto/Slew at maximum microstep resolution
  • Independent slew speeds for both axes variable between x0.05 to x800 of the sidereal rate (step x0.05)
  • Sidereal, lunar, solar and custom trackrates
  • Custom horizon limits
  • PEC training
  • Configurable custom parking positions
  • Pulse-guiding
  • ST4 Guiding
  • Full joystick support

The driver uses INDI Alignment Subsystem to build an internal model to increase GOTO accuracy. Normal syncs and Nearest point alignment, in addition to N-Star alignment are functional.

If you plan to use EQMod driver with AstroEQ, make sure to use the latest firmware v8.11+ as prior AstroEQ versions will fail to work with EQMod.

Connectivity

1. USB

To connect to EQMod mount from a PC or a device like Raspberry PI, it is recommend to get an EQ Direct USB cable (such as those offered by Shoestring Astronomy). This cable provides a direct connection between the PC/Device and the mount.

Many vendors sell USB to RJ45/DB9 EQDirect-compatible cables and adapters. You connect the USB to your computer or embedded device running INDI and then use the driver to control the mount.

For direct USB connections to AZEQ5 or EQ6R Mounts, make sure to set the baud rate to 115200

2. Network

If EQMod is available over the network via RS232-to-Ethernet adapter for example, you can Ethernet connection mode and enter the corresponding IP address and port where the remote server is located.

2.1 AZ-GTi mount

The EQMod driver also supports running AZ-GTi mount.

The device running the EQMod driver (StellarMate/PC) should be connected to the mount WiFi HotSpot. There is no need to use the Synscan App. In the Connection tab, select Ethernet.

Then enter the IP address as 192.168.4.1 and port 11880. Go to options and click Save configuration. Now you can connect directly to the mount.

The machine running the client (Ekos, PixInsight, SkyCharts..etc) should also be connected to the Mount WiFi HotSpot as well so that the mount, driver, and client are ALL on the same network which is in this case the Mount WiFi HotSpot network.

3. Bluetooth

For bluetooth adapters, several adapters are avaiable from Shoestring Astronomy and Altair Astro among others. When using Bluetooth adapter, it is highly recommended to remove modemmanager as it interfers with connection with EQMod driver. To remove it, use the following command:

sudo apt-get remove modemmanager

 Then you can either use your OS built-in Bluetooth manager to pair with the EQMod Bluetooth adapeter, or you can permenantly bind it by adding the following line to your /etc/rc.local

rfcomm bind hci0 XX:XX:XX:XX:XX:XX 1 &

Replace XX:XX:XX:XX:XX:XX with your Bluetooth adapter MAC Address. To get the MAC address, use the hciconfig command to list bluetooth devices and their correspnding information.

4. First Time Connection

eqmod connection

Before starting the driver, power the mount and make sure it is looking at the celestial pole with the weights down.

When running the driver for the first time, go to the Connection tab and select the port to connect to. You can also try connecting directly and the driver shall automatically scan the system for candidate ports. If EQMod is connected the network via a Serial-TCP (Ethernet or WiFi) adapter, then you can select Ethernet mode and enter the IP address and port for the adapter connected to the mount. After making changes in the Connections tab, go to Options tab and save the settings.

Operation

Once EQMod is online, it loads mount, alignment, parking, and horizontal limits settings if they exist. Its location defaults to the celestial pole unless a custom parking position is set previously.

Main Control

The main control tab is where the primary control of EQMod takes place. To track an object, enter the equatorial of date (JNow) coordinates and press Set. The mount shall then slew to an object and once it arrives at the target location, it should engage tracking at the selected tracking rate which default to Sidereal tracking. Slew mode is different from track mode in that it does not engage tracking when slew is complete. To sync, the mount must be already tracking. First change mode to Sync, then enter the desired coordinates then press Set. Users will seldom use this interface directly since many clients (e.g. KStars) can slew and sync the mount directly from the sky map without having to enter any coordinates manually.

Four tracking modes are supported: Sidereal, Lunar, Solar, and Custom. When using Custom mode, the rates defined in Track Rates shall be used. Tracking can be enganged and disenganged by toggling the Tracking property.

Options

 Under the options tab, you can configure many parameters before and after you connect to the mount.

  • Snoop Devices: Indicate which devices EQMod should communicate with:
    • GPS: If using a GPS driver (e.g. INDI GPSD) then enter its name here. EQMod shall sync its time and location settings from the GPS driver.
    • Dome: If using a Dome driver, put its name here so that Dome Parking Policy can be applied.
  • Configuration: Load or Save the driver settings to a file. Click default to restore default settings that were shipped with the driver.
  • Simulation: Enable to disable simulation mode for testing purposes.
  • Debug: Enable debug logging where verbose messaged can be logged either directly in the client or a file. If Debug is enabled, advanced properties are created to select how to direct debug output. Watch a video on how to submit logs.
  • Dome Parking Policy

    If a dome is used in conjunction with the mount, a policy can be set if parking the mount or dome can interfere with the safety of either. For example, you might want to always park the mount before parking the dome, or vice versa. The default policy is to ignore the dome.

    • Ignore dome: Take no action when dome parks or unparks.
    • Dome locksPrevent the mount from unparking when dome is parked.
    • Dome parks: Park the mount if dome starts parking. This will disable the locking for dome parking, EVEN IF MOUNT PARKING FAILS.
    • Both: Dome locks & Dome parks policies are applied.

    eqmod options
  • Scope Properties: Enter the Primary and Seconday scope information. Up to six different configurations for Primary and Secondary Guider telescopes can be saved separately, each with an optional unique label in Scope Name property.
  • Scope Config: Select the active scope configuration.
  • Joystick: Enable or Disable joystick support. An INDI Joystick driver must be running for this function to work. For more details, check the INDI Telescope Joystick tutorial.
  • Backlash: Set RA & DEC backlash in microsteps.

Motion Control

eqmod motion

Under motion control, manual motion controls along with speed and guide controls are configured.

  • Motion N/S/W/E: Directional manual motion control. Press the button to start the movement and release the button to stop.
  • Slew Rate: Rate of manual motion control above where 1x equals one sidereal rate.
  • Guide N/S/W/E: Guiding pulses durations in milliseconds. This property is meant for guider application (e.g. PHD2) and not intended to be used directly.
  • Guiding Rate: Guiding Rate for RA & DE. 0.3 means the mount shall move at 30% of the sidereal rate when the pulse is active. The sideral rate is ~15.04 arcseconds per second. So at 0.3x, the mount shall move 0.3*15.04 = 4.5 arcsecond per second. When receving a pulse for 1000ms, the total theoritical motion 4.5 arcseconds.
  • Custom Speeds: Customs speeds in RA & DEC axis when performing GOTO.
  • Track Default: Default tracking rate to be used on startup.
  • ST4 N/S/W/E: If the mount is receiving guiding pulses via ST4, apply this rate.

The Slew Rate dropdown is used to control the manual speeds when using the NSWE controls either directly or via a joystick. To set the GOTO speeds (when mount moves from one target to another via a GOTO command), you need to update the Custom Speeds control.

Site Management

Time, Locaiton, and Park settings are configured in the Site Management tab.

eqmod site

  • UTC: UTC time and offsets must be set for proper operation of the driver upon connection. The UTC offset is in hours. East is positive and west is negative.
  • Location: Latitude and Longitude must be set for proper operation of the driver upon connection. The longitude range is 0 to 360 degrees increasing eastward from Greenwich.
  • Parking Position: Upon connection to the mount, Ekos loads these values into the mount's motor controller to initialize the (stepper) motor step values. The default values represent the home position where the mount points to the celestial pole - i.e. 0 deg RA, 90 deg DEC.
  • Parking: To set the parking position of the mount to the home position, click “Default”, then "Write Data " - this saves the home values as the parking values. To set the parking position of the mount to a custom position, slew the mount to the desired position and click “Current”, then "Write Data " - this saves the current motor step values as the parking values.
    • IMPORTANT: For the first time Ekos connects to the mount, or if for any reason the parking position has become incorrect. Make sure the mount is in the home position, power up the mount, connect Ekos and set the parking position to home by clicking “Default”, then "Write Data ".

Firmware

Firmware tab displays information on the detected mount type and firmware version. Furthermore, the RA/DE steps, frequencies, and gear ratios are displayed.

eqmod firmware

Motor Status

The stepper motors positions and work periods are displayed in addition to the status of each motor. If the mount is equipment with auxiliary encoders, then their position shall be displayed

eqmod motor status

Alignment 

By default the alignment mode is set to N-Star, every time you perform a sync, a new sync point is added to the model. You need to save the alignment points file if you want the driver to utilize them on the next startup. You can perform all these operations in the Align tab. The EQMod driver is currently transition to the INDI Alignment Subsystem and this section shall be updated when the transition is over to avoid duplicate information.

Under Options, you can select to utilize INDI's Alignment Subsystem instead of EQMod's own alignment system. However, the Alignment Subsystem is currently not stable so it is recommended to use EQMod alignment system which is on by default.

When using plate solving to refine every slew position it is best to not use the N-Star alignment because the list of point can grow out of necessary making the new point you sync near the target insufficient to influence the pointing result. This make the target to never be centered in the image. In this case it is better to use "sync mode=standard sync" and "alignment mode=nearest point".

 

PEC

PEC training works the same way as with the handcontroller. Guide on a star, engage PEC training and the firmware will wait for the mount pass the worm indexer and then records the resulting speeds in the EEPROM of the motor microcontroller. When it has finished (worm indexer) it toggles a status bit and you can see in the INDI Control panel the status of PEC training becoming green (whereas it remains busy/yellow while training).

PEC/PEC training is enabled in INDI EQMod for mounts which supports it, EQ8, AZEQ5/6, EQ6R too apparently. It is a motor controller firmware feature, the INDI driver just sends the corresponding commands to start/stop PEC/PEC training and do not then bother about it. Please note that the firmware PEC+guiding may not be a good idea as the firmware changes the motor speed unconditionnally, so some guide commands may be lost.

Horizon Limits

For horizon limit just slew to the points along the horizon you want to set and hit the Add current button. The order of points is significant as Horizon uses a linear approximation between them. When you have finished hit the Write File button (saved in ~/.indi/HorizonData.txt which you can manually edit also).

Driver Name
EQMod Mount
Driver Executable
indi_eqmod_telescope
Family
Telescopes
Manufacturer
Various
Platforms
Linux, BSD, OSX
Author
Jean-Luc Levaire
Version
0.6