The purpose of this project is to connect a telescope to a computer through the mount guide port (ST-4 port) using an arduino. This is similar to GPUSB.
The ST-4 Port is present on some computerized mounts and it is easy to add one to motorized mounts like the EQ3 / EQ4 / EQ5. Refer to this for other mounts modifications.
Building your own ST-4 adapter costs less than available commercial solutions (~6 USD) and on the top of providing autoguiding, the custom driver also has a working GOTO functionality.
Autoguiding and GOTO are supported, this allows the telescope to be used for astrophotography using PHD or for finding objects in the sky with a software like stellarium or cartes du ciel.
GOTO will require a good polar alignment in order to have acceptable accuracy.
The slewing speed will be limited by the mount maximal speed.
The project has 3 main components:
The hardware is built from off the shelf cheap components, you can buy them from ebay:
The connection between the components is as below:
Be careful not to invert GND with some other pins.
Please note that some mounts may have a different pinout for ST-4.
My first version looked like this (quick and dirty solders, very fragile!):
It is also possible to avoid buying the RJ12 cable and the connector by soldering the optocoupler directly to the mount controler.
Once the hardware is built, you have to upload the code to the arduino.
At this point, you should be able to send commands to the arduino through the serial monitor of the IDE and to test if you can control you telescope axes (bitrate is 57.6k, if you see garbled output, you might want to check this).
Accepted commands are:
Command | Action |
---|---|
CONNECT# | Stop all the moves and light up the arduino LED |
RA+# | Start moving right ascension axis towards upper position |
RA-# | Start moving right ascension axis towards lower position |
RA0# | Stop moving right ascension axis |
DEC+# | Start moving declination axis towards upper position |
DEC-# | Start moving declination axis towards lower position |
DEC0# | Stop moving declination axis |
DISCONNECT# | Stop all the moves and shut down the arduino LED |
The arduino should respond "OK#" to all the commands above. The commands should all end with #.
If the telescope is not behaving as expected, check your connections, you may have inverted some cables.
First, please check that the ASCOM platform v6.0 (or higher) is installed on your computer.
Then download and run the installer: https://github.com/kevinferrare/arduino-st4/releases/download/1.0/ArduinoST4.Setup.exe
If you couldn't find it, there was a problem with the driver installation.
The default settings work fine for my EQ5 mount with the speed switch on the 8X position.
Please note that RA+ and RA- value is not 8, this is because of the earth rotation. Your mount may compensate for this or not.
Everything plugged in:
Video of the telescope slewing:
Autoguiding should work just fine.
GOTO will be slow, going from andromeda to the pleiades takes 20 minutes with 8X speed. When searching for an object, it is faster to point the telescope to a known position that is close and to slew from there.
If the polar alignment is good, GOTO will be precise enough. Most of the times, the object is right in the center of the eyepiece :)
Stellarium does not support ASCOM out of the box, it is thus necessary to install an ASCOM<->Stellarium bridge like Stellariumscope.
Thanks to Stephan for implementing a basic indi driver that can do autoguiding.
This project is licensed under the GNU LGPL v3