×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

SQM-LU driver

  • Posts: 456
  • Thank you received: 76

SQM-LU driver was created by Derek

Does anyone know if there is a driver for the USB version of the SQM
www.teleskop-express.de/shop/product_inf...nfo/p3793_Sky-qualit sery-meter--lens-version--with-USB-connectivity.html


I see there is a driver for the one with the ethernet link
www.indilib.org/devices/auxiliary/sky-quality-meter.html

If not, would anyone know about the serial protocol? I'm interested in getting one of these.
Thanks,
Derek
6 years 10 months ago #16995

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic SQM-LU driver

I'd imagine it uses the same protocol. If that's the case, then only a simple modification to to the existing driver is required to make it use USB. But I only implemented a minimal driver without all the features supported by the protocol.
Last edit: 6 years 10 months ago by Jasem Mutlaq.
6 years 10 months ago #16998

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic SQM-LU driver

Yes it looks like it is. I asked Anthony from the company that makes them. The protocol is published openly. I'm thinking of getting one. If I do I'll submit a PR for the driver changes.
Derek
6 years 10 months ago #17002

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic SQM-LU driver

I got my SQM-LU yesterday and just started looking at the existing driver.....

I'm thinking of changing the existing driver to extend both the TCP and Serial (is this possible?) and let the user choose the connection in the options .

Is there any example of an existing driver that has both TCP and Serial?

Thanks,
Derek
6 years 8 months ago #17840

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic SQM-LU driver

There is really no difference, you just get a file descriptor in both cases that you write to and read from.
The following user(s) said Thank You: Derek
6 years 8 months ago #17844

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic SQM-LU driver

Thanks Jasem,
I think I'm struggling with something more basic :-)
Like how to add the Serial class as well as having the TCP class in sqm.h...
namespace Connection
{
class TCP;
}

I'll hack around with it later and see how far I can get.
6 years 8 months ago #17845

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic SQM-LU driver

It's trivial, check how inditelescope.h is doing it. same thing.
The following user(s) said Thank You: Derek
6 years 8 months ago #17846

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic SQM-LU driver

For anyone following, I just raised a PR to add USB connectivity.
Feedback & testing welcome..
github.com/indilib/indi/pull/317
The following user(s) said Thank You: Jasem Mutlaq
6 years 8 months ago #18160

Please Log in or Create an account to join the conversation.

Time to create page: 0.436 seconds