I have installed the stellarmate on raspberry one week ago and I tested the ekos and kstar tools. I have a focuser developed with the Arduino and Motorshield board to control the stepper in the ASCOM environment. Now I would like to move this in the INDI. I have read some indi drivers are available, but I am not understand where I can retrieve the correspondent Arduino code for the specific indi driver (for example moonlite, etc.. ). Can you help and suggest me a solution, please?
I use a private code of my friend who developed also the ASCOM driver without following specific standard. For this reason I would like to get the Arduino code that is able to comunicate with available indi drivers.
Not knowing your friends code but I would suggest trying it with Indi as is just in case it works without modification - p.s. if it works with Monnlite own stand alone Windows App it should be fine for Indi in my experience.
Starting from my Arduino Uno and Motor Shield Rev3 (store.arduino.cc/arduino-motor-shield-rev3) I have decided that it is better to upload into Arduino the existing and available software github.com/TallFurryMan/moonduino. that include the library AccelStepper (www.airspayce.com/mikem/arduino/AccelStepper/) . The question is: will my hardware work with this library without damages considering that all projects I see in the web have a different HW configuration? Are these setting right ?
#define PIN_OUTPUT_MOTOR1 2 //PWM A
#define PIN_OUTPUT_MOTOR2 3 //PWM B
#define PIN_OUTPUT_MOTOR3 4 //direction A
#define PIN_OUTPUT_MOTOR4 5 // direction B