×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

DIY motorised roll-off observatory roof - what INDI driver?

  • Posts: 41
  • Thank you received: 4
Hi universalmaster,
I'm trying to use Dome Dcripting Gateway driver to control my roll off roof.
I wrote a python script that use the on board Rpi Bluetoooth to send an open/close command to an ArduinoNano board connected to my motor controller. If I execute this script, is a Python 3 script by the way (to import and use Bluetooth library) in the console works fine, but when I tried to use the same script in "unpark.py" to execute via Dome Scripting Gateway it didn't work.
What I'm doing wrong? Any idea?
Thanks

Andres
3 years 6 months ago #59897

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

  • Posts: 34
  • Thank you received: 0
Hello
Please excuse my ignorance.
I have reached to your GITHub page for the package.
I have managed to upload the code to an Arduino Uno R3. Changed the code to suit inputs and outputs.
Could you please explain how I install the Indi driver on to Kstars/Ekos on a MacOS.
Which of the files are associated with the driver and how to I get them on my MacOS to get it to show up on Ekos?
Thanks
Krish
2 years 5 months ago #76990

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

  • Posts: 311
  • Thank you received: 42
Krish,
Which package are you trying? If it is the one I referenced it as only been used on linux machines that I know of. Being source files the instructions are for a linux build and install, patterned on what was seen in the third party drivers. Unfortunately I don't have experience MAC systems. It will require being familiar with MAC builds to get something that is able to be installed. Perhaps one of the script oriented packages might be more approachable?

Tom
Edit I ordered a basic mac, will see what is involved once KStars is installed.
Last edit: 2 years 5 months ago by wotalota. Reason: status update
2 years 5 months ago #76999

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

  • Posts: 34
  • Thank you received: 0
I am open to try any of them. It is still in a trial period.
I will keep trying on my side.
You or someone else will probably find or show us the way before I do.
Thanks for your information.
2 years 5 months ago #77033

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

  • Posts: 249
  • Thank you received: 62
hi Andres,
I had to configure a roof with dome scripting gateway some weeks ago and ran in similar issues.
Did you set the folder containing the scripts as relative path? try to enter the full path.
And if you have any includes in the script itself, check the paths.
Check if it's not executed as a python2 script .

ferrante

PS: just saw that your post is more than one year old. Guess my suggestion came too late...
The following user(s) said Thank You: Andres Rossi
Last edit: 2 years 4 months ago by Ferrante Enriques.
2 years 4 months ago #77036

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

  • Posts: 34
  • Thank you received: 0
There is an Arduino Roof as a driver option available from any of the the Aux drop down selections.
Is this currently only for non Mac Kstars/Ekos use?
What hardware will this connect to when used?
Thanks
2 years 4 months ago #77106
Attachments:

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

2 years 4 months ago #77110

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

  • Posts: 34
  • Thank you received: 0
Hello Jasem
Thanks for the link. I did take a look at Tom’s page: github.com/wotalota/indi-rolloffino.git
I am not a code writer as such don’t know the differences between the different platforms.
Do you know if I will be able to use the driver codes on Tom’s page on a MacOS or will the code be different for making a driver for MacOS?
Thanks
Krish
2 years 4 months ago #77119

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

Should be the same for Linux & MacOS.
2 years 4 months ago #77120

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

  • Posts: 34
  • Thank you received: 0
Hello Jasem & Tom
Thanks I think I may have installed the driver "RollOff ino" on one of my Macs or I a seeing it because I may have installed it on StellarMate(RPi). The Mac has KStars 3.5.5, not sure if the driver come with that version of KStars. 
However I get this message "Available as Remote Driver. To use locally, install the corresponding driver." I have attached a screenshot.
Any idea what I may have missed?
Thanks
Krish
2 years 4 months ago #77122
Attachments:

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

  • Posts: 34
  • Thank you received: 0
Some additional information that may help.
When I try to connect to the Arduino I it does not connect. I have tried various port options.
I tried the Talon6 driver. There seems to be a connection as the Observatory module does have the necessary control buttons and information but it does not actually control or read anything on the Arduino. I even tried what I think it the Aduino Sketch for the Talon6 hardware.
Thanks 
 
2 years 4 months ago #77123

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

  • Posts: 311
  • Thank you received: 42
Krish,

Perhaps you can describe what you are running and where. Do you have KStars/Ekos on a MacOS connecting to a remote Raspberry Pi, or MacOS. Or will everything run on a single Mac? Also confirm what you have installed on the Arduino, if it is code you modified from one of the rolloffino examples can you locate its version number in the code? The usual reason for connection problem is matching the Arduino default baud rate for the rolloffino of 38400 in the driver's INDI setup tab.

I think the Talon6 driver is intended to support specific roof hardware. It would be helpful I think to settle on one particular approach and hardware configuration at a time. Perhaps a specific thread for that approach.

The script based approach seems like it should be the easiest route. The rolloffino will be integrated but a downside is it needs to be built. Because it is not integral to INDI as Ekos versions change it will from time to time require a rebuild.

If you are going to be running a distributed configuration with Ekos on Mac and indiserver on Rpi I assume we would need to build the executable driver on the pi and do the Ekos setup on the MacOS.

The few I have worked with have first operated the Arduino using a breadboard or with the motor disconnected from the roof to test that the relay and limit switches properly controlled the selected motor.
2 years 4 months ago #77135

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

Time to create page: 1.038 seconds