Yes, it connects directly to the Pi.

I already had a case with space for a HAT, since this is a fairly common thing it is easy to find cases with space for the hat. The connection points are also all in the same location so you can easily find universal cases that support it.

The Waveshare motor hat connects directly to the same Pi that runs kstars/EKOS. It can drive 2 stepper motors at the same time, and has multiple connection options either via a standard connector, terminal blocks, or headers.

The HAT takes 12v input via a barrel connector, so it is easy to power alongside cooled cameras or other 12v things like dew heaters. No more need to have a 3amp usbc input to power the Pi as the HAT will power it directly.

You don't need to have the Pi near the motor, it uses a 4 wire connection and so you can easily get a wire long enough to place the Pi somewhere other than on the scope, mine is about a foot away from the focuser, but it could be farther.

Kevin has made a driver that will handle everything you need. It lets you set the stepping speed, motor backlash, etc.

It was super easy to setup for me, just put the HAT on the Pi, plug the wire from the stepper motor into the terminal block and then set the delay in the driver. The motor is connected to the fine focus shaft on my focuser and has no issues with torque. I removed the fine focus knob and used a coupler to connect the shafts. I did design and 3d print a bracket to hold the motor and connect to my focuser, but you can pick up a commercial metal bracket that can be adapted.

You do need to build the driver as it is not included in the Stellarmate OS, but, it is a very simple procedure, and all of the steps are outlined on the driver's page. You do need to figure out how to wire the motor into the HAT, in my case the motor was not labeled the same as the HAT, which was the only annoyance.

Once the driver is setup, you just use it like any other driver in kstars/EKOS.

Read More...

Vote 2 for the Waveshare if you are using the RaspberryPi.

I got it and a stepper motor from a local electronics shop and it cost me ~$50 to add autofocus to my rig.

Read More...

radon199 replied to the topic 'How to update Stellarmate ?' in the forum. 3 months ago

I normally update via the Updater tool, but when that fails I generate a backup using the web interface, and then re-flash the flash drive with the latest image.

Sometimes restoring from the backup doesn't work, but if you just look in the backup tar all it is is a copy of a bunch of files. It is easy enough to put the kstars files back where they should be as everything is relative to the root / directory.

The only annoying part of this is I have to connect to the hotspot and re-input my wifi password, but that takes all of a minute.

Read More...

I updated to a new install and the driver shows up under the focus options again.

I updated and cleaned the driver, and well see if it goes missing again for some reason.

Read More...

Sorry, forgot to include it : github.com/radon199/IndiDS18B20TemperatureSensor

It is my first driver, so not 100% sure on everything.

Read More...

I made a weather plugin for my One Wire DS18B20 temperature sensor so that I could use it as the focus temperature. The focus driver I use does not support focus temperature, so I wanted to use the fallback behavior of using the weather station.

The driver works fine, it shows up and connects via EKOS and I can see the current temperature and it updates as expected with the polling loop.

I got it to show up under the Focus temperature selection once, but now it no longer shows up ( just my cameras and the focus driver which doesn't actually display a temperature.

Is there something I can clear to make it show up again? What causes things to show up under the focus temperature selection?

Read More...

What is your motor micro-stepping set at? The plugin is hardcoded to 32 steps which is what the waveshare comes pre-configured with.
I would set your controller to a single step, and build the plugin again with the step size set to 1 as well, and try that.

Read More...

You should set "Delay per step" in a value between 50 and 200, or whatever works for you.

If you don't set this the motor will try and run as fast as physically possible, which results in it doing a whole lot of nothing because the torque is super low. I use around 150 or so, the docs say 200.

It might be good to default this value to 200 instead of 0 in the plugin.

Read More...

Thanks. I had the wrong PDF saved… I am running the latest firmware for both hand controller and mount, which is what it came with.

Read More...

I logged debug info for the iOptronV3 driver and this is the error. I am not sure how to debug multiple INDI drivers at the same time, as I am not sure what happens first, the ASI CCD failing to expose, or the CEM40 not returning to the command. I will debug the ASI driver next.

T22:02:59.795 PDT DEBG ][ org.kde.kstars.indi] - Image received. Mode: "Guide" Size: 1237440
[2022-09-07T22:03:01.151 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[SCOPE] RES <+2073037511691336011> "
[2022-09-07T22:03:01.181 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:GLS#> "
[2022-09-07T22:03:01.182 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] RES <-4432800050135700210931> "
[2022-09-07T22:03:01.182 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[SCOPE] CMD <:GEP#> "
[2022-09-07T22:03:01.182 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[SCOPE] RES <+2073037511691342011> "
[2022-09-07T22:03:01.182 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:ZE00080#> "
[2022-09-07T22:03:01.852 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:GLS#> "
[2022-09-07T22:03:01.876 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] RES <-4432800050135700210931> "
[2022-09-07T22:03:01.877 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[SCOPE] CMD <:GEP#> "
[2022-09-07T22:03:04.831 PDT INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM Mini : "[ERROR] Exposure failed after 3 attempts. "
[2022-09-07T22:03:04.831 PDT INFO ][ org.kde.kstars.ekos.guide] - "Exposure failed. Restarting exposure..."
[2022-09-07T22:03:06.879 PDT INFO ][ org.kde.kstars.indi] - iOptronV3 : "[ERROR] Read Command Error: Timeout error "
[2022-09-07T22:03:07.479 PDT DEBG ][ org.kde.kstars.ekos.mount] - Mount status changed from "Tracking" to "Error"
[2022-09-07T22:03:07.882 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:GLS#> "
[2022-09-07T22:03:08.446 PDT INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM Mini : "[ERROR] Exposure failed after 3 attempts. "
[2022-09-07T22:03:08.446 PDT INFO ][ org.kde.kstars.ekos.guide] - "Exposure failed. Restarting exposure..."
[2022-09-07T22:03:11.459 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] RES <> "
[2022-09-07T22:03:11.466 PDT INFO ][ org.kde.kstars.indi] - iOptronV3 : "[ERROR] bool IOPv3::Driver::getStatus(IOPv3::IOPInfo*): Expected 23 bytes but received 0. "
[2022-09-07T22:03:11.467 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[SCOPE] CMD <:GEP#> "
[2022-09-07T22:03:11.482 PDT INFO ][ org.kde.kstars.indi] - iOptronV3 : "[ERROR] Write Command Error: Write Error: Input/output error "
[2022-09-07T22:03:12.067 PDT INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM Mini : "[ERROR] Exposure failed after 3 attempts. "
[2022-09-07T22:03:12.067 PDT INFO ][ org.kde.kstars.ekos.guide] - "Exposure failed. Restarting exposure..."
[2022-09-07T22:03:12.457 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:GLS#> "
[2022-09-07T22:03:12.459 PDT INFO ][ org.kde.kstars.indi] - iOptronV3 : "[ERROR] Write Command Error: Write Error: Input/output error "
[2022-09-07T22:03:12.459 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[SCOPE] CMD <:GEP#> "
[2022-09-07T22:03:12.461 PDT INFO ][ org.kde.kstars.indi] - iOptronV3 : "[ERROR] Write Command Error: Write Error: Input/output error "
[2022-09-07T22:03:13.458 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:GLS#> "
[2022-09-07T22:03:13.460 PDT INFO ][ org.kde.kstars.indi] - iOptronV3 : "[ERROR] Write Command Error: Write Error: Input/output error "

The only part that is weird is this : [2022-09-07T22:03:01.182 PDT DEBG ][ org.kde.kstars.indi] - iOptronV3 : "[DEBUG] CMD <:ZE00080#> "

The driver has this as a guide command, but I can't find it in the RS-232 command set, that instead appears to be expecting motion commands to be prefixed with :M

Read More...

Simply sending a disconnect and then reconnect didn't work, even after resetting the USB subsystem and being able to see all the USB devices with lsusb.

Unfortunately I was debugging INDI and when I attempted to restart the server Kstars crashed, so I wasn't able to see if restarting the indi server while Ekos is active is a valid workflow.

I will try again when not debugging.

Read More...

I disconnected the iPolar and still had issues.

Has anyone else had issues with random dissconnects? A disconnect would be fine but this not only takes out the CEM40 but the entire USB subsystem. I have a script which allows me to reset it without rebooting the Pi, but it does require me to restart my EKOS session, which means I lose my guide calibration and previous focus FWHM. I would like to find a way to reconnect without needed to shut down EKOS/INDI.

Read More...

This is working great for me, but I am wondering how everyone is evaluating your backlash? Is there some way to do it easily? My though was to take images and measure how many steps before the FWHM changes in the guide module, but I am not sure if there is a more reliable way.

Read More...

Someone else posted that the USB port on the CEM40 can be a bit loose, and this can manifest in a disconnect during the meridian flip.

I would suggest using tape or double sided hook and loop to pull the USB plug to one side to create sideways tension on the USB cable in the port, preventing it from slipping backwards. It doesn't need to fall out to not connect properly.

I am having a similar disconnect although mine doesn't happen with excessive mount movement, and it isn't a simple disconnect, it takes down the entire Pi USB subsystem. Still trying to figure that one out.

Read More...