esb wrote: And... the stepper is working again this morning. So maybe something overheated? I'll play around with the step delay to see if that helps things. I do think that using a 32 multiple with 1/32 micro steps will work OK as the amount of rotation of the focuser is almost undetectable at that step size. However that only gives me about 500 total steps from min to max and it looks like the focuser driver class may have a lower bounds of 1000 steps for the max step value (at least in the UI I can't lower it below 1000).
JonCarleton wrote: Great work on this project!
I originally started with an Arduino with a HAT driving a NEMA 17. It worked, but I had to use a Java program to talk to the Arduino, as I didn't find any existing driver for INDI at the time. I use a Pi for my INDI server on the scope, so finding your solution with the WaveShare HAT was exactly what I was looking for. It was seamless and works well with the NEMA 17, given the gear setup I used to connect to the stock SkyWatcher Crayford focuser.
I am running Raspbian on the Pi4 without permission issues. However, I do plan to move to Ubuntu when they get the bugs out of their 64bit desktop version. I did try the 64bit server version, but it seemed a bit unstable on the Pi4. If I have permission issues, I can deal with them at the OS level unless you tell me there is some other reason to move to this new release. The version I used is about a month old.
Your instructions were excellent. All went as planned. I get about 2400 clicks per full focus extent out of my geared setup, and that seems good enough for my uses presently.
THANK YOU THANK YOU THANK YOU!!!!