Skip to content

Kludge to use Pine64/RaspberryPi GPIO for ST4 guidance with INDI

License

Notifications You must be signed in to change notification settings

zenmetsu/gpiost4

Repository files navigation

indi_gpiost4

This is a dirty hack to use the minimal INDI (http://www.indilib.org/) driver for Kevin Ferrares Arduino based USB to ST-4 adapter (https://github.com/kevinferrare/arduino-st4). Basically, I cut out the middle-man and used the Pine64 GPIO libraries instead of making USB serial calls to a slave microcontroller.

The Pine64 and the RaspberryPI have truckloads of GPIO, no need to complicate matters by incorporating another device/battery-muncher.

License

This is based on the GPUSB driver and as such under the GPL2. Also included is the Pine64 GPIO library. Please see the GPIO library source files for respective license.

Features/Limitations

  • No way^H^H^Hneed to dynamically assign a tty
  • No way to dynamically assign GPIO pins
  • No Goto, just North, West, South, East
  • Only works on Pine64 at the moment

To Do

  • Add support for dynamic GPIO assignment
  • Add support for Raspberry Pi
  • Find out how to allow clients such as KStars to dynamically load this driver as it doesn't show up in the list currently

Configuring

  • GPIO pin assignments made in gpiost4driver.h
  • Need to specify 4 pins total (RA+/- and DEC+/-)

Building

cmake .
make

Running

indiserver ./indi_gpiost4

About

Kludge to use Pine64/RaspberryPi GPIO for ST4 guidance with INDI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published