This project is a fork of the original INDI Aldiroof author Derek OKeeffe. In my project, I used a different roof drive, which is controlled by only two signals - OPEN and CLOSE. An INDI driver and arduino firmware to control a roll off roof of an astronomical observatory.
The roof of the astronomical observatory is driven by a motor and a sliding gate reducer. Two relays and an Arduino controller are used to control the engine controller. For safety, the roof end positions and parking sensors (reed switches) of the telescope are connected to the controller. The Arduino controller communicates with the INDI driver using the firmata protocol.
- Arduino UNO controller (or any other).
- 2 X 30A arduino relays module.
- Linux machine running INDI server (install the driver on).
- (Optional) 3D printed case.
- Flash the firmware to your arduino using the arduino ide.
- Build and install the driver on the machine running indi server.
For compile in Ubuntu need to install cmake
and libraries for INDI develop:
sudo apt-get update
sudo apt-get install cmake libindi-dev libnova-dev
To add a driver to the INDI Web Manager list, edit the following file and add the section Domes lines to the list:
/usr/share/indi/drivers.xml
<device label="Roll Roof" manufacturer="miksoft">
<driver name="Roll Roof">indi_rollroof</driver>
<version>1.0</version>
</device>