×

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
It looks like resetting the PWM did the trick. Nice work!
6 years 10 months ago #17136

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

  • Posts: 1309
  • Thank you received: 226
I had a chance to use it tonight. And hats off to you Kaczorek, the driver works beautifully.
All I have left to do is address a few mechanical details. Even so the autofocus routine did settle on a good focus after about 10 shots.
Thank you very much.
6 years 10 months ago #17148

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

  • Posts: 983
  • Thank you received: 375
Have a good time while focusing ;-)
The following user(s) said Thank You: Andrew
6 years 10 months ago #17156

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

  • Posts: 1309
  • Thank you received: 226
Joystick controls don't appear to be functional. Dialog will report Focuser aborted messages, but does not abort. Messages appear after reaching position. Focus In/Out reports nothing.
6 years 10 months ago #17186

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

  • Posts: 983
  • Thank you received: 375
I will take a look at joystick controls. Abort focuser function is not implemented so it will not work.
6 years 10 months ago #17192

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

  • Posts: 1309
  • Thank you received: 226
Thanks Kaczorek. Take your time. This is just a report and I'm not even sure I will be using a joystick in this way.
6 years 10 months ago #17206

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

  • Posts: 35
  • Thank you received: 5
Kaczorek,
I've run into an install problem. Can't obviously see what I've done wrong.
Start point INDI server already installed.
system update & upgrade performed.
wiring pi already installed - checked with $gpio -v returns version 2.32

Then running your compile from source script :
all steps run as expected with no errors until the last line
>make install
This returns:
CMake Error at /home/rob/astroberry-amh/build/libs/AdafruitStepperMotorHAT_CPP/tmp/libAdafruitStepperMotorHAT-gitupdate.cmake:136 (message):
Failed to unstash changes in:
'/home/rob/astroberry-amh/libs/AdafruitStepperMotorHAT_CPP/'.
You will have to resolve the conflicts manually


I can only think i've got a dependancy issue, introduced when I sudo apt upgrade/updated the system?

Also on further checking I note that there is a newer version of wiringpi - which have you?
Maybe i had an ADAfriuit library already installed within the other packages?

Also when I've started up the indi server again with:
indiserver -l /var/log/indi -f /var/run/indi -p 7624 indi_amh_focuser

i get
2017-06-14T22:59:42: startup: indiserver -l /var/log/indi -f /var/run/indi -p 7624 indi_amh_focuser
2017-06-14T22:59:42: open(/var/run/indi): No such file or directory.
2017-06-14T22:59:42: good bye

so it would seem the install failed to complete properly somewhere in the process? Before I reinstall everything from fresh, i wondered if there was anything obvious i'm missing, like a prerequisite?
6 years 10 months ago #17296

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

  • Posts: 983
  • Thank you received: 375
Everything's OK. You need to remove libs directory from your build directory before every consecutive cmake run. The driver is using submodules and there's no easy way to do this. So you need to rm -rf /home/rob/astroberry-amh/build/libs everytime you recompile the driver.
Also make sure that you run sudo make install instead ust make install. Everything should work just fine when you follow these. If not, just let me know.
6 years 10 months ago #17297

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

  • Posts: 35
  • Thank you received: 5
Thank you for your fast reply. I'll try again tomorrow.
Don't you ever sleep? :)
6 years 10 months ago #17298

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

  • Posts: 983
  • Thank you received: 375
I'm a digital bot, I don't need any sleep ;) But seriously, You got me in the middle of imaging session and while it runs I often do some reading.
The following user(s) said Thank You: Rob Jones
6 years 10 months ago #17302

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

  • Posts: 1309
  • Thank you received: 226
Here are the STL files for my focuser; including images parts list and some instruction/guidance. Some of these parts have been revised slightly but not tested, I don't expect there to be any issues with them. I designed tolerances into some parts that click together that work on the printer available to me. Different printers may offer different results. Gear shafts are particularly finicky.
Best of luck!
The following user(s) said Thank You: Rob Jones
6 years 10 months ago #17324
Attachments:

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

  • Posts: 1309
  • Thank you received: 226
Hello Kaczorek. Recently I noticed that although I have indi_amh_focuser.xml in /usr/share/indi, the driver is not on my list now. It only appears in a profile I have already set-up earlier. Not sure how to address this.
The driver does still function in that profile mind you.


Nevermind. I fixed it by moving the executable from /usr/local/bin to /usr/bin
Last edit: 6 years 9 months ago by Andrew.
6 years 9 months ago #17850

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

Time to create page: 0.381 seconds