×

INDI Library v1.9.1 Released (26 Jun 2021)

Bi-monthly INDI Library v1.9.1 is released bringing a few new drivers and improvements to existing drivers.

INDI focuser driver for Waveshare Stepper Motor HAT for Raspberry Pi

  • Posts: 215
  • Thank you received: 15
How auspicious! As I was typing my last message, DHL was putting the box on my porch. The new code works on a Raspberry Pi4 running Ubuntu Mate 20.04. When you switch the board to 2.1, it works. When you switch to Original, it ceases to operate. I noticed no overheat issue.

... I don't know...but personally, I would have been hard-pressed not to name the buttons, "Original" and "Extra Crispy."
SkyWatcher 10" SynScan Goto Dobsonian, SV106 Guide, ZWO ASI178MC, Svbony SV105, SV305, Pi3HQcam, Pi4, DIY WaveShare focuser, Linux Ubuntu, KStars/Ekos, Carte du Ciel/CCDCiel, AstroDMx_Capture, Siril, StarTools, GIMP
The following user(s) said Thank You: Kevin Ross
1 month 2 weeks ago #72237

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

  • Posts: 250
  • Thank you received: 61
"I don't know...but personally, I would have been hard-pressed not to name the buttons, "Original" and "Extra Crispy."

LMAO!

Thanks for testing. :)
Last edit: 1 month 2 weeks ago by Kevin Ross.
1 month 2 weeks ago #72238

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

  • Posts: 1122
  • Thank you received: 195
I had started a topic regarding preserving the focuser position between instances of running INDI, and recovering from a crash.
www.indilib.org/forum/wish-list/9817-wis...ocuser-position.html

I learned this is something handled within the driver not EKOS. Could you look into that? Thank you.
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.
1 month 2 weeks ago #72245

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

  • Posts: 250
  • Thank you received: 61
Yes, saving the last focus position is next on my to-do list. :)
1 month 2 weeks ago #72246

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

  • Posts: 250
  • Thank you received: 61
Okay I just committed a change that will save the position to a file, and restore that position on startup. To be clear, this doesn't actually move the focuser, it's the equivalent of doing a "sync" to the last known position.

Try it out and let me know how it works out for you.

-- Kevin
1 month 2 weeks ago #72247

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

  • Posts: 1122
  • Thank you received: 195
Perfect. I'll test it soon.
I'm not sure if writing to a file is how other drivers do it. But I'm sure it will be fine. Thank you.
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.
1 month 2 weeks ago #72250

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

  • Posts: 1122
  • Thank you received: 195
Looks good to me.

I also noted the first time I ran the driver the motor locked due to the new code for the board revision.
It was fine once the settings were saved.
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.
1 month 2 weeks ago #72252

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

  • Posts: 24
  • Thank you received: 0
Kevin

I am a bit lost with the changes you implemented in the past few weeks (I did not use my equipment since mid April due to bad weather). I updated the driver today, I got a version 1.4 displayed in the "General info" tab. If this is an outdated version please let me know.

The driver now behaves quite differently on my mount. At least, it does not move the focuser any longer regardless of the setting in "Board revision" (I was one of the two users you mentioned recently who had problems with the board: I had a 2.1 board initially, this did not work at that time, a new board without rev info did work).

My observations beside the fact that the focuser does not move:
   - If I set a relative position > 0 in Main Control tab, nothing happens
   - in Options tab none of the configuration buttons reacts
   - in Focuser module: if I set steps in Steps field it displays position depending on the setting in initial step size in mechanics

May be there are more observations. So, is my driver up to date or do I need to update again?

Thanks

Kurt
 
Skywatcher EQ3 SynScan GoTo | Canon EOS 550Da | TS61EDPH | ZWO ASI 120MM | Artesky 130mm guidescope | Raspi 4B 4GB | Waveshare Stepper Motor HAT - DIY Focuser | Astroberry 2.0.3 | PixInsight
1 month 1 week ago #72554

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

  • Posts: 250
  • Thank you received: 61
That is indeed odd. Can you revert to the version you were using before?
1 month 1 week ago #72557

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

  • Posts: 1122
  • Thank you received: 195
Possible explanations:
1. Step delay was reset to 0.
2. Save driver configuration at setting the new board revision option.
3. Motor is wired incorrectly/to wrong driver.
4. Burned out motor or controller if the coils were left powered due to revision changes.

Can you move the motor with Waveshare sample code?
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.
1 month 1 week ago #72558

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

  • Posts: 24
  • Thank you received: 0
@ Kevin

I will try tomorrow.
Skywatcher EQ3 SynScan GoTo | Canon EOS 550Da | TS61EDPH | ZWO ASI 120MM | Artesky 130mm guidescope | Raspi 4B 4GB | Waveshare Stepper Motor HAT - DIY Focuser | Astroberry 2.0.3 | PixInsight
1 month 1 week ago #72560

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

  • Posts: 24
  • Thank you received: 0
I will check tomorrow.
Skywatcher EQ3 SynScan GoTo | Canon EOS 550Da | TS61EDPH | ZWO ASI 120MM | Artesky 130mm guidescope | Raspi 4B 4GB | Waveshare Stepper Motor HAT - DIY Focuser | Astroberry 2.0.3 | PixInsight
1 month 1 week ago #72561

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

Time to create page: 0.658 seconds