I've build the focuser and it works like magic under Windows/Ascom.
My field laptop on other hand is with Linux and Im using it with KStars and Ekos/indilib quite successfully. I've tried to run the focuser with the indi moonlite driver.It connects, reads the states but nothing more. Is there any chance for driver for linux?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Milen
Please post or send me a picture of your build, would really like to see it.
Congrats on getting things working.
Though I used to teach Unix system admin, sockets programming and a heap of other stuff way back in the day, I dont have the environment or tools to write an app for Linux. I guess it could be done with the Lazarus Pascal Free Compiler? I think I still have the original Lazarus code (admittedly Win based) for the focuser.
Writing an app shouldnt be too difficult as the protocol is well documented and it works over serial, so if the Linux machine has access to a serial port then this is really a no brainer. Just needs someone with the time and skills and sw/hw to do it (at this stage that would not be me - but I will help any way I can to whoever might want to do it).
I suspect the indi moonlite driver is doing something different, if you have the source or can find the source send it me to me and I'll see if any changes can be done to the arduino code that might make it work.
Best solution is to write a linux app though. What Linux version are you using? (Just in case I get some spare time to look at it)
Please use my email to communicate - it will be quicker
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you used the latest reset circuitry on your build - the 47uf electrolytic capacitor between RST and VCC? Can you try this with the INDI driver and report back?
When you say " reads the states but nothing more" what does that mean?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Robert,
I've tested it with INDI with debug on. There was no errors at all except time out on the first connect , but that happens with all my arduinos under Linux. Everything works fine except there is only support for full and half step.
Thanks again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Milen,
Many thanks for your efforts in testing this. The moonlite driver will only support full or half steps so that is expected. The timeout on the first connect should be overcome by using the reset circuitry.
Once again thanks, at least now its going,
Cheers
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've build the focuser and it works like magic under Windows/Ascom.
My field laptop on other hand is with Linux and Im using it with KStars and Ekos/indilib quite successfully. I've tried to run the focuser with the indi moonlite driver.It connects, reads the states but nothing more. Is there any chance for driver for linux?
Hi Milen
Please post or send me a picture of your build, would really like to see it.
Congrats on getting things working.
Though I used to teach Unix system admin, sockets programming and a heap of other stuff way back in the day, I dont have the environment or tools to write an app for Linux. I guess it could be done with the Lazarus Pascal Free Compiler? I think I still have the original Lazarus code (admittedly Win based) for the focuser.
Writing an app shouldnt be too difficult as the protocol is well documented and it works over serial, so if the Linux machine has access to a serial port then this is really a no brainer. Just needs someone with the time and skills and sw/hw to do it (at this stage that would not be me - but I will help any way I can to whoever might want to do it).
I suspect the indi moonlite driver is doing something different, if you have the source or can find the source send it me to me and I'll see if any changes can be done to the arduino code that might make it work.
Best solution is to write a linux app though. What Linux version are you using? (Just in case I get some spare time to look at it)
Please use my email to communicate - it will be quicker
Have you used the latest reset circuitry on your build - the 47uf electrolytic capacitor between RST and VCC? Can you try this with the INDI driver and report back?
When you say " reads the states but nothing more" what does that mean?
If anyone can test it on INDI with moonlite driver - please enable the debug driver option and send me the debug logfile that would be appreciated.
Hello Robert,
I've tested it with INDI with debug on. There was no errors at all except time out on the first connect , but that happens with all my arduinos under Linux. Everything works fine except there is only support for full and half step.
Thanks again.
Hi Milen,
Many thanks for your efforts in testing this. The moonlite driver will only support full or half steps so that is expected. The timeout on the first connect should be overcome by using the reset circuitry.
Once again thanks, at least now its going,
Cheers
Robert