Comments (14)
I doubt it very much that JMI focuser would be compatible with USB_FocusV3 and I don't know where Stellarmate gets that from. Maybe they use similar microcontrollers and USB ids, but USB_FocusV3 has their own vendor id and not SparkFun which is a popular Arduino-style DYI board.
from indi.
Here is a snippet from the Stellarmate Dashboard for the JMI Motofocus Plus.
from indi.
Is there anything that can be done with how Stellarmate is recognizing the JMI Motofocus Plus as USBFocusV3, or are you able to properly identify the JMI Motofocus Plus and create a proper driver to have it correctly recognized by Indi. Thank you.
from indi.
All those ids are different than what USB_FocusV3 uses so it looks like an error in the StellarMate info, not just accidental ID overlap. I don't know if there's a driver for JMI Motorfocus Plus, but creating one would be fairly straight forward if the protocol is documented. Obviously having a device to test with would help too. However there seems to be a JMI SmartFocus driver which might be worth trying as well. If you have Windows drivers for the device, it would also be possible snoop the traffic for protocol info like I did for USB_FocusV3 originally.
from indi.
from indi.
I took a closer look at what kind of device you actually have and it seems to be a so called relative focuser and not absolute focuser so that rules out the SmartFocus driver even they are from the same manufacturer. So it would require writing a new driver, but that is fairly simple based on one of the similar drivers we already have like nFocus, but requires info about the serial protocol so the commands and responses would match.
I couldn't find any documentation on that so it would require capturing the serial port traffic starting from connecting with the Windows program and using all the necessary features and document all the steps so they can be correlated with the serial traffic. Like: connect - move focuser inwards - move focuser outwards - change some setting - and so on. I did that with the USB_FocusV3 and it was quite straight forward to reverse engineer the protocol that way and your focuser has even less functionality and hopefully complexity. For Windows there are some free programs that can capture serial port traffic quite easily. Easiest is probably PortMon (https://learn.microsoft.com/en-us/sysinternals/downloads/portmon).
If you can provide such a capture, I can take a look and probably make the driver fairly easily, but can't test it without the device obviously. If you have compilation environment yourself, you could then compile the driver yourself, but I can also provide x86_64 binary or maybe Jasem as he's the main StellarMate guy. That said, I have no affiliation with StellarMate, I'm just a volunteer like most INDI developers so no promises or commitments, but it seems easy enough that I should have time to do it fairly quickly as I have done quite a few drivers already. And thanks to open source I can do mostly a copy & paste with some search & replace from an existing driver :)
from indi.
from indi.
Hi Jarno. I'm considering mailing you the JMI MotoFocus Plus for you to develop the driver. Is this possible if I pay all the shipping fees?
from indi.
That's probably not necessary, and would be quite a hassle with customs etc. unless you live in EU. I can go through the steps required for capturing the serial traffic from Windows or we can setup a remote session with TeamViewer or similar, assuming we can find a common time :) I live in UTC+2 (soon UTC+3 due to DST).
I haven't used PortMon for a while and had some issues getting it to run with my Windows 11 machine, but got https://freeserialanalyzer.com/ to work. It can dump the traffic to window and also to some kind of replay log file.
from indi.
from indi.
It shouldn't make a difference if the controlling software is ASCOM driver or a standalone program, serial communication with the device should be the same. I think (not sure) that ASCOM expects focuser to be an absolute one, ie. being controlled with absolute step counts and being able to recall the exact position. A relative focuser is kind of control for the buttons so it just moves in and out and is controlled by time (and possibly speed) so it's not as accurate to control as an absolute one. Autofocusing is easier with absolute focuser, but I have a vague recollection that Ekos also has some support for relative focusers with the one-pass linear algorithm.
Seems PortMon requires a 32-bit Windows version which explains why it didn't work with my Windows 11 anymore. I had used it back in the day with a Windows XP machine and there it worked fine. But the Device Monitoring Studio I linked above worked fine. It's quite limited in free functionality and nags about paid features, but should be enough for this case as we don't need any fancy protocol decoders or such.
from indi.
from indi.
This issue has been inactive for 60 days and is being marked as stale.
from indi.
This issue has been closed due to inactivity.
from indi.
Related Issues (20)
- Pegasus PPBA/M missing auto dew aggressiveness setting HOT 4
- "Fast Exposure" option undocumented and unclear HOT 5
- Sesto Senso 2 Bug on TimerHit breaking AF Overscan in Ekos Focus HOT 1
- Sesto Senso 2 Not reporting focuser position correctly
- indi-rpicam does not install HOT 1
- Change french translation for "Pier Side" HOT 1
- Build fails with LTO HOT 3
- SCT focuser interface compliance HOT 6
- Joystick support for SCT focuser HOT 2
- Bug in fli_pdf focuser driver not handling AF Overscan properly HOT 3
- Telescope properties are missing on version 2.0.6 HOT 1
- Takahashi Temma Driver Co-ordinates and Feedback Bug HOT 2
- Error when compiling sources from repo HOT 3
- USB_Dewpoint HOT 5
- Add Pulse Guiding to LX200 Classic Driver over Serial Port HOT 2
- indilib.org off ?
- FITS header HOT 2
- After KStars last update, indi_scopedome_dome driver crash HOT 13
- Add indi-ipx800v4 Driver HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indi.