×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Astroberry Focuser with Adafruit Motor HAT

  • Posts: 1309
  • Thank you received: 226
Hi Kaczorek! Excellent work on the Astroberry Server. I know that's been keeping you very busy so take your time on this, no big rush. I have just about worked out the final iteration and will be releasing the STL files for anybody who can make use of them. Thanks Again.
6 years 11 months ago #16784

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

  • Posts: 983
  • Thank you received: 375
I'm glad you find it useful. I should find time for the Adafruit Motor HAT driver soon. Stay tuned
6 years 11 months ago #16785

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

  • Posts: 1309
  • Thank you received: 226
Kaczorek: Will there be an option for backlash steps?
6 years 11 months ago #16845

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

  • Posts: 983
  • Thank you received: 375
6 years 11 months ago #16852

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

  • Posts: 1309
  • Thank you received: 226
Excellent! I'm looking forward to giving this a spin.
6 years 11 months ago #16853

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

  • Posts: 983
  • Thank you received: 375
There's really bad news on this driver. Adafruit provides only python library for this board and no c++ library is available that can be used directly. As the result a driver for this board needs to use low level PCA9685 driver (which basically means writing everything from scratch) or bind python library into c++ code (which reuses the library but still requires lots of coding).
In summary, for now a stepper focuser build on Adafruit Motor HAT can only work outside of INDI, controlled with python scripts released by a vendor. Integration with INDI will be possible if c++ library is available for the device.
6 years 11 months ago #16883

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

  • Posts: 1309
  • Thank you received: 226
Oh no. That's not good.
6 years 11 months ago #16887

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

  • Posts: 1309
  • Thank you received: 226
I'm trying to exercise my Google Fu and have come up with a couple results, it would seem other's have the same issue.
www.chiefdelphi.com/forums/showthread.php?p=1598518
github.com/threebrooks/AdafruitStepperMotorHAT_CPP
www.raspberrypi.org/forums/viewtopic.php?t=112415&p=908267
mjmeans.github.io/Adafruit.IoT/doc/html/...21e-7d84815c826d.htm

I hope some of this can be of use.
6 years 11 months ago #16889

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

  • Posts: 983
  • Thank you received: 375
It seems that the second link would be quite useful. So we're back to the game ;-)
The following user(s) said Thank You: Andrew
Last edit: 6 years 11 months ago by Radek Kaczorek.
6 years 11 months ago #16902

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

  • Posts: 983
  • Thank you received: 375
Hi, I have just finished the first version of the focuser driver for Adafruit Motor HAT.

Check it out at github.com/rkaczorek/astroberry-amh

I have developed it without hardware so please test it and let me know how it goes. Please be careful with stepper speed option.
Last edit: 6 years 10 months ago by Radek Kaczorek.
6 years 10 months ago #16992

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

  • Posts: 1309
  • Thank you received: 226
That's Fantastic! I am out of town this weekend, but will eagerly test it once I'm back. Thank you.
6 years 10 months ago #16993

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

  • Posts: 1309
  • Thank you received: 226
I encountered an error in the final Make Install step
Never Mind. Must first install WiringPi.
Last edit: 6 years 10 months ago by Andrew.
6 years 10 months ago #17033

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

Time to create page: 0.325 seconds