×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Information Required: Celestron GEM mount Auxiliary driver

Connecting directly using which cable and which port?
1 year 2 months ago #89972

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 2
USB from StellarMate to USB port on top of the mount.
1 year 1 month ago #89989

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 1
I had the same issues as Tim, trying to connect my CGEM-II via the NexStar hand controller/USB.
StellarMate OS 1.7.5
[2023-03-29T18:26:39.926 PDT DEBG ][           org.kde.kstars.ekos] - Connecting  "CGEM II Wired"
[2023-03-29T18:26:39.927 PDT INFO ][           org.kde.kstars.ekos] - "Connecting INDI devices..."
[2023-03-29T18:26:39.943 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Communicating with mount motor controllers... "
[2023-03-29T18:26:39.943 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <     GET_VER>  APP ->  AZM "
[2023-03-29T18:26:39.949 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <3B 03 20 10 FE CF> "
[2023-03-29T18:26:39.949 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] aux_tty_read: 3 "
 
[2023-03-29T18:26:40.932 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[ERROR] Timeout error "
[2023-03-29T18:26:40.933 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[ERROR] Got no response from target ALT or AZM. "
[2023-03-29T18:26:40.935 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[ERROR] Cannot continue without connection to motor controllers. "
[2023-03-29T18:26:40.935 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Handshake failed. "

However, I could connect to it via the CGEM-II Wifi...
[2023-03-29T18:19:48.201 PDT DEBG ][           org.kde.kstars.indi] - < CGEM II WiFi >: < Firmware Info >
[2023-03-29T18:19:48.216 PDT INFO ][           org.kde.kstars.indi] - CGEM II WiFi :  "[INFO] Mount is parked. "
[2023-03-29T18:19:48.217 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[DEBUG] InitPark Axis1 0.00 Axis2 0.00 "
[2023-03-29T18:19:48.217 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[DEBUG] Setting Default Park Axis1 to 4194304.00 "
[2023-03-29T18:19:48.217 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[DEBUG] Setting Default Park Axis2 to 4194304.00 "
[2023-03-29T18:19:48.257 PDT INFO ][           org.kde.kstars.indi] - CGEM II WiFi :  "[INFO] Loading device configuration... "
[2023-03-29T18:19:48.259 PDT INFO ][           org.kde.kstars.indi] - CGEM II WiFi :  "[INFO] Debug is disabled. "
[2023-03-29T18:19:48.260 PDT INFO ][           org.kde.kstars.ekos] - "Re-enabling debug logging for CGEM II WiFi..."
<<skipping location-specific information>>
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CAUX] CMD <MC_GET_POSITION>  APP ->  AZM "
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CSER] CMD <3B 03 20 10 01 CC> "
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CSER] RES <3B 06 10 20 01 00 00 05 C4> "
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CAUX] RES <MC_GET_POSITION>  AZM ->  APP [00 00 05] "
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CAUX] CMD <MC_GET_POSITION>  APP ->  ALT "
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CSER] CMD <3B 03 20 11 01 CB> "
[2023-03-29T18:19:48.719 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CSER] RES <3B 06 11 20 01 FF FF FB CF> "
[2023-03-29T18:19:48.720 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[CAUX] RES <MC_GET_POSITION>  ALT ->  APP [FF FF FB] "
[2023-03-29T18:19:48.720 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[DEBUG] Encoder [Axis1: 5 --> LST:  5:49:34 HA: -12:00:00 RA: 17:49:34] [Axis2: 16777211 --> DE: -0:00:00] "
[2023-03-29T18:19:48.721 PDT DEBG ][           org.kde.kstars.indi] - CGEM II WiFi : "[ALIGNMENT] Mount -> Sky RA: 17:49:34 DE: -0:00:00 AZ:  0:00:16 AL: -50:34:04 HA: -8:16:14 Pier: PIER_EAST "
11 months 4 weeks ago #91557

Please Log in or Create an account to join the conversation.

  • Posts: 96
  • Thank you received: 25
Can you double-check your serial settings? My AVX is connected like this:

Port: ttyUSB0
Baud: 9600
Type: USB/HC

11 months 4 weeks ago #91558
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 1
There it is...
Baud Rate was set to 19200
And the PortType was set to AUX/PC instead of USB/HC.
[2023-03-29T19:02:10.806 PDT INFO ][           org.kde.kstars.ekos] - Connecting to "CGEM II Wired"
[2023-03-29T19:02:11.019 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Connecting to /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0 @ 9600 "
[2023-03-29T19:02:11.255 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Port FD 3 "
[2023-03-29T19:02:11.255 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Connection successful, attempting handshake... "
[2023-03-29T19:02:11.255 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] CAUX: connect 3 (serial) "
[2023-03-29T19:02:11.282 PDT DEBG ][           org.kde.kstars.ekos] - Connecting  "CGEM II Wired"
[2023-03-29T19:02:11.282 PDT INFO ][           org.kde.kstars.ekos] - "Connecting INDI devices..."
[2023-03-29T19:02:11.304 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] Setting serial speed to 9600 baud. "
[2023-03-29T19:02:11.307 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <56> "
[2023-03-29T19:02:11.307 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] aux_tty_read: 3 "
[2023-03-29T19:02:11.307 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] Detected Hand Controller (v5.34) serial connection. "
[2023-03-29T19:02:11.307 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Communicating with mount motor controllers... "
[2023-03-29T19:02:11.308 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <     GET_VER>  APP ->  AZM "
[2023-03-29T19:02:11.315 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 10 FE 00 00 00 04> "
[2023-03-29T19:02:11.315 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] RES (9 B): <3B 05 10 20 FE 06 32 00 00> "
[2023-03-29T19:02:11.315 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] Got 5 bytes:  ; payload length field: 48 ; MSG: "
[2023-03-29T19:02:11.315 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] [30 30 00 00 FE 06 32] "
[2023-03-29T19:02:11.316 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] RES <     GET_VER>  AZM ->  APP [06 32 00 00] "
[2023-03-29T19:02:11.316 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <     GET_VER>  APP ->  ALT "
[2023-03-29T19:02:11.317 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 11 FE 00 00 00 04> "
[2023-03-29T19:02:11.317 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] RES (9 B): <3B 05 11 20 FE 06 32 00 00> "
[2023-03-29T19:02:11.318 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] Got 5 bytes:  ; payload length field: 48 ; MSG: "
[2023-03-29T19:02:11.318 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] [30 30 00 00 FE 06 32] "
[2023-03-29T19:02:11.318 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] RES <     GET_VER>  ALT ->  APP [06 32 00 00] "
[2023-03-29T19:02:11.320 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] Got response from target ALT or AZM. "
[2023-03-29T19:02:11.321 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Connection ready. Starting Processing. "
[2023-03-29T19:02:11.321 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <MC_GET_AUTOGUIDE_RATE>  APP ->  AZM "
[2023-03-29T19:02:11.329 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 10 47 00 00 00 01> "
[2023-03-29T19:02:11.330 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] RES (6 B): <3B 02 10 20 47 80> "
[2023-03-29T19:02:11.330 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] Got 2 bytes:  ; payload length field: 2 ; MSG: "
[2023-03-29T19:02:11.335 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] [3B 02 10 20] "
[2023-03-29T19:02:11.335 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] RES <MC_GET_AUTOGUIDE_RATE>  AZM ->  APP [80] "
[2023-03-29T19:02:11.335 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <MC_GET_AUTOGUIDE_RATE>  APP ->  ALT "
[2023-03-29T19:02:11.336 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 11 47 00 00 00 01> "
[2023-03-29T19:02:11.336 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] RES (6 B): <3B 02 11 20 47 80> "
[2023-03-29T19:02:11.336 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] Got 2 bytes:  ; payload length field: 2 ; MSG: "
[2023-03-29T19:02:11.336 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] [3B 02 11 20] "
[2023-03-29T19:02:11.336 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] RES <MC_GET_AUTOGUIDE_RATE>  ALT ->  APP [80] "
[2023-03-29T19:02:11.337 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] CGEM II Wired is online. "
[2023-03-29T19:02:11.337 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Configuration successfully saved for DEVICE_PORT. "
[2023-03-29T19:02:11.337 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Configuration successfully saved for DEVICE_BAUD_RATE. "
 
[2023-03-29T19:02:14.190 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <     GET_VER>  APP ->  BAT "
[2023-03-29T19:02:14.240 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 B6 FE 00 00 00 04> "
[2023-03-29T19:02:15.242 PDT DEBG ][           org.kde.kstars.indi] - < CGEM II Wired >: < Firmware Info >
[2023-03-29T19:02:15.260 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] InitPark: No Park data in file /home/stellarmate/.indi/ParkData.xml: No park data found for this device "
[2023-03-29T19:02:15.262 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] Mount is unparked. "
[2023-03-29T19:02:15.262 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Setting Park Axis1 to 4194304.00 "
[2023-03-29T19:02:15.262 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Setting Park Axis2 to 4194304.00 "
[2023-03-29T19:02:15.263 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Setting Default Park Axis1 to 4194304.00 "
[2023-03-29T19:02:15.263 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Setting Default Park Axis2 to 4194304.00 "
[2023-03-29T19:02:15.263 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <MC_GET_POSITION>  APP ->  AZM "
[2023-03-29T19:02:15.298 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 10 01 00 00 00 03> "
[2023-03-29T19:02:15.553 PDT INFO ][           org.kde.kstars.ekos] - "CGEM II Wired is online."
[2023-03-29T19:02:15.555 PDT INFO ][           org.kde.kstars.ekos] - "Guider port from CGEM II Wired is ready."
[2023-03-29T19:02:15.967 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[ERROR] Resp. char 4 is 00 ascii  "
[2023-03-29T19:02:15.968 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[ERROR] RES <7C FF 37 89 55 00 00 00> "
[2023-03-29T19:02:15.969 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CAUX] CMD <MC_GET_POSITION>  APP ->  ALT "
[2023-03-29T19:02:16.015 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[CSER] CMD <50 01 11 01 00 00 00 03> "
[2023-03-29T19:02:17.018 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[DEBUG] Encoder [Axis1: 0 --> LST:  6:32:09 HA: -12:00:00 RA: 18:32:09] [Axis2: 0 --> DE:  0:00:00] "
[2023-03-29T19:02:17.025 PDT DEBG ][           org.kde.kstars.indi] - CGEM II Wired : "[ALIGNMENT] Mount -> Sky RA: 18:32:09 DE:  0:00:00 AZ:  0:00:16 AL: -50:34:04 HA: -8:57:03 Pier: PIER_EAST "
[2023-03-29T19:02:17.077 PDT INFO ][           org.kde.kstars.indi] - CGEM II Wired :  "[INFO] Loading device configuration... "


...let me know if you need more
Last edit: 11 months 4 weeks ago by Rob.
11 months 4 weeks ago #91559

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69
I did set "last alignment" on the HC before starting Ekos and had some difficulty getting the driver selected properly, but the "CGX Wired" driver option make it much easier than previous attempts.
The driver seems to be working (in daylight), so if there are outstanding issues, I haven't yet encountered them

Hopefully, my log is attached. (I did slew around a bit after connecting).
11 months 3 weeks ago #91561
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69
So after a number of days of attempting to use the Celestron AUX driver, it's not working for my CGX mount connected via the PC port. I've tried it with/without the handset connected.

The 1st issue is that the driver assumes that the mount is in the index position when starting. This requires I align / polar align the mount (via the hand set) and then power the mount off / on and choose last alignment, to be able to get to the index position. I don't see a more reliable way of doing this. It would be better (for me) if it interrogated the mount where it was pointing (as it's likely still pointing at my polar alignment star).

The 2nd issue is that regardless of where I slew the mount, the Mount tab always reports East (pointing West), even after the mount has obviously just done a meridian flip in reaching the target. If I turn on the "Flip if HA > x" checkbox, then it repeatedly tries to do a meridian flip (while not actually doing anything at the mount).

These may easily be setup/configuration errors on my part, but that is not obvious. If I switch back to using the HC usb interface with the Celestron CGX driver then neither of these issues exist.

Sorry to post this right after a stable release, but it's not critical as there is a working alternative.
Cheers
11 months 3 weeks ago #91729

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30
send the log.

●Environment
Mount: AVX
AUX connection: Self-made USB serial, self-made WIFI connection (both connected to HC terminal)
Hand controller: Not connected.

As I reported before, I think that the reference point of the home position differs by 90 degrees between the fork equatorial mount and the German equatorial mount.
I think that it is highly likely that you will get different results if you connect directly to the hand controller. (because the hand controller has alignment information)

Result of connecting
・Self-made USB serial → connection not possible
・Homemade WIFI connection → connection

Homebrew USB serial can be used in Windows, but INDI does not recognize it. (also same as before)
Last edit: 11 months 3 weeks ago by T-Studio.
11 months 3 weeks ago #91753
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30
RPI4 (32-bit OS), so it may not be the latest update.
11 months 3 weeks ago #91756

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30
www.cloudynights.com/topic/812944-homebr...aux-port/?p=12330652

Cloudy night provided valuable information on connecting a homemade USB adapter.

It looks like I need to force RTS/CTS and rewrite cpp to connect.

It seems that a setting item that uses RTS/CTS is required to connect directly to AUX.
Last edit: 11 months 3 weeks ago by T-Studio.
11 months 3 weeks ago #91765

Please Log in or Create an account to join the conversation.

  • Posts: 111
  • Thank you received: 41
So far I can see, the DIY cable currently works only when connecting to USB/HC (19200) but not AUX/PC.
I also built a DIY AUX USB Relay MCU cable: USB ⇆ Nexstar AUX Relay for Celestron Mounts
By means of the cable I was able to sniff all the AUX bus commication between e.g. HC and MC for an AVX mount, it is documented in issue:
Celestron AUX driver remote control without HC #745

Based on the sniffed information, the idea was to completely omit the HC by sending the same AUX packets from AUX driver to MC
as the HC is sending. See PR: Fix sendingWithoutHC 0x40 0xc0 and logging (#758)

Cheers
Thomas
11 months 3 weeks ago #91767

Please Log in or Create an account to join the conversation.

  • Posts: 447
  • Thank you received: 30
Thank you for information.

What I created seems to work on Windows, but INDI doesn't seem to connect without forcing RTSCTS.


I will check the information on the link you provided.

thank you.
11 months 3 weeks ago #91770

Please Log in or Create an account to join the conversation.

Time to create page: 0.588 seconds