×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Pegasus Focuscube has timeout errors

  • Posts: 126
  • Thank you received: 16
I've run into problems with my Pegasus Focuscube.
I can connect to it from Ekos (Windows, Indi on Rock64), but all I get is timeout errors after connecting. The focuser may get a temperature reading, but other than that it's completely unresponsive.
Here's my setup:
Ekos on Windows (I have also tried Ekos locally)
Indi on a Rock64 (arm64) with Ubuntu 16.04
I use the nightly build for indi: 1.7.5 from nov 18
I also have an eqmod mount connected, but I have tried without the mount (only focuser) without any difference.
The usb cable is connected directly to the sbc, no hubs used.
Symbolic names for the usb ports: /dev/focus for the focuser and /dev/telescope for the mount
The mount connects fine when I use this symbolic name in Ekos, but the focuser doesn't. It needs the proper ttyUSB name (/dev/ttyUSB0 on my latest try), and no port scanning. Any other setting and it won't connect.
Under these settings the focuscube will connect (although it may take 2 tries)
After that I only get GetFocusParams timeout errors.

Does anybody have a sollution for this? Is it a timing problem somewhere?
I tried to set the baudrate to anything other than the standard 19200 b/s, but that won't let me connect at all.
Btw, when I check the device with indi_getprop two things can happen:
1. when the mount is also connected (and simulator ccd), the focuser doesn't even show up in the properties list
2. when only the focuser is connected, this is (some of) the listing

Pegasus DMFC.CONNECTION.CONNECT=Off
Pegasus DMFC.CONNECTION.DISCONNECT=On
Pegasus DMFC.DRIVER_INFO.DRIVER_NAME=Pegasus DMFC
Pegasus DMFC.DRIVER_INFO.DRIVER_EXEC=indi_dmfc_focus
Pegasus DMFC.DRIVER_INFO.DRIVER_VERSION=1.0
Pegasus DMFC.DRIVER_INFO.DRIVER_INTERFACE=8
Pegasus DMFC.DEBUG.ENABLE=On
Pegasus DMFC.DEBUG.DISABLE=Off
Pegasus DMFC.POLLING_PERIOD.PERIOD_MS=500
...
Pegasus DMFC.CONNECTION_MODE.CONNECTION_SERIAL=On
Pegasus DMFC.CONNECTION_MODE.CONNECTION_TCP=Off
Pegasus DMFC.DEVICE_PORT.PORT=/dev/ttyUSB0
Pegasus DMFC.DEVICE_BAUD_RATE.9600=Off
Pegasus DMFC.DEVICE_BAUD_RATE.19200=On
Pegasus DMFC.DEVICE_BAUD_RATE.38400=Off
Pegasus DMFC.DEVICE_BAUD_RATE.57600=Off
Pegasus DMFC.DEVICE_BAUD_RATE.115200=Off
Pegasus DMFC.DEVICE_BAUD_RATE.230400=Off
Pegasus DMFC.DEVICE_AUTO_SEARCH.ENABLED=On
Pegasus DMFC.DEVICE_AUTO_SEARCH.DISABLED=Off
Pegasus DMFC.DEVICE_PORT_SCAN.Scan Ports=Off
Pegasus DMFC.SYSTEM_PORTS./dev/ttyUSB0=Off
Pegasus DMFC.SYSTEM_PORTS./dev/ttyUSB1=Off

Any help would be appreciated
5 years 4 months ago #31739

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

  • Posts: 1067
  • Thank you received: 140
I think it may be to do with the “Id” of the device not being accepted by the driver, as the driver was written for a certain ID and the new focus cubes have different ones, this happened with the new Pegasus UPB driver and had to be altered, I had those same issues with the first version of the UPB driver, then Peter changed it, by getting a list of all the current used “id’s” used from Pegasus.
Not sure if I have used the correct terminology here, but you get the idea... :)
5 years 4 months ago #31744

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

  • Posts: 126
  • Thank you received: 16
Yes, I've seen that list. But my cube actually has the device number 6015, and I use this for the symbolic link (/dev/focus).
Unfortunately the driver that Peter wrote is for the upb. The focus cube is supposed to be supported by the newest production indi library (indi_dmfc_focus). Also, my cube connects, and does get som data over sometimes, but then it just keeps timing out.
I checked if it could be a power problem, so I replaced my power box (Meanwell 12 V power supply with enough amps) with an AC adapter. Also replaced the usb cable, in case that was faulty. No luck.
When I first tested the focuscube, it worked. But then it suddenly stopped. The only thing different that I can think of is that I updated the nightly build.
Anyway, I have uninstalled the nightly build, and reverted to the latest stable build, since that has focuscube support. Now I just need to check if this works. Will do that tomorrow.
I also have a Raspberry Pi lying around, which uses armhf. Will see tomorrow if that works. Otherwise I'm completely out of options.
In the mean time, I've also contacted Pegasus Astro. Maybe they have a sollution.

Cheers,
Last edit: 5 years 4 months ago by Wim van Berlo.
5 years 4 months ago #31746

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

  • Posts: 1067
  • Thank you received: 140
Hmmmm, not sure then.. :)
5 years 4 months ago #31761

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

  • Posts: 1067
  • Thank you received: 140
Just a thought, but have you tried the indigo driver at that may be better...the UPB driver is actually an indigo driver...I have just installed the whole of indigo package, and am going to give it a try with my kit.
github.com/indigo-astronomy/indigo/blob/...cuser_dmfc/README.md
Last edit: 5 years 4 months ago by AstroNerd.
5 years 4 months ago #31764

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

  • Posts: 71
  • Thank you received: 2
i tried my new focuscube with the DMFC and i had the same issues but i also noticed that when i manage to connect my dmfc the motor had an absurd amount of max steps and my EQMOD mount would stop tracking unless i completely remove the dmfc from the profile. Has anybody found any solution?
HEQ5 Pro Rowan Belt Mod, GSO RC8'', SW ED80, Atik 383L+, Atik EFW2, Atik OAG, SX Lodestar, ZWO ASI 120MC
5 years 4 months ago #31888

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

  • Posts: 126
  • Thank you received: 16
You need to make sure that there can be no port conflict between your mount and the cube. Both have an ftdi usb serial chip.
Here's what I did
indilib.org/forum/focusers-filter-wheels...just-a-heads-up.html
It allows you to connect both eqmod and focuscube.
5 years 4 months ago #31889

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

  • Posts: 71
  • Thank you received: 2
i tried using your other thread but i had no luck
HEQ5 Pro Rowan Belt Mod, GSO RC8'', SW ED80, Atik 383L+, Atik EFW2, Atik OAG, SX Lodestar, ZWO ASI 120MC
5 years 4 months ago #31899

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

  • Posts: 126
  • Thank you received: 16
In the ekos controlpanel where you connect to indi, in the connection tab, you need to enter the port as /dev/focus (or whatever you called it). Then disable port scanning, and save the configuration. (Options tab, I believe. I'm not at my computer right now.)
5 years 4 months ago #31900

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

  • Posts: 71
  • Thank you received: 2
i got it working. The issue was that i was using my usb hub without power. Let me explain. I use a 5v usb hub and recently i purchased a 12v usb hub. Now at the power distribution box i made for the RPi and the hub i installed a dc-dc converter in order to have a stable 12v supply for my new hub while i was waiting for it to arrive by mail and i thought to use my current 5v d-link hub without power, what could go wrong? Well pretty much a wasted night and a lot of frustration. Once i powered my 5v d-link hub with 5v everything connected fine. The dmfc speed is at 9600 with auto detect the ports at both the mount and the focuser and i have no timeouts, the focuser ticks are not an absurd number and the mount tracks and moves as it should.
HEQ5 Pro Rowan Belt Mod, GSO RC8'', SW ED80, Atik 383L+, Atik EFW2, Atik OAG, SX Lodestar, ZWO ASI 120MC
5 years 4 months ago #31902

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

  • Posts: 126
  • Thank you received: 16
That's one option I haven't really tried yet: connecting through a powered hub. I was hoping to avoid that; one more power connection needed.
When I connect to a raspberry pi, I get fewer timeouts than with a rock64. Also a speed of 19200 works. More testing.
5 years 4 months ago #31906

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

  • Posts: 126
  • Thank you received: 16
Tonight I took the telescope inside and removed the focuser. I then tested it with INDI, and it suddenly worked.
Now I've reattached it and it still works. I don't know exactly what happened, but my guess is that the focuser wasn't connected properly and the stepper motor had to work too hard, drawing current. This then caused the voltage to drop enough for the FTDI chip to stop working properly. I've had issues before with a too low voltage causing communication errors, so this is my best guess.
Hopefully it will also work outside in my obsy.

The configuration that works:
Rock64 with Ubuntu 16.04
INDI 1.7.5 stable release
Clients: Ekos/Kstars on Rock64 and on Windows, PixInsight INDI client on Windows
(no USB hub)
5 years 4 months ago #31988

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

Time to create page: 0.539 seconds