×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Astroberry Focuser with Adafruit Motor HAT

1 year 3 months ago
Kaczorek
Moderator
Moderator
Posts: 894
Karma: 6
More
Astroberry Focuser with Adafruit Motor HAT #34719

gufle wrote: I have downloaded the suggested driver bu I have trouble with the last step for building the driver. It is the make install command.


Remove build/libs/AdafruitStepperMotorHAT_CPP before make install
OR
after make (it goes successfully) manually copy indi_amh_focuser to /usr/bin and indi_amh_focuser.xml to /usr/share/indi

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM

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

1 year 3 months ago
Kaczorek
Moderator
Moderator
Posts: 894
Karma: 6
More
Astroberry Focuser with Adafruit Motor HAT #34720

Ihoujin wrote: Kaczorek, would it be possible to make the drive mode selectable? As it is, to change from single step to microstep requires editing the source and recompiling.

This is just a simple implementation of a driver for Adafruit HAT. It would be good idea to update it to the latest Astroberry-DIY, which is much more mature. I could do this some time, in the meantime new pull requests are more than welcomed.

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM
The following user(s) said Thank You gufle

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

1 year 3 months ago
gufle
Fresh Boarder
Fresh Boarder
Posts: 16
More
Astroberry Focuser with Adafruit Motor HAT #34725
I had copied the files manually and it works :) Thank you for make it so easy.

Gunther

Remote PI : Raspberry PI 3B+ with Stellarmate 1.16.2 /
Telescope : Skywatcher HEQ5 /
Camera : Canon 700D

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

1 year 3 months ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 866
Karma: 3
More
Topic Author
Astroberry Focuser with Adafruit Motor HAT #34729
Thank you, I was not aware of Astroberry-DIY. I'll have a look.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

11 months 3 weeks ago
SmackAstro
Junior Boarder
Junior Boarder
Posts: 25
More
Astroberry Focuser with Adafruit Motor HAT #39997
Radek,

A question? How does the position reset function work? I’ve had kstars/ekos crash a few times while focusing leaving the focuser near focus and near focus being the zero position rather than the zero position being racked in. I understand position reset allows one to move to negative positions while still identifying the new position as zero. How many steps is the focuser moved inward when selecting position reset?

Regards,

Steve

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

9 months 1 week ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 866
Karma: 3
More
Topic Author
Astroberry Focuser with Adafruit Motor HAT #42442
I've encountered an issue.
I'm setting up a new Raspberry Pi 4 with Rlancaste's script, which is wonderful.
When I build the AMH focuser driver everything appears to complete. I copy the driver to /use/bin/ and the XML to /usr/share/indi/.
However when I run the driver in EKOS, The driver's does not appear in the INDI control panel, nor in the focul module. I can however see it as a running task in a resource monitor.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

9 months 1 week ago
Kaczorek
Moderator
Moderator
Posts: 894
Karma: 6
More
Astroberry Focuser with Adafruit Motor HAT #42493
Check the XML file and it's syntax by comparing to other files in the directory.

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM

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

9 months 1 week ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 866
Karma: 3
More
Topic Author
Astroberry Focuser with Adafruit Motor HAT #42504
Syntax appears to be unchanged, And I've confirmed with test scripts that the motor driver does work.
This appears in my ekos log
"Unable to establish:\n+ Motor HAT Focuser\nPlease ensure the device is connected and powered on."

The bizarre thing was I had it working once the first time I installed it on the Pi4. But I've failed on subsequent rebuilds, and I don't believe I've missed anything. So the code should be fine. But there is some troubleshooting to do.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

9 months 6 days ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 866
Karma: 3
More
Topic Author
Astroberry Focuser with Adafruit Motor HAT #42542
I managed to get it to work after building the INDI libraries, Drivers and KStars myself.
Happy Ending.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

9 months 4 days ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 866
Karma: 3
More
Topic Author
Astroberry Focuser with Adafruit Motor HAT #42618
I have come across a modification to the Adafruit Motor Hat Library that improves the performance of the board. Unfortunately I am unclear on how to implement it. If you have the time could you take a look?
Thank you kindly
morepootling.blogspot.com/2016/06/gettin...ruit-dc-stepper.html

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

Time to create page: 0.860 seconds