¿ªÔÆÌåÓý

Re: Serial connection to G2


 

¿ªÔÆÌåÓý

Here¡¯s the Diagnostics which seem (to me) to suggest the coms is sort of working but (for example):

16:57:14.953 Serial wait for response? TID:11 [0]: :GA

16:57:14.964 Serial received:????????? TID:11 [0]: :GA, +52.125278

16:57:14.964 Serial wait for response? TID:11 [0]: :GZ

16:57:14.973 Serial received:????????? TID:11 [0]: :GZ, 360.000000

16:57:14.973 Serial wait for response? TID:11 [0]: :Gv

16:57:14.973 Serial received:????????? TID:11 [0]: :Gv, T

16:57:14.973 UpdatePolledVariables???? TID:11 [Exit]

16:57:14.973 UpdatePolledVariables5??? TID:11 [Exit] True

16:57:14.973 Transmitting commands???? TID:11 [2]: :Sc10/25/24#

16:57:14.973 Serial Transmit?????????? TID:11 [0]: :Sc10/25/24#

16:57:14.973 Done transmitting???????? TID:11 [2]:

16:57:14.973 Serial wait for response? TID:11 [0]: :Sc10/25/24

16:57:26.047 Exception???????????????? TID:11 [Error]: System.TimeoutException: ReadTo[0D][0A]?? at ASCOM.GeminiTelescope.GeminiHardwareBase.ReadTo(Char terminate) in C:\Users\ypa\Documents\Ascom.Gemini.Telescope\GeminiTelescope\Connection.cs:line 961[0D][0A]?? at ASCOM.GeminiTelescope.GeminiHardwareBase.GetCommandResultSerial(CommandItem command, Boolean bResyncOnError, Boolean& bReturn) in C:\Users\ypa\Documents\Ascom.Gemini.Telescope\GeminiTelescope\Connection.cs:line 741

so, things aren¡¯t quite right in the State of Denmark ?

?

David

?

From: [email protected] <[email protected]> On Behalf Of David C. Partridge
Sent: 25 October 2024 16:32
To: [email protected]
Subject: [Gemini-II_io] Serial connection to G2

?

I haven¡¯t tried to use the serial port on the G2 I have so it¡¯s possible that it¡¯s broken as the G2 wasn¡¯t new when Tanya sent it to me for developing the Servo firmware.

?

Here¡¯s what I had with my G1? (with serial port modified to supply 5V on pin 1)

?

?????????????? Bluetooth??????????? G1

?????????????? 1 ????????????????????????????????????????? NC

?????????????? 2???????????? ->?????????? 1???????????? 5V

?????????????? 3???????????? ->?????????? 2???????????? GND

??????? TX? 4 ??????????? ->?????????? 3???????????? RX

??????? RX? 5???????????? ->?????????? 4???????????? TX

?????????????? 6?????????????????????????????????????????? NC

?

I made up a new lead to connect to the G2

?

?????????????? Bluetooth??????????? G2

?????????????? 1 ????????????????????????????????????????? NC

?????????????? 2???????????? ->?????????? 1???????????? 5V

?????????????? 3???????????? ->?????????? 3???????????? GND

??????? TX? 4 ??????????? ->?????????? 2???????????? RX

??????? RX? 5???????????? ->?????????? 5???????????? TX

?????????????? 6?????????????????????????????????????????? NC

?

Which I am pretty sure is correct (please tell me if I¡¯ve got it wrong ¨C it would be easy to do).

I¡¯ve checked the cable for continuity

?

Baud rate is set to 9600 in Gemini.net and the lead is plugged into the Serial/GPS port on the G2.

The web pages tell me that is also set to 9600 (unlike the HC port which is set to 57600).

?

Gemini.net says connected, and then times out and gives up after a couple of attempts.

?

Have goofed this up or?

?

Cheers, David

?

Join [email protected] to automatically receive all group messages.