Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

AZ-EQ6 controller pcb schematic

  • Please log in to reply
33 replies to this topic

#1 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 04 August 2022 - 07:33 PM

My Saxon AZ-EQ6 has just failed. It wont work driving the motors with the hand controller of the ASIAIR PLus. The red LED is flashing all the time.

 

Does anyone have a schematic for this board...mine has the USB connector. The mount is not 3 years old but I bought it secondhand and its been working fine until last night just wen I finally got my 8 inch SCT all setup with EAF and OAG etc..that OAG is a nightmare to egt setup too...so its all finally just right and then the mount dies :(

 

I am a electronic tech so repairing it doesnt phase me. I see there are replacement boards available around the world but am trying to find out if there are any here in Australia today

 

A schematic and wiring diagram would be a great start though. The Saxon is the same as the Skywatcher..same factory except it is black instead of white

 

Mark

 



#2 RobKen

RobKen

    Lift Off

  • -----
  • Posts: 9
  • Joined: 23 Nov 2015
  • Loc: Armidale, New South Wales

Posted 04 August 2022 - 07:50 PM

The skywatcher manual has a circuit diagram but not sure if this is applicable -Page 17

https://www.skywatch...16/12/AZEQ6.pdf

 

Good Luck in troubleshooting.



#3 Tangent

Tangent

    Viking 1

  • *****
  • Posts: 518
  • Joined: 24 Feb 2021
  • Loc: Texas

Posted 04 August 2022 - 08:00 PM

Looks to be the same as a Synta mount, they go by Skywatcher and Orion in this part of the world.  I have never come across a schematic of one of them, but a lot of the motor control boards have a common fault in either a coil or protection diode on the board, which should come up on a search here, and you can also join the EQ6 group on groups.io and poke around there as well.  Should be an easy fix if you have the ability to repair a board. 



#4 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 04 August 2022 - 08:10 PM

Gday Mark

The schematics were made available for the old EQ8 board ( that used PICS and large components )

but the AZEQ5 swapped to an ARM processor and lots of tiny SMD components

and uses 2 boards.

I dont know of any schematics ever being made available for the AZEQ5.

 

Andrew Johansen Melbourne Australia



#5 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 04 August 2022 - 08:23 PM

Thanks for the quick replys...The skywatcher manual only shows the handcontrol and autoguide port wiring. I am after a schematic for the main pcb and mine is the one with USB on it. I have searched the web a lot last night and this morning and not a schematic to be found...a few pictures of the board. Also would be nice to get a wiring diagram from all the other internal parts to the main pcb. The red LED just flashes so to me that would most likely be a comms failure in the unit. maybe powersupply to that part of the circuit. I will most likely just get a replacement main board but it would be good to repair the original to at least have a spare. I have only owned the mount for 8 months and it was about 12 months old when I bought it. After I went through and did some adjustments to it the guiding is excellent from what I have seen of others on youtube. Most of my guiding has been between 0.35 and 0.5 accuracy so very happy but it wasnt like that when I got it. 

I will continue to see if I can get a schematic as this will make life much easier but I can of course fault find without it but it is very time consuming.

 

Mark



#6 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 04 August 2022 - 08:41 PM

Gday Mark

A flashing LED on booting is normally a sign of low input voltage.

 

The LED is controlled by the ARM chip, so it proves it is partly working.

If you are a tech, whack the mount onto a good bench supply and see

what current it draws.

It needs to be above about 12.2V to stop the LED but it likes 13.8- 14V

They use an internal boost circuit on the boards to allow a stepup

for the motor supply, and if that drags down the input voltage

you will get the blinking.

As to comms, there are 2 tests

1) Direct USB to mount

The mount has an internal prolific USBtoTTL converter preset to `115k

Device mangler should see it, and if the mount is powered,

there are several apps that can be used to try and connect.

1) Handset port

The Handset can connect to a PC via a USB2rs232 converter

and then ( via PCDirect mode ) to the mount

Otherwise, you can use a USB2TTL converter with an RJ45 plug ( correctly wired )

to plug directly into the handset port on the mount ( Google EQDir cable )

Very easy to make.

This connects at 9600baud and the apps listed above can also try to detect the card

Apps are

EQMod, GreenSwamp, ( both are ASCOM hubs that connect direct to the mount )

Synta has an app that can direct connect to replace the Hbx but i have never used it

I have a test app ( No ASCOM required ) that is standalone and allows all sorts of testing including connecting

 

Andrew Johansen Melbourne Australia



#7 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 04 August 2022 - 09:28 PM

Thanks Andrew...that is the perfect info I want. Gives me a starting point.....I was just out driving thinking about this and I have gone to a different supply to the mount. A battery box but it will be about 12.2 to 12.3 volts..this is maybe why I am getting the flashing LED but the mount wouldnt move at all so most likely it is a voltage issue. I will check it out..thanks again for the great info. I got a price from the Saxon guys in melbourne for a replacement pcb and its a quite reasonable price so I may just get it to keep as a spare anyway.

 

You know a lot about these mounts Andrew..do you service them or just have a good tech interest in them?

 

Mark



#8 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 04 August 2022 - 09:48 PM

Gday Mark

You know a lot about these mounts Andrew..do you service them or just have a good tech interest in them?

I bought the first one in Oz via the Melb Bintel shop.

I couldnt get some stuff to work so i applied myself to learning how the comms worked etc

so i could debug it.

I then worked with the developers of EQMod and GreenSwamp on writing the driver interfaces

so have picked up lots of info on the way. All this is related to the published comms interface

and how to test using it,  it doesnt cover the PCB and how it works. ( I am a mug there lol.gif )

One user managed to get schematics for an EQ8 he was trying to fix,

so we knew how the basic boost circuitry worked on the older mounts

but we are still guessing for some of the newer mounts.

 

Andrew Johansen Melbourne Australia



#9 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 04 August 2022 - 10:42 PM

Thats excellent Andrew.

 

I have done some more fault finding since I got home. The voltage is a issue for sure. I used a bettery for the first time last night and didnt give a thought to the difference between it and a power supplyas the specs say 11V is the lowest. I wanted to just be a standalocne rather than run a lead out to the scope buggy that everything is on. So ran up the mount on my power supply at 13.8v and yes the LED is now steady but as soon as I plug the hand controller in the LED flashes and I cant control the mount with it. I will get my asiair plus out and try it on that and see if it still controls the mount. I think it may do and maybe there is a issue with the comms from the hand control or the input is crook from the hand control.

 

Your info has helped a great deal I appreciate it.

 

I ordered another main pcb from Saxon it will be here next week so that will help sort some of this out as well

 

Any info I find I will post here so it helps everyone

 

Mark



#10 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 04 August 2022 - 11:00 PM

Gday Mark

What is the current limit of yr lab supply??

What current does it draw ???

ie if plugging in the handset caused the LED to blink,

and you are using a lab power supply,

that indicates a pretty heavy current draw in order to pull the voltage down.

ie it might be a problem in the Hbx

 

I will get my asiair plus out and try it on that and see if it still controls the mount.

Do you have a windoze PC ????

If so, my test app

https://gss.groups.i...aTester3906.zip

can connect directly at 115k using the inbuilt USB.

Thats about as low level as you can get.

( Its a totally standalone exe that uses low level windows apis.

No installer, no registry, no need for dot net or ASCOM and uses simple ini files )

So start the mount without the handset

If the LED stays solid on, try connecting my app

If it does connect, you can replicate slewing gotos etc to see what happens.

 

Andrew Johansen Melbourne Australia



#11 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 04 August 2022 - 11:48 PM

Hi Andrew..tried my ASIAIR and its a no go so seems there is a issue. 

I went to that link but it takes me to the group..I am waiting on approval from the group. I do have a windoze laptop here although I use Mac but always needed a Win pc for programming radios and other stuff that isnt Mac

 

My supply is capable of 20amps and have plenty of others around here.

I ran a radio comms sales and service business for 30 years doing commercial,ham and CB also satellite telephone service and design and development for Optus on their satellite phone stuff. I was over it after that amount of time and dealing with the ATO and employees so I sold the business about 6 years ago. I now work for a mate doing all the hardware design and development for a product we manufacture here in OZ but I dont do the software. I bought a friend in to do that he is a genius with the software writing he does for us and makes my harware sing and reliable.

 

The new pcb will be here next week so it should get it going again and I can work on the other board. I have steppers here and some encoders and other stuff as I have a couple of CNC machines here and also used to import CNC and also repair other CNC machines as well so can setup a test jig for the board to fault find it.



#12 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 04 August 2022 - 11:51 PM

I missed a question you asked

 

Without the handset in the LED is solid now with the power supply. as soon as I plug the handset in the LED flashes where the USB connector is in or not

 

Mark



#13 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 05 August 2022 - 12:35 AM

Gday Mark
 

My supply is capable of 20amps

OK, that is heaps, a lot are only rated to 3A

Did you see the current draw change when plugging in the handset????

 

I went to that link but it takes me to the group..I am waiting on approval from the group.

OK, try this one ( its my private stash :-)  )

http://members.optus...aTester3906.zip

The handset uses totally different circuitry to the USB ports

so if its only the handset ( or its traces on board ) that are dead

you might still be able to make contact

Ensure the USB is plugged in before you start my app as i only

check for available ports on starting my app, it has no "hot plug" functions

 

Andrew Johansen Melbourne Australia



#14 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 12:43 AM

Thanks for the link...I have dloaded it now.

I have to head out for a while to grab some stuff I will look at it when I get back a bit later. Thanks a lot for your help it is very much appreciated

 

Mark



#15 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 05 August 2022 - 02:06 AM

Gday Mark

Just another thought ( after some red and cheese grin.gif  )

On booting without a handset,  the motorcard doesnt initialise the motors

it starts its CPU and waits for instructions.

With a handset, connected, the handset does a bit of questioning as to card type etc

and then tells the card to initialise its motors. ( This doesnt involve a move, just energising )

My app will also detect and read the status of the mount,  and initialise the motors if required.

Soooooooooooooo, if you use my app,

start the mount as per normal and the LED should stay solid on, as the cards get no commands.

Connect my app. It will replicate the Hbx and send an energise command.

If the LED starts blinking, ( and the current goes up ),

it might indicate a fault in one of the motors or its driver chip ????

 

Andrew Johansen Melbourne Australia



#16 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 05:35 AM

Hi Andrew

 

Powered up with nothing connected the pcb draws 66ma. so no issue there..I got your software working and connected to the board. I have downloaded the log file. You would know more than me about it. The software looks really great. I will pull the head off the mount and bring it into my workshop so I can reconnect the baord to the encoders and motors

 

Here is the log files

I cant find a way to attach the file so will just cut and paste it..hope that is ok

 

0000.044  User                    00000000  SyntaTester.exe  Ver: 2.
                                            39.0.6   Created 30/0
                                            3/2022 11:18:12 AM
0000.044  User                    00000000  Time := 20:22:03:917
0000.045  User                    00000000  Log Cleared for COM5
0000.076  User                    00000000  Port set to : COM5
0006.161  Dispatch  WriteCom      00000004  :e1[0D]
0006.163  Dispatch  ReadCom       00000001  =
0006.163  Dispatch  ReadCom       00000007  030722[0D]
0006.163  User                    00000000  []Az  Get Card Versio
                                            n       
                                                   Mount
                                             = x22 "AZEQ6-MC015"
                                            card = 03.07
0006.164  Dispatch  WriteCom      00000004  :e2[0D]
0006.165  Dispatch  ReadCom       00000001  =
0006.166  Dispatch  ReadCom       00000007  030722[0D]
0006.167  User                    00000000  []Alt Get Card Version
                                                   
                                                   Mount
                                             = x22 "AZEQ6-MC015"
                                            card = 03.07
0006.167  Dispatch  WriteCom      00000004  :b1[0D]
0006.168  Dispatch  ReadCom       00000001  =
0006.169  Dispatch  ReadCom       00000007  0024F4[0D]
0006.170  User                    00000000  []Az  Get Timer Inter
                                            rupt freq    
                                                16000000
0006.170  Dispatch  WriteCom      00000004  :b2[0D]
0006.171  Dispatch  ReadCom       00000001  =
0006.172  Dispatch  ReadCom       00000007  0024F4[0D]
0006.172  User                    00000000  []Alt Get Timer Interrup
                                            t freq     
                                               16000000
0006.173  Dispatch  WriteCom      00000004  :a1[0D]
0006.174  Dispatch  ReadCom       00000001  =
0006.175  Dispatch  ReadCom       00000007  00A08C[0D]
0006.176  User                    00000000  []Az  Get Microsteps
                                            per 360deg    
                                                9216000
0006.176  Dispatch  WriteCom      00000004  :a2[0D]
0006.178  Dispatch  ReadCom       00000001  =
0006.178  Dispatch  ReadCom       00000007  00A08C[0D]
0006.179  User                    00000000  []Alt Get Microsteps per
                                             360deg    
                                                9216000
0006.179  Dispatch  WriteCom      00000004  :s1[0D]
0006.180  Dispatch  ReadCom       00000001  =
0006.181  Dispatch  ReadCom       00000007  00C800[0D]
0006.182  User                    00000000  []Az  Get Microsteps
                                            per Worm    
                                                    5
                                            1200
0006.182  Dispatch  WriteCom      00000004  :s2[0D]
0006.183  Dispatch  ReadCom       00000001  =
0006.184  Dispatch  ReadCom       00000007  00C800[0D]
0006.185  User                    00000000  []Alt Get Microsteps per
                                             Worm     
                                                   51200
0006.185  Dispatch  WriteCom      00000004  :g1[0D]
0006.186  Dispatch  ReadCom       00000001  =
0006.187  Dispatch  ReadCom       00000003  01[0D]
0006.188  User                    00000000  []Az  Get HiSpeed mul
                                            tiplier     
                                                   
                                                1
0006.188  Dispatch  WriteCom      00000004  :g2[0D]
0006.189  Dispatch  ReadCom       00000001  =
0006.190  Dispatch  ReadCom       00000003  01[0D]
0006.191  User                    00000000  []Alt Get HiSpeed multip
                                            lier      
                                                   
                                               1
0006.191  Dispatch  WriteCom      00000004  :f1[0D]
0006.192  Dispatch  ReadCom       00000001  =
0006.193  Dispatch  ReadCom       00000004  100[0D]
0006.193  User                    00000000  []Az  Get Current Mot
                                            or Status    
                                              ',LoRate,+ve,Slew #
                                             Stopped,Clear # Not
                                            Initialised,LevOff
0006.194  Dispatch  WriteCom      00000004  :f2[0D]
0006.195  Dispatch  ReadCom       00000001  =
0006.196  Dispatch  ReadCom       00000004  100[0D]
0006.196  User                    00000000  []Alt Get Current Motor
                                             Status    
                                              ',LoRate,+ve,Slew #
                                             Stopped,Clear # Not
                                            Initialised,LevOff
0006.197  Dispatch  WriteCom      0000000A  :q1010000[0D]
0006.198  Dispatch  ReadCom       00000001  =
0006.199  Dispatch  ReadCom       00000006  0B7000
0006.200  Dispatch  ReadCom       00000001  [0D]
0006.200  User                    00000000  []Az  Get System stat
                                            us      
                                                   'AZ/E
                                            Q,,PPEC,Encs #  ,1/2
                                            current,slew independent,LED
                                             #  ,,,
0006.200  Dispatch  WriteCom      0000000A  :q2010000[0D]
0006.202  Dispatch  ReadCom       00000001  =
0006.203  Dispatch  ReadCom       00000007  0B7000[0D]
0006.203  User                    00000000  []Alt Get System status
                                                   
                                                  'AZ/EQ,,P
                                            PEC,Encs #  ,1/2 curr
                                            ent,slew independent,LED #
                                              ,,,
0006.204  User                    00000000  Az needs initialise. Chk
                                             datums
0006.204  Dispatch  WriteCom      00000004  :j1[0D]
0006.205  Dispatch  ReadCom       00000001  =
0006.206  Dispatch  ReadCom       00000007  000080[0D]
0006.206  User                    00000000  []Az  Get Current Pos
                                            ition      
                                                   83886
                                            08  +000d00m00s
0006.207  Dispatch  WriteCom      00000004  :d1[0D]
0006.208  Dispatch  ReadCom       00000001  =
0006.209  Dispatch  ReadCom       00000007  000080[0D]
0006.209  User                    00000000  []Az  Get Current Enc
                                            oder count    
                                                8388608  0
0006.210  Dispatch  WriteCom      0000000A  :W1050000[0D]
0006.211  Dispatch  ReadCom       00000001  =
0006.212  Dispatch  ReadCom       00000001  [0D]
0006.212  User                    00000000  []Az  Turn Encoder OF
                                            F       
                                                  
0006.213  Dispatch  WriteCom      00000004  :F1[0D]
0006.213  Dispatch  ReadCom       00000001  =
0006.214  Dispatch  ReadCom       00000001  [0D]
0006.215  User                    00000000  []Az  Initialise 
                                                   
                                                   
                                              
0006.215  User                    00000000  Alt needs initialise. Ch
                                            k Datums
0006.215  Dispatch  WriteCom      00000004  :j2[0D]
0006.216  Dispatch  ReadCom       00000001  =
0006.217  Dispatch  ReadCom       00000007  000080[0D]
0006.217  User                    00000000  []Alt Get Current Positi
                                            on      
                                                   83886
                                            08  +000d00m00s
0006.217  Dispatch  WriteCom      00000004  :d2[0D]
0006.219  Dispatch  ReadCom       00000001  =
0006.220  Dispatch  ReadCom       00000007  000080[0D]
0006.220  User                    00000000  []Alt Get Current Encode
                                            r count    
                                                8388608  0
0006.220  Dispatch  WriteCom      0000000A  :W2050000[0D]
0006.222  Dispatch  ReadCom       00000001  =
0006.223  Dispatch  ReadCom       00000001  [0D]
0006.223  User                    00000000  []Alt Turn Encoder OFF
                                                   
                                                  
0006.223  Dispatch  WriteCom      00000004  :F2[0D]
0006.225  Dispatch  ReadCom       00000001  =
0006.226  Dispatch  ReadCom       00000001  [0D]
0006.226  User                    00000000  []Alt Initialise  
                                                   
                                                   
                                             
0006.227  Dispatch  WriteCom      00000004  :j1[0D]
0006.228  Dispatch  ReadCom       00000001  =
0006.229  Dispatch  ReadCom       00000007  000080[0D]
0006.230  User                    00000000  []Az  Get Current Pos
                                            ition      
                                                   83886
                                            08  +000d00m00s
0006.230  Dispatch  WriteCom      00000004  :j2[0D]
0006.231  Dispatch  ReadCom       00000001  =
0006.232  Dispatch  ReadCom       00000006  000080
0006.233  Dispatch  ReadCom       00000001  [0D]
0006.233  User                    00000000  []Alt Get Current Positi
                                            on      
                                                   83886
                                            08  +000d00m00s
0006.234  Dispatch  WriteCom      00000004  :d1[0D]
0006.235  Dispatch  ReadCom       00000001  =
0006.236  Dispatch  ReadCom       00000007  000080[0D]
0006.236  User                    00000000  []Az  Get Current Enc
                                            oder count    
                                                8388608  0
0006.236  Dispatch  WriteCom      00000004  :d2[0D]
0006.237  Dispatch  ReadCom       00000001  =
0006.238  Dispatch  ReadCom       00000001  0
0006.239  Dispatch  ReadCom       00000006  00080[0D]
0006.239  User                    00000000  []Alt Get Current Encode
                                            r count    
                                                8388608  0
0006.240  Dispatch  WriteCom      00000004  :c1[0D]
0006.241  Dispatch  ReadCom       00000001  =
0006.242  Dispatch  ReadCom       00000007  000000[0D]
0006.242  User                    00000000  []Az  Get Current :U
                                             value     
                                                   
                                                  0 
                                            +000d00m00s
0006.242  Dispatch  WriteCom      00000004  :c2[0D]
0006.244  Dispatch  ReadCom       00000001  =
0006.245  Dispatch  ReadCom       00000007  000000[0D]
0006.245  User                    00000000  []Alt Get Current :U
                                            value      
                                                   
                                                 0  +000
                                            d00m00s
0006.246  Dispatch  WriteCom      00000004  :h1[0D]
0006.247  Dispatch  ReadCom       00000001  =
0006.248  Dispatch  ReadCom       00000007  000080[0D]
0006.248  User                    00000000  []Az  Get Target for
                                             goto     
                                                   
                                             8388608  +000d00m00s
0006.249  Dispatch  WriteCom      00000004  :h2[0D]
0006.250  Dispatch  ReadCom       00000001  =
0006.251  Dispatch  ReadCom       00000007  000080[0D]
0006.251  User                    00000000  []Alt Get Target for
                                            goto      
                                                    8
                                            388608  +000d00m00s
0006.252  Dispatch  WriteCom      00000004  :i1[0D]
0006.252  Dispatch  ReadCom       00000001  =
0006.253  Dispatch  ReadCom       00000001  5
0006.254  Dispatch  ReadCom       00000006  84802[0D]
0006.255  User                    00000000  []Az  Get Current Sle
                                            w speed    
                                                    1
                                            49592   ( 15.040911
                                             or  15.041 arcsec/se
                                            c)
0006.255  Dispatch  WriteCom      00000004  :i2[0D]
0006.256  Dispatch  ReadCom       00000001  =
0006.257  Dispatch  ReadCom       00000007  584802[0D]
0006.258  User                    00000000  []Alt Get Current Slew
                                             speed     
                                                   14959
                                            2   ( 15.040911 or
                                              15.041 arcsec/sec)
0006.258  Dispatch  WriteCom      00000004  :m1[0D]
0006.259  Dispatch  ReadCom       00000001  =
0006.260  Dispatch  ReadCom       00000007  000080[0D]
0006.260  User                    00000000  []Az  Get Current :M
                                             offset    
                                                    8
                                            388608
0006.261  Dispatch  WriteCom      00000004  :m2[0D]
0006.261  Dispatch  ReadCom       00000001  =
0006.262  Dispatch  ReadCom       00000001  0
0006.263  Dispatch  ReadCom       00000006  00080[0D]
0006.263  User                    00000000  []Alt Get Current :M
                                            offset     
                                                   83886
                                            08
0006.264  Dispatch  WriteCom      00000004  :D1[0D]
0006.265  Dispatch  ReadCom       00000001  =
0006.266  Dispatch  ReadCom       00000007  584802[0D]
0006.266  User                    00000000  []Az  Get :I used
                                            for sidereal   
                                                   14959
                                            2
0006.266  Dispatch  WriteCom      00000004  :D2[0D]
0006.267  Dispatch  ReadCom       00000001  =
0006.268  Dispatch  ReadCom       00000002  58
0006.269  Dispatch  ReadCom       00000005  4802[0D]
0006.269  User                    00000000  []Alt Get :I used for
                                             sidereal    
                                                  149592
0006.269  User                    00000000  Az  Sidereal   15.
                                            0410671787 :I = 149590.4
                                            49486
0006.269  User                    00000000  Alt Sidereal   15.041
                                            0671787 :I = 149590.4494
                                            86
0006.271  Dispatch  WriteCom      00000004  :j1[0D]
0006.273  Dispatch  ReadCom       00000001  =
0006.274  Dispatch  ReadCom       00000007  000080[0D]
0006.274  User                    00000000  []Az  Get Current Pos
                                            ition      
                                                   83886
                                            08  +000d00m00s
0006.278  Dispatch  WriteCom      00000004  :j2[0D]
0006.279  Dispatch  ReadCom       00000001  =
0006.280  Dispatch  ReadCom       00000007  000080[0D]
0006.280  User                    00000000  []Alt Get Current Positi
                                            on      
                                                   83886
                                            08  +000d00m00s



#17 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 06:03 AM

I have the mount connected now..is there a way for me to see the direct encoder position?..In the move window I cant get it to move or see encoder position change in the log.

This is a pretty comprehensive program you ahve written. I just dont know how to use it yet :)

 

I did get some sounds out of it but no movement. its like the board isnt seeing the encoder data on anything. the USB connection obviously works though. Funny though now I have the mount connected the LED is flashing without the mount connected it doesnt flash. When I was getting it alive I was drawing about 240ma total from the supply. God I wish I had a circuit !

 

Mark



#18 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 06:13 AM

Ok think I have worked out how to upload some pictures..

I am pretty sure I have the RA and Deck motors correct but there is a 3 wire lead that comes from the RA side..it goes near the worm. I am pretty sure it goes to the RA worm connector but not sure as it popped off when I opened the unit. Do you know if this is correct?...you can see the 2 encoder inputs they are the 4 wire ones and next to it I have the other 3 wire...I thought maybe it was on one of the connectors in the other row but on a video I found of a guy in russia...and russian language it lookedd like it was in the position I have placed it

 

 

IMG 0945
IMG 0944

Edited by Mark Kyle, 05 August 2022 - 06:17 AM.


#19 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 05 August 2022 - 06:38 AM

Gday Mark

I cant find a way to attach the file so will just cut and paste it..hope that is ok

To attach files, just use the "More reply Options" function

That said, i can read the data and it is perfectly normal, ie the CPU is working and responding

in a proper manner via the USB port.

If you have a USB2TTL cable and can knock up an RJ45 plug with the Tx/Rx/Gnd set to match

the port pinout, you can test to see if it works. That will show if the comms is OK

 

is there a way for me to see the direct encoder position?

Yes, but the encoder is a toy here, and ( IIRC ) i turn it off on connecting

The main thing to look for is the running microstep count, as that is what is used to control position.

 

On the "PEC" tab on the left side panel there are several pre designed tests that

allow you to test slewing and gotos etc

but you can also use the "Move" tab to do quicky tests.

Using the "Goto" or "Slew" mode tests, you can start a slew or goto

and if the "Plot" <axis> box is checked, the app will plot the microstep data over time.

You need to read the include "How she works" as i never got round to doing a detailed help file.

This app works at the lowest level possible, so you can do anything, and writing instructions for that

isnt always easy :-)

That said, if you can connect and using the "Slew Mode" buttons doesnt start the axis slewing

then something is wrong.

Andrew Johansen Melbourne Australia



#20 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 05 August 2022 - 06:54 AM

Just checked, i do turn the encoder off on connecting my app, as its more pain than useful

We can test that if you want, but based on the motor not moving, its a later test.

I note your motor card firmware is a long way out of date,

but not sure if that would cause what you are seeing.

We need to find out what caused the LED to blink,

as that will lead to the root of the problem

 

Andrew Johansen Melbourne Australia

 

re the pins and headers, it looks like you have an MC015 board, can you confirm that???

If so i can get a piccy of the connectors for you



#21 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 06:57 AM

There was no included file other than the exe in the zip

 

I cant seem to get it to move at all..definately a issue with it.

 

I will ahve to wait until I get the new pcb then I can see a few things.  Thanks for your help once again

 

Mark



#22 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 07:04 AM

Yes the 015 board and a pic of the 3 wire connector and where I have it
 
 
 
 
IMG 0947
IMG 0946


#23 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 05 August 2022 - 08:17 AM

Gday Mark

There was no included file other than the exe in the zip

OK, the try the attached

 

Re the connectors, i am playing with an MC015 rev E board for my EQ6Pro

but the connectors are stencilled as to what each header is for.

My mount doesnt have encoders or worm sensors so cant help with positions

but none of that should cause the motors to not work.

Can you try unplugging the motors and then seeing if you can slew etc.

The mount should update its microstep count ( the :j values ) even if a motor is not connected.

If that happens, we know the main CPU is sending commands and the drive hardware

isnt carrying it out

 

Andrew Johansen Melbourne Australia

Attached File  How She Runs.txt   21.66KB   45 downloads

 

 



#24 Mark Kyle

Mark Kyle

    Lift Off

  • -----
  • topic starter
  • Posts: 19
  • Joined: 17 Oct 2021

Posted 05 August 2022 - 10:52 PM

Hi Andrew

 

Ok got some sense out of the program now with your help file. I have proved the encoders work on the DEC and RA so thats a good start. The issue seems to be maybe with the motor drives on both. I will go through a few more of the tests this arvo when I get some more time. 



#25 OzAndrewJ

OzAndrewJ

    Cosmos

  • *****
  • Posts: 9,247
  • Joined: 30 Nov 2010

Posted 05 August 2022 - 11:41 PM

Gday Mark

 

got some sense out of the program now with your help file

I really should update it some day, but the app was designed as an ultra low level test app

that would be used "dynamically" by people who have a fair bit of experience.

The other inbuilt scripts are just for general testing of capabilities, not so much low level diagnostics.

 

I have proved the encoders work on the DEC and RA so thats a good start.

How did you do that ????

The mount returns its master "position" data via the :j commands

and these update if a microstep "request" is sent, ( not if it is processed )

The encoder is a very coarse unit ( one quadrature tick is 1450 microsteps )

and returns data via the laugh.gif commands

When ON, if the axes moves too far, the system resets the :j data to suit.

Soooo, if you have encoders ON and manually declutch and slew, and the laugh.gif data changes

( as well as the :j data ) then the encoders are working.

If you note the reported :j data, then lock the clutch and slew using the slew controls,

even if the mount doesnt move, if the :j data changes, then the CPU is "requesting" the move

and the problem is in the motor driver or the motor.

Another way to test visually is go to the "Move" tab

At the top, check the "Plot" "Az" and "Alt" boxes

Under Slew Mode,  Uncheck the "Hi Speed" box and set the ":I" to say 152992

( It should show a rate of about 1x sidereal )

Select the "Plots" tab on the right

Now hit the "Az +ve" button, wait say 5 secs and hit the "Az Stop"

Now hit the "Alt +ve" button, wait say 5 secs and hit the "Alt Stop"

This will start both axes tracking at the given rates and plot the :j position data

and you should get a plot like attached

If you did get a slope to each trace, it means the CPU "thinks" it is sending

microsteps to the motors

 

Andrew Johansen Melbourne Australia

 

PS, at any time you can use the "Convert Log"

This will turn the log into a human readbale form in a floating dialog

so you can look at it whilst other stuff is still going on.

 

TrackTest.jpg




CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics