Welcome, Guest
Username: Password: Remember me
27 Feb 2017
INDI development team is happy to announce the release of INDI Library v1.4.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers. Several improvements and enhancements are included in this release including native support for Cygwin and MacOS platforms in addition to Linux, BSD, and Windows (Client only).
Read More...

TOPIC: Astroberry Focuser with Adafruit Motor HAT

Astroberry Focuser with Adafruit Motor HAT 3 months 2 days ago #15534

  • Ihoujin
  • Ihoujin's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 146
  • Thank you received: 6
I'm starting this topic up as Kaczorek mentioned it would be prudent to start a seperate thread on this topic, with a shout-out to Christian for his modifications.
Regarding the development of an Adafruit version of the Astroberry autofocus driver. The Adafruit motor controller HAT appears to be an excellent alternative to the PiFace. Whereas the PiFace required 2 integrated boards to control stepper motors and is no longer produced. The Adafruit is an all in one solution at a quarter of the price and is still being manufactured. It also just came back in stock. IMHO an ideal DIY autofocus platform.

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

Astroberry Focuser with Adafruit Motor HAT 3 months 1 day ago #15571

  • Kaczorek
  • Kaczorek's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 297
  • Karma: 1
  • Thank you received: 95
Indeed it's interesting piece of hardware. I'm waiting for it's available in my local store. As soon as I get it I can start with a driver. Unless somebody else will accept the challenge. In such a case I can help.

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

Astroberry Focuser with Adafruit Motor HAT 2 months 1 week ago #16230

  • Ihoujin
  • Ihoujin's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 146
  • Thank you received: 6
I am currently getting parts together in advance. I have the motor, and the Adafruit board. Plus I modeled everything and am ready to 3D print the rest. Once I get those all done I can theoretically begin to test anything you have written.

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

Astroberry Focuser with Adafruit Motor HAT 2 months 5 days ago #16279

  • Kaczorek
  • Kaczorek's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 297
  • Karma: 1
  • Thank you received: 95
The Motor HAT is already available in my local store. I gave it a closer look and found out that it supports Raspberry Pi model A+, B+ and Pi 2. Raspberry Pi 3 is not on the list. This means I'm not going to buy it but I can develop a driver for it anyway. Let me know when you have all parts altogether so there is a piece of hardware for tests.

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

Astroberry Focuser with Adafruit Motor HAT 2 months 5 days ago #16280

  • Ihoujin
  • Ihoujin's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 146
  • Thank you received: 6
That's understandable. Indeed the website doesn't explicitly state the Raspberry Pi 3. But I suspect that is probably out of date information. I had to do a little searching to find information that suggests it is indeed compatible. As seen here. I am currently 3D printing parts as I am writing this. So I should be ready to go soon. Thanks again for time.

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

Astroberry Focuser with Adafruit Motor HAT 1 month 3 weeks ago #16470

  • Ihoujin
  • Ihoujin's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 146
  • Thank you received: 6
Hello Kaczorek. Great news here. I have finished assembling my 3D printed, stepper driven focuser and have driven it successfully with the example scripts Adafruit provides.

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

Astroberry Focuser with Adafruit Motor HAT 1 month 3 weeks ago #16471

  • Ihoujin
  • Ihoujin's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 146
  • Thank you received: 6
I tried to attach these before. But I think the files were too large.
Attachments:

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

Last Edit: by Ihoujin.

Astroberry Focuser with Adafruit Motor HAT 1 month 3 weeks ago #16498

  • Ihoujin
  • Ihoujin's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 146
  • Thank you received: 6

RobJones wrote: Looks good - I want one!
Are you prepared to share the STL file for the motor box? And do you have a parts list, I'm going to give this a go!
Also; interested to know what the gearing you have gone for on your NEMA stepper motor gear box? 5:1 or c50:1 ?


I have a few more iterative improvements I want to make before sharing the STLs which I am happy to do. The design is custom made specifically for the old style Skywatcher rack & pinion focuser. As for parts list. I will put one together when I get the chance. The motor I chose was a NEMA 14 with 51:1 gear reduction.
If I were to start over from scratch I would have probably chosen a NEMA 11 with roughly half that reduction. It's a lot of motor, slow and lots of torque. A bit overkill. I also had to add an LM7805 linear power regulator circuit onto the free pads built onto the motor hat to convert 12V to 5V to drive the motor properly and make holes through the case of my Raspberry Pi for new port and power terminal for the HAT.

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

Astroberry Focuser with Adafruit Motor HAT 1 month 3 weeks ago #16504

hi!
as a side product of my raspberry Pi based telescope control system TSC - github.com/selste/TwoStepperControl/wiki/TSC - i am developing a custom driver that interacts via SPI with the pi and consists of a arduino pro mini and DRV 8825 ... would that be of interest??? shoulde not cost much more than ~ 20 € in total ...
yours
wolfi

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

Astroberry Focuser with Adafruit Motor HAT 1 month 3 weeks ago #16505

  • Kaczorek
  • Kaczorek's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 297
  • Karma: 1
  • Thank you received: 95
Well done! So it's my turn now to develop the driver for it. I will keep you posted of the progress.

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

Astroberry Focuser with Adafruit Motor HAT 1 month 2 weeks ago #16610

Do you measure/sense that the focuser draw tube is at its limits?

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

Astroberry Focuser with Adafruit Motor HAT 1 month 2 weeks ago #16611

  • Kaczorek
  • Kaczorek's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 297
  • Karma: 1
  • Thank you received: 95
Limits are preset in a driver i.e. pos 0 is starting inward position and 20000 is maximum outward position.
Sensing the limits would require additional hardware such as encoders or similar.

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

Time to create page: 0.404 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!

Gallery

Replica

Why INDI

Replica