Hi,
I recently mounted a cheap stepper motor like belt drive to my Baader steeldrive focuser. It's the BYJ28-48 motor that comes with a driver board and can be bought at many places for a few dollars. Whith the driver board I can run it nicely with a python script directly from 4 of the the Raspberry Pi 2's GPIO pins.
My plan is to drive the motor via indi drectly from the Raspberry 2, in addition to the other astro hardware. It means some software will have to be written and my plan is to make this my little contribution to INDI astronomy.
As I see it there are some ways to achieve what I want:
- I could write an indi driver from scratch that directly manages the GPIO pins to drive the motor
- I could run a separate (C/python) process that talks to indi via a FIFO and emulates some existing focuser that has a simple to understand protocol
- I could do something inbetween
At first site the second option seems to be the easiest to implement, however I'm not sure which focuser would be the easiest to emulate. Also I don't know what the implications of this approach will be on the performance of the raspberry.
However I may also be totally on the wrong path here and as I am not very experienced in software writing I would greatly appreciate any comments before I delve deeper into this project.