Many thanks to everyone for updating Kstars and EKOS. Today I spent a night session using the scheduler and remote control:
Thank you so much, everything worked out! I figured out how to write drivers and how INDI interacts with Arduino thanks to you! I wrote my own firmware for Arduino, because the algorithm of the roof is slightly different for me. Now, one of these days I will install the telescope parking sensors, limit switches for the roof position and I will install all of this. The main thing is that now everyone is working. Thank! When I finish, I'll post the photos and show the result.
Thank you so much! I think this is exactly what I needed. I will need to study and try for several days, then I will write about the result. Thank!
Thank you very much for your reply!
Yes, I made a roof drive using a gearbox and a stepper motor. Now the roof is controlled by a remote control.
I wrote a program on Arduino + Ethernet W5100 + 2 relays. This program creates a web server where there are two buttons, they control the relays, which in turn close the contacts of the roof drive and the roof closes / opens. I want to make it controlled via INDI (for example, I saw in INDI the possibility of NOT closing the roof while the telescope is NOT parked).
The following commands are implemented:
1. Opening the roof
2. Closing the roof
3. Contact position sensor "ROOF CLOSED"
4. Contact position sensor "ROOF OPEN"
I don’t understand how INDI drivers (for example indi_rolloff_dome OR Talon6) send commands to the microcontroller (Arduino). For example on TTL port? Any text commands? For example, if I knew that the indi_rolloff_dome driver sends the OPEN command via the TTL port, I could easily accept it on Arduino and close the necessary relay.
Help understand what commands send drivers to the microcontroller?
Hello everyone from Russia! I am new to this forum and am very glad that there is such a project as INDI. Thanks to him, we almost finished the construction of a robotic observatory. THANKS to INDI developers!
Now about the problem. It is necessary to make control of a self-made rolling roof through the indi_rolloff_dome driver (for example). Use Arduino as a controller with a relay that is connected via USB to the INDI server. I can’t find the driver documentation anywhere, or the protocol, or the examples.
Please help with an example of Arduino firmware for working with drivers:
- indi_rolloff_dome OR Talon6
You are my last hope ...