×

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

Bi-monthly release with minor bug fixes and improvements

INDI focuser driver for Waveshare Stepper Motor HAT for Raspberry Pi / Rock Pi

  • Posts: 222
  • Thank you received: 20
+1. This is great stuff, Kevin. Thanks too for all your help getting me up and running.
3 years 3 months ago #66311

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

  • Posts: 1309
  • Thank you received: 226
How can I modify the code to use different step modes such as Single, Double, Microstep 8? And how it relates to the hardware mode switches vs mode selection via software.
Last edit: 3 years 2 months ago by Andrew.
3 years 2 months ago #67052

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

  • Posts: 144
  • Thank you received: 7
Hello i have a problem, waveshare Stepper motor crashed all with Indi 1.8.9.
3 years 1 month ago #68219
Attachments:

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

  • Posts: 144
  • Thank you received: 7
I recompiled all and i see the driver but i have error with autofocus the image not start.
3 years 1 month ago #68222
Attachments:

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

  • Posts: 421
  • Thank you received: 102
Is this a new problem, or is this the first time using this driver?

The Waveshare driver doesn't do anything regarding taking images, all it does is move the focuser in and out when told to do so by Ekos, so those exposure failure errors are not the fault of the Waveshare driver, but rather the CCD driver.

Can you hit the Up and Down arrows next to where it says "Waveshare Motor HAT Focuser"? That will cause the focuser to move in or out. If hitting those buttons causes the focuser to move, then the focuser driver is working normally.
3 years 1 month ago #68223

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

  • Posts: 144
  • Thank you received: 7
It is the first time, the simulator works it was my mistake, I forgot to connect the mount.
I have mounted this motor but nothing is spinning, do you need to configure something?
Sorry but I'm new to Raspberry
www.omc-stepperonline.com/nema-17-steppe...hs13-0404s-pg27.html
3 years 1 month ago #68224

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

  • Posts: 144
  • Thank you received: 7
3 years 1 month ago #68225
Attachments:

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

  • Posts: 421
  • Thank you received: 102
The wiring looks correct.

Let's try a couple things. On the INDI control panel, for the Waveshare driver, go to the options tab, and check and see what the "delay per step" is set to. If it's 0, that probably won't work (terrible default, I need to change that). Set it to 400.

Then go back to the Main Control tab, and next to Relative Position, type in 1000 and hit Set. This will cause the motor to move 1000 steps every time you hit Set. You can hit the Focus In or Focus Out buttons to change the direction that it moves.

Let me know if that allows the motor to move.
3 years 1 month ago #68226

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

  • Posts: 144
  • Thank you received: 7
I did what you asked for but nothing moves.
3 years 1 month ago #68227
Attachments:

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

  • Posts: 421
  • Thank you received: 102
Hmm, might be a permissions issue accessing the GPIO pins. Try running indiserver as root instead of as the pi user. See this post for some more details:

indilib.org/forum/focusers-filter-wheels....html?start=36#53710
3 years 1 month ago #68229

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

  • Posts: 144
  • Thank you received: 7
Is possible that DIp switch is On with 32 microstep/step?
3 years 1 month ago #68230
Attachments:

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

  • Posts: 421
  • Thank you received: 102
Yes, that's how I have mine set. All switches on, 1/32 microstepping.
3 years 1 month ago #68231

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

Time to create page: 0.970 seconds