I just tested the myFocuserPro2 with the Jasem fix. The joystick number of steps follows perfectly the relative position setting and, cherry on the cake, the backlash is taken into account. It seems to me that it was not the case with the precedent solution.
Thanks Jasem, saved me some time. I am now playing with getting Astroberry up and running on RPi 4 (4GB). Good progress so far, indi and kstatrs up and running, just need auto logon and vnc support.
Here is a MAC guy, proudly built my 3D printed focuser rotator, both controlled by Arduinos, via Astroberry.
Very enthusiastically downloaded the new kstars, and immediately reprogrammed my focuser Arduino with Myfocuserpro2, only to find out that my Astroberry doesn't speak that language yet....
would be so eager to try, and don't want to wait until Astroberry is updated.
Is there a "RbPi3" for dummies, or a simple explanation/ tutorial how to get that INDI driver uploaded to Astroberry?
Never played with Mac, so can't offer any support other than to suggest maybe using VNC from the Mac to the RPi, and run the kstars there? That's how I use it, but from Windows. You might get a better suggestion in the general forum.
Ok, maybe somebody else is checking this out and finds it helpful ...
First, Thanks Alan, love that driver, and I would award you 2 or three extra Karmas....
Took my astroberry installation down because I never could update PHD2 it due to some weird Firefox error, installed Raspbian, but due to incompetence I was not able to complete KStars build/ install
Reverted back to Astroberry to have at least my previous used KStars solution; poked around a little and found an “install Updates” feature, and “what the heck” clicked on it. 1 hour later i returned, and was able to -for the first time- start Firefox.
Started PHD2- and to my total surprise it was up to date.
Started KStars, and it had updated to 3.3.7! Wow...
Started the INDI server, and the MyfocuserPro2 Driver was right there and started w/o problems.... WOW WOW
No other issues, your driver - and I checked it back and forth - is working great
Glad you sorted it, and thanks for replying with your findings on how you sorted it out. ( I hate posts that say " it's ok guys, I've fixed it now", with no explanation!)
But it crashes and crashes and crashes.... hangs on filter change mostly, and I understand that is a common problem, so probably not related to Myfocuserpro2, or my installation skills....
Are you aware of a solution, is there somewhere a Nightly builds maybe? Cant seem to locate that
Disregard, Culprit was a bad USB cable from hub to filter wheel
Thanks!
Imanaged to compile the sketch onto an Esp32 MCU and tested it under windows using the WiFi mode. It's working as expected.
Under indi, it doesn't appear to connect to Myfocuserpro2 driver using serial. I have checked and ensured I am in the tty group and tried various name to the sketch uploaded onto the Esp32.
Does anybody know if the driver is compatible with the esp32 via serial, or would modification to the driver be required for the esp32?
That code is not designed to run on the esp32. Running serial on an esp32 chip does not really make sense in terms of driving a focuser.
You do understand that the myFocuserPro2 has already been updated to the next generation using an ESP8266 or ESP32 chip, giving all the features of Bluetooth (ESP32), WiFi, ASCOM REMOTE and a host of other features, options.
Many thanks for making this project and others open source.
Yes I've been using the files under the link you posted. And using the firmware for the esp8266/esp32.
I think the driver in Indi (myFocuserPro2) has not been designed/modified to reflect the changes you have made from the original 'myfocuserpro2' to 'myFP2ESP'.
Btw, can you show me where I can access this version of your linux application....