×

INDI Library v2.0.2 Released (01 Jun 2023)

Bi-monthly release with minor bug fixes and improvements

Astroberry Focuser with Adafruit Motor HAT

  • Posts: 983
  • Thank you received: 375

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 | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
4 years 3 months ago #34719

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

  • Posts: 983
  • Thank you received: 375
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 | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
The following user(s) said Thank You: Gunther Fleerackers
4 years 3 months ago #34720

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

  • Posts: 16
  • Thank you received: 0
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
4 years 3 months ago #34725

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

  • Posts: 1288
  • Thank you received: 224
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
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
4 years 3 months ago #34729

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

  • Posts: 27
  • Thank you received: 2
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
3 years 11 months ago #39997

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

  • Posts: 1288
  • Thank you received: 224
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
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 9 months ago #42442

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

  • Posts: 983
  • Thank you received: 375
Check the XML file and it's syntax by comparing to other files in the directory.
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
3 years 9 months ago #42493

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

  • Posts: 1288
  • Thank you received: 224
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
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 9 months ago #42504

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

  • Posts: 1288
  • Thank you received: 224
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
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 9 months ago #42542

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

  • Posts: 1288
  • Thank you received: 224
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
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 years 9 months ago #42618

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

Time to create page: 0.617 seconds