Astrofriend's homepage

www.astrofriend.eu
Share: Twitter Reddit Facebook Gmail Gmail Email
Search Astrofriend's homepage:

Valid CSS!

All pages shall now have been validated

Info Cookies (Kakor) / GDPR

Navigation

Advertisement /
Annons:

Twitter @AstrofriendLars

Follow Astrofriend

Tutorial News

Advertisement / Annons:

Project:
HEQ5 as portable mount


Contents:

  1. Introduction
  2. EQDIRECT from D-sub to RJ45
  3. Power terminal of HEQ5 changed
  4. Installing the 300 mm lens on HEQ5
  5. Rewiring the electric cables
  6. Connecting the Raspberry
  7. Setup GPSD
  8. Setup GPS NMEA
  9. Power consumption
  10. Battery power cables
  11. Tweaking auto guiding parameters
  12. Rowan Belt Modification Kit
  13. Making the tripod to a low rider
  14. Redesign of mount head details
  15. Raspberry Pi4 bracket
  16. Brackets: temperature sensor, spirit level and stepper motor
  17. Transport box
  18. EQDirect cable
  19. Brackets reinforced and adapt it to EQ6
  20. Cut the length of the GPS cable
  21. HEQ5 and TS130 refractor ?
  22. To be continued

Related projects:

  1. HEQ5 as portable mount
  2. Pentax 645 300 mm ED IF f/4 lens
  3. KStars / EKOS and Raspberry Pi4

Note:
I take no responsibility or liability for what are written here, you use the information on your own risk!


6: Connecting the Raspberry

With all cables in place and the Raspberry installed on the dovetail I can continue testing the new system. Cannot be so difficult because already with the first test it looks to work almost perfect, or ?

The Raspberry has the Astroberry software installed. How I did that you can follow here: Raspberry Pi4 setup.

Site for Astroberry:


Power up the Raspberry:

Already when starting up Ekos and KStars I got some signs that something is wrong with the connection to the mount. It disconnect after a couple of minutes and says that the port is already occupied by another device.

I asked at the INDI forum for advices, I got the answer I must first sort out what devices "steal" the address and give this collision between the devices. From my friend I got the tips to unplug all USB devices and then connecting them one by one to let them get unique addresses. I did that and got they ordered like this:

  • Command: lsusb
  • Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub, internal USB HUB
  • Bus 001 Device 021: ID 0781:5567 SanDisk Corp. Cruzer Blade, USB memory
  • Bus 001 Device 020: ID 04a9:3250 Canon, Inc. EOS 6D
  • Bus 001 Device 019: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC, EQDIRECT Cable (Mount)
  • Bus 001 Device 017: ID 0461:0033 Primax Electronics, Ltd, USB-Focus
  • Bus 001 Device 016: ID 16c0:296d Van Ooijen Technische Informatica, QHY5 guide camera
  • Bus 001 Device 014: ID 0bda:5411 Realtek Semiconductor Corp. external USB HUB
  • Bus 001 Device 013: ID 0bda:5411 Realtek Semiconductor Corp. external USB HUB
  • Bus 001 Device 012: ID 0bda:5411 Realtek Semiconductor Corp. external USB HUB
  • Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub, internal USB HUB
  • Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub, internal USB HUB

I didn't work after this either. I get the same warnings as earlier:

  • Indi Control Panel log list:
  • 2021-04-17T00:02:16: [WARNING] Port /dev/ttyACM0 is already used by another driver or process.
  • 2021-04-17T00:01:33: [INFO] Trying connecting to /dev/ttyACM0 @ 9600 ...
  • 2021-04-17T00:01:32: [INFO] EQMod Mount is offline.
  • 2021-04-17T00:01:32: [ERROR] Error: Communication failed -> tty read failed, check connection: Timeout error
  • 2021-04-17T00:01:17: [INFO] Trying connecting to /dev/ttyUSB0 @ 9600 ...
  • 2021-04-17T00:01:16: [WARNING] Port /dev/ttyACM0 is already used by another driver or process.
  • 2021-04-17T00:01:13: [INFO] Trying connecting to /dev/ttyACM0 @ 9600 ...
  • 2021-04-17T00:01:12: [WARNING] Communication with /dev/ttyUSB0 @ 9600 failed. Starting Auto Search...
  • 2021-04-17T00:01:12: [INFO] EQMod Mount is offline.
  • 2021-04-17T00:01:12: [ERROR] Error: Communication failed -> tty read failed, check connection: Timeout error
  • 2021-04-17T00:00:56: [WARNING] Port /dev/ttyACM0 is already used by another driver or process.

This is very strange, because when I tested it a couples of days ago it all looks to work so well. Nothing has been changed. I did some more test, I tested with only the EQDirect cable connected to Raspberry but not to the mount. It behaved the same. This cable is one of the new I bought because the old with the PL2303 chip caused so much trouble in the Window system. I did a new test with the other cable of the same construction but with the DSub connector. Same problem. Then I got the idea, why not test with the older PL2303 based cable that caused so much trouble in the Window system. Yes, now all alarms is gone, but this old cable have the DSub connector and the EQ6 isn't here, only HEQ5  with its RJ45 connector.

Now I at least got some ideas what's wrong. Can it be the driver in the Linux system that doesn't match the EQDirect hardware ? More questions to ask at the forum.


There was another problem too. When I did the polar align it sometimes got it totally wrong. After a closer look I saw it had changed the location to Warsaw in Poland, but I live in Sweden. I activated the GPSD in virtual mode. And changed the location according to these instructions:

Astroberry server instructions:

This isn't easy to understand for a Windows guy. But the Raspberry based system is so appealing that I can't resist to use it.


Making an adapter, Dsub 9-pol to RJ45:

Making an adapter, Dsub 9-pol to RJ45

To do a test with the EQDirect cable of PL2303 standard I must have an RJ45 connector on the cable. I don't want to cut the cable, I do an adapter instead, then I can easily switch between the two different standards. The adapter is from Dsub 9-pol male connector to the RJ45 connector which the HEQ5 mount has.


Making an adapter, Dsub 9-pol to RJ45

Isolate and keep the four left over cables for the future.


Making an adapter, Dsub 9-pol to RJ45

How it looks, the female connector fit the EQDirect cable's male Dsub an the RJ45 the HEQ5 mount. Now I can do a new test and see if I get it to connect properly. The long time goal is to have the more modern EQDirect cable with the FTDI chip.

Test with the old EQDirect PL2303 cable:

With this old cable that doesn't work very well with Windows behave different in Linux and Astroberry. Now the mount connects as it should and I got all functions to work except GPSD.

I can do:
Control the Canon 6D camera
Control the HEQ5 mount
Control the QHY5 guide camera
Do plate solving
Do auto focus with USB-Focus

Can not do:
Connect to GPS through GPSD
Polar align with built in Legacy Polar Alignment.

I must solve how to get the GPS and polar align, with out it it will be difficult to use the Astroberry system. When I'm using the system from home office Astroberry sets the clock through the internet system at home. The position is taken from a table in Astroberry.

Go Back to content

Go Back
To page VII

Advertisement / Annons: