×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

myFocuserPro or myFocuserPro2 and INDI

  • Posts: 62
  • Thank you received: 10
Gentlemen,

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?

Thanks
Last edit: 2 years 8 months ago by Michael.
2 years 8 months ago #45743
The topic has been locked.
  • Posts: 77
  • Thank you received: 14
I built an RPi4 atsroberry at the weekend, and it picked up the MyFoucserDriver. I based it on the Raspbian setup.

What versions have you currently got installed for OS, kstars etc.
2 years 8 months ago #45752
The topic has been locked.
  • Posts: 62
  • Thank you received: 10
like i said, I don't know nothing....

I downloaded the current Astroberry image(1.1.0) and flashed it. its running under Ubuntu Mate

up to this point I was running Kstars on my iMac, und only PHD2 and INDI server on RbPi at the scope...


Thanks
2 years 8 months ago #45757
The topic has been locked.
  • Posts: 77
  • Thank you received: 14
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.
2 years 8 months ago #45778
The topic has been locked.
  • Posts: 62
  • Thank you received: 10
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

Now I just will have to get me a RbPi4
2 years 8 months ago #45811
The topic has been locked.
  • Posts: 77
  • Thank you received: 14
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!)
The following user(s) said Thank You: Clive Stachon
2 years 8 months ago #45815
The topic has been locked.
  • Posts: 62
  • Thank you received: 10
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!
Last edit: 2 years 8 months ago by Michael.
2 years 8 months ago #45863
The topic has been locked.
  • Posts: 29
  • Thank you received: 5
Hi,

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?
2 years 8 months ago #46103
The topic has been locked.
  • Posts: 35
  • Thank you received: 3
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.

sourceforge.net/projects/myfocuserpro2-esp32/

Regards
Robert
2 years 8 months ago #46116
The topic has been locked.
  • Posts: 29
  • Thank you received: 5
Hi Robert,

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....

sourceforge.net/projects/myfocuserpro2-e...5-17-28.png/download

myFocuserPro2Linux doesn't have the Wifi port box that myFocuserPro2Elinux appears to have in that .png

Once again, Many thanks.
Will.
2 years 8 months ago #46138
The topic has been locked.
  • Posts: 35
  • Thank you received: 3
myFP2ESP WiFi was not designed to work as a serial usb controller (though that is possible).
The firmware for it was designed from scratch, and now has been ported over to myFocuserPro2
myFP2ESP controllers use the same protocol commands and responses as a myFocuserPro2
So if a myFP2ESP controller is running in LOCALSERIAL mode it will talk happily over USB with the myFocuserPro2 Windows app, myFocuserPro2 ASCOM driver andpresumably the INDI driver (as I do not have a LINUX system running INDI that I cannot verify but it should).

myFocuserPro2Linux is just a Linux version of the myFocuserPro2 Windows app designed to work over a serial port connection. It does not use TCPIP

myFP2ESP Windows app uses a TCPIP connection and can talk to myFP2ESP controller via TCPIP.
It is found at (Name will change soon to myFP2ESPLinux)
sourceforge.net/projects/myfocuserpro2-e...Linux%20Application/

Actually, taking the existing INDI driver for myFocuserPro2, it should be able to be modified (clone and then rename to myFocuserPro2ESP?) to use TCPIP instead of serial to communicate with the myFP2ESP controller - most of the INDI code is already done, just change the serial code to use TCPIP instead. Happy to provide source code examples of Linkux TCPIP socket code talking to an myFP2ESP controller to anyone interested in coding a driver,

Regards
Robert
The following user(s) said Thank You: Wilson Muchenje
2 years 8 months ago #46151
The topic has been locked.
  • Posts: 77
  • Thank you received: 14
If someone wanted to donate a working device I would be happy to have ago at porting the existing driver.
2 years 8 months ago #46214
The topic has been locked.
Time to create page: 0.429 seconds