×

INDI Library v1.9.1 Released (26 Jun 2021)

Bi-monthly INDI Library v1.9.1 is released bringing a few new drivers and improvements to existing drivers.

Cannot connect to 2m Scopedome / Arduino

  • Posts: 23
  • Thank you received: 0
Dear jpaana,
thank you very much!!!
Next evening I will try to do this.
I will send
indi_getprop
to port 7624
then I hope to get the desired information.
I will t4ransform these data into DomeAzimut and send this value to the dome via my tested shell scripts.
This was the help which is so important.
Best regards
Frank
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 3 weeks ago #59720

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

  • Posts: 23
  • Thank you received: 0
Dear jpaana,

sorry for asking an additional question.
Have a look to the screen copy please:

* I did a test without open dome.
* I started ekos and the INDI server locally.
* Then I set a connection to the INDI server via netcat utility.
* I entered indi_getprop
* nothing happened
* I cut the connection via EKOS button on the right window
* I started the connection via EKOS button on the right window - and got the following result, but no coordinates :-(

What is wrong in my doing?

Best regards

Frank
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 3 weeks ago #59725
Attachments:

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

  • Posts: 23
  • Thank you received: 0
Thank you for the scopedome.com/Doc/ScopeDomeArduinoCard/S...Arduino_Info_5.2.pdf documentation link. I haven't read this but many others.m It seems to be better than the Polish original ;-)
I will accept your offer of doing the basic implementation blind, and I can do BetaTesting for you.
---
And I hope to bridge the time with the indi_getprop command method, if I will find the reason for blocking up to disconnect/connect of the EQ8
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 3 weeks ago #59737

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

  • Posts: 360
  • Thank you received: 132
Oh, I meant shell command called indi_getprop which comes with INDI, it would do all the parsing for you and you can also give it just a subset of the properties to return.
Remote observatory running Ubuntu 20.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You: Dr. Frank Fleischmann
10 months 3 weeks ago #59787

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

  • Posts: 23
  • Thank you received: 0
Dear jpaana,
now it's working. The dome is tracking the telescope.
Unfortunately the shutter controller died :-( But there is a manual emergency button for opening and closing the shutter without software.
Let me send a small astronomical gift to you.
Can I get your postal address for the small parcel please?
Best regards
Frank
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 3 weeks ago #59806

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

  • Posts: 360
  • Thank you received: 132
Good to hear about tracking working, sorry about the shutter controller... I'm currently also waiting for a new PCB for my controller, so I know the feeling.
Remote observatory running Ubuntu 20.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You: Dr. Frank Fleischmann
10 months 3 weeks ago #59815

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

  • Posts: 360
  • Thank you received: 132
Got Windows driver source from ScopeDome so I can check some details from there, but the basic operation seems to be quite similar to the old card so should be fairly straight forward. I started the implementation with some restructuring and placeholders copied from old card code. I will probably implement USB connection first as that's simpler, but adding ethernet support after that should be quick. It requires HTTP so I'll probably use curl library for that as it's used by some other INDI drivers as well.
Remote observatory running Ubuntu 20.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You: Jasem Mutlaq
10 months 2 weeks ago #60075

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

  • Posts: 23
  • Thank you received: 0
Dear jpaana,

curl is workling well.
Have a look to my ZIP some posts above.
Unfortunately commands are not blocking until finishing the job. So you have to check limit switches or something else additionally.

ClearSkies

Frank

PS.: 2 day ago I brought a small parcel to the post office ;-) I hope you like the content.
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 2 weeks ago #60121

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

  • Posts: 360
  • Thank you received: 132
It's actually better that they are non-blocking as things like abort wouldn't work very well otherwise. The older USB card works the same way, for example opening the shutter is just turning on a relay and the driver polls input status until the open limit switch triggers and turns the relay off. The hardware also stops the motors automatically when limits are reached. Currently the driver polls status every second by default, I wonder if that's too fast for the HTTP server in the Arduino as the driver source says the device should respond within 1-9s, but we'll see when you get to test it :)

PS: thanks, looking forward to that :)
Remote observatory running Ubuntu 20.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
10 months 2 weeks ago #60123

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

  • Posts: 23
  • Thank you received: 0
I noticed that the Arduino boards hangs up if you send commands too fast. Or if you press CNTRL-C while curl is still running.
Perhaps Arduino is limited to one or two html request(s) at the same time. Or it it not doing right garbage collection if there is a timeout or brake in protocol processing.
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 2 weeks ago #60137

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

  • Posts: 360
  • Thank you received: 132
ScopeDome also promised to send me a card to test with next week so that should help a lot in initial bring up. Can't test stuff that requires a dome but at least basic communications and other simple things. Just need to get coding :)
Remote observatory running Ubuntu 20.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
10 months 2 weeks ago #60151

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

  • Posts: 23
  • Thank you received: 0
Great news! I can do beta testing for you. And you can connect to the my astroberry if you want to check your software in reality.
Last night we did PolarAlignment. But we will need next night additionally.
ScopeDome is moving automatically via my own driver, which is using the coordinates out of indi_getprop and transformed to ScopeDome-Azimut.
But it's only a provisional. So camera isn't waiting until end of movement and so on.

I hope to find the bug why the ScopeDome shutter stopped working (only emergency buttons are active). I don't have a Windows PC, but the Polish Manufacturer wants one with TeamViewer for debugging.
Name: Frank Fleischmann
Interests: nature, technics, astronomy, optics, space
Developments: motor control, sensors, networking, radio detectors astronomy, cameras for spacecrafts
Using: 3m Baader dome, 2m ScopDome, GM4000, EQ8, and homebrewed ones, echelle spectrograph and ... INDI
10 months 2 weeks ago #60162

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

Time to create page: 2.145 seconds