×

INDI Library v1.9.5 Released (08 Mar 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Installing the indi-rpi-gpio in Astroberry 2.0.4

  • Posts: 87
  • Thank you received: 9
Hi all,
I'm currently testing some GPIO tasks to switch on and off things. I saw, that there was an gpio driver in INDI indilib.org/raspberry-pi/raspberry-pi-gpio-control.html where it was possible to switch several GPIO pins.

I set up a new Astroberry with the new 2.0.4 and tried to install the indi-rpi-gpio, since it was not installed from scratch.

Outcome was, that it is not possible to install the GPIO driver sinde there is a conflict with the pigpiod (it seem that there is a new one installed and the indi-rpi-gpio needs an older one)

Can somebody help here? Thank you.

Best regards

Jürgen
 
4 months 3 weeks ago #78868

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

  • Posts: 87
  • Thank you received: 9
Just some mor information on the errors during the try of installation of indi-rpi-gpio: Just some mor information on the errors during the try of installation of indi-rpi-gpio:
4 months 3 weeks ago #78873
Attachments:

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

  • Posts: 268
  • Thank you received: 52
You might need to build the driver from source. On Raspbian libpigpiod is included but it is not available under Ubuntu. So the libpigpiod library has been added to the INDI library (this is permitted by libpigpiod licence) but it is separated from the driver. This is an older version and the driver has a dependency on it.
So by building from source you can install just the driver without lipigpiod. The driver should work with the latest version of libpigpiod. If not, let me know and I can fix it.
I am the author of the driver but I am not very knowlegeable about Debian installer so build from source is what I would do in this case.
-- Ken
RPi3 Ubuntu Server 20.04, Windows 10 AMD64, AAEON UP Core Ubuntu Desktop 20.04
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80
4 months 3 weeks ago #78883

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

  • Posts: 87
  • Thank you received: 9
Hi Ken,
thank you for your reply. Building from source was also an approach I thought of ;-) but I didn't found the sources in github.com/indilib/indi (can aou tell me were the source is for the future?) and I'm also not so familiar with compiling.
But I found yesterday, that at least in Astroberry there is the driver "Astroberry relays" (github.com/rkaczorek/astroberry-diy) which is I think quite the same. The control of my relais worked with that :-)

I also use Stellarmate, but I didnt had the chance to check that in Stellarmate 1.6.1 (Kstars 3.5.6), as far as I remember, with the Stellarmate Version 1.6.0 (Kstars 3.5.5) it worked with the indi-rpi-gpio.
4 months 3 weeks ago #78886

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

  • Posts: 268
  • Thank you received: 52
The source code is in the INDI 3rd party library github.com/indilib/indi-3rdparty
There is indi-rpi-gpio, libpigpiod and indi-asi-power which is the version that controls the ASI Air power controller.
The Astroberry relays driver also works fine and is much simpler. The RPi GPIO driver provides Pulse Width Modulation e.g. for controlling LED brightness or motor speed control, and periodic switching e.g. for triggering a DSLR imaging sequence
-- Ken
RPi3 Ubuntu Server 20.04, Windows 10 AMD64, AAEON UP Core Ubuntu Desktop 20.04
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80
The following user(s) said Thank You: Juergen
4 months 3 weeks ago #78896

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

Moderators: Radek Kaczorek
Time to create page: 0.947 seconds