×

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: 144
  • Thank you received: 7
The power supply has 12V 2A. Nothing is connected in the Vin - GND connectors, as shown in the photo. The engine runs sometimes when I activate EKOS, then turns a few times and stops. If I click the focuser arrows, nothing moves. If I turn Ekos off and on again, the stepper start. When I log out of Ekos it stays yellow.
The stepper is same as you have and is 10V 0.4A; can you tell me how you configured it in Indi?
 
 
3 years 3 weeks ago #69198
Attachments:

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

  • Posts: 1309
  • Thank you received: 226
The stepper running when INDI starts may just be the focuser park feature. You can disable it. Personally I've found it more annoying than useful.
I noticed you turned the POT up a few notches. If it works, great. You should also remove that foam pad.
The message in your image is saying it can not move below Zero. This is normal. At zero position there are 3 things you can do. You can take steps up from there. You can Sync the position to a higher value. And you can use the Reset Position to run the motor to a lower position, but will still show position zero afterwards.
3 years 3 weeks ago #69200

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

  • Posts: 1119
  • Thank you received: 182
Andrew:

Out of curiosity: What is your experience with cooling the Pi4 with that HAT in place? I find it imperative to keep the Pi4 cool. I am using this heatsink

smile.amazon.com/gp/product/B07PCMTZHF/r..._title?ie=UTF8&psc=1

and it works great, even in the Texas summer here, the CPU temperature never gets above 48 C. And that is with up to 38 C ambient!

But I can not use it with that HAT in place, unless I move the HAT much higher. In that case, I might as well put it into a separate case.

Or use the Moonlite-based MyFocuserPro instead, which is based on an Arduino and works flawlessly for me.
3 years 3 weeks ago #69238

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

  • Posts: 67
  • Thank you received: 1
Just to update:
I received a new waveshare HAT today. It does in fact show a connection between pin nENBL and pinheader pin GPIO12, so my old board definitely seems to be faulty. Interestingly, the new board came in a different packaging and had no board revision on the back.
Connecting to my RPi4 showed no success at all,  the motor did not react in any way. On a RPI3 however the python demo code did work (only control code "softward"). I also could measure square waves on the coil output. The new board seems to be OK.

I conclude that also my RPi4 is bad. So I need to order a new RPi4 also. In this regard: do we have experience/information wether a RPi4 w/8GB is beneficial over a 4GB version?

Thanks for your support so far.
3 years 3 weeks ago #69242

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

  • Posts: 144
  • Thank you received: 7
3 years 3 weeks ago #69243

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

  • Posts: 67
  • Thank you received: 1
@El Carozon:
I made a quick and dirty housing using a material similar to acrylic glas (better mechanical properties) and added a fan to its side, see attached picture. This seems to keep both boards fairly  cool.
 
 
3 years 3 weeks ago #69244
Attachments:

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

  • Posts: 67
  • Thank you received: 1
Oops, added the picture twice ...
3 years 3 weeks ago #69245

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

  • Posts: 67
  • Thank you received: 1
@Astrofilo66
It seems that this board is an Arduino UNO rather that a wave share HAT ...
3 years 3 weeks ago #69247

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

  • Posts: 144
  • Thank you received: 7
3 years 3 weeks ago #69248

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

  • Posts: 421
  • Thank you received: 102
Wow, interesting. Maybe the defective HAT damaged the Pi. Either way, I'm glad the new HAT seems to be working better.

4GB has been plenty for running KStars and PHD2 (I don't run anything else). I don't normally run PHD2, just wanted to state that it could run both.

The only time I run out of memory is when doing a build and using the -j option to run many build processes in parallel. But otherwise 4GB seems plenty (for me).
 
3 years 3 weeks ago #69249

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

  • Posts: 1119
  • Thank you received: 182

Have you given up on the Waveshare?  That Arduino can't drive a focuser without a separate DRV8825 board.
3 years 3 weeks ago #69299

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

  • Posts: 144
  • Thank you received: 7
3 years 3 weeks ago #69300

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

Time to create page: 0.776 seconds