Andrew replied to the topic 'Connecting indi via Bluetooth to a compuer' in the forum. 2 weeks ago

Thanks, but this is basically a nightmare for new users who have no background in LInux, there is no easy way for this?

Pair and connect BT Adapter
To the file /etc/rc.local add this line of code.
Don't miss the trailing & in this code and sub XX's for adapter MAC address.
rfcomm bind hci0 XX:XX:XX:XX:XX:XX 1 &


Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 weeks ago

Hello Kaczorek. Recently I noticed that although I have indi_amh_focuser.xml in /usr/share/indi, the driver is not on my list now. It only appears in a profile I have already set-up earlier. Not sure how to address this.
The driver does still function in that profile mind you.

Read More...

Andrew replied to the topic 'Astroberry Server' in the forum. 1 month ago

Dragonlost :

It is possible to add button for update raspberry time with GPS time in "GPS Pannel" ?

You may find this script useful GPSTime
There is a case for NTP not automatically setting system time from GPSD.
Depending on the source of the GPS time, for instance from what I've gathered, if it is an NMEA source, rather than PPS. I found that if the system clock is more than a few seconds off it will not use that source as it believes it is too far off to be accurate.
Running this script will force the system time to sync. And from there NTP should be able to do it's thing.
Don't miss in the thread post by BeJay to add -u to the set string in the script to set system time to local time rather than UTC.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 1 month ago

Here are the STL files for my focuser; including images parts list and some instruction/guidance. Some of these parts have been revised slightly but not tested, I don't expect there to be any issues with them. I designed tolerances into some parts that click together that work on the printer available to me. Different printers may offer different results. Gear shafts are particularly finicky.
Best of luck!

Read More...

Andrew replied to the topic 'Kstars/VNC keyboard issue' in the forum. 2 months ago

This was my experience at first as well and was discussed in one of my first threads. I also settled on X11VNC. I have also had a good experience with NoMachine and it's Android app.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Thanks Kaczorek. Take your time. This is just a report and I'm not even sure I will be using a joystick in this way.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Joystick controls don't appear to be functional. Dialog will report Focuser aborted messages, but does not abort. Messages appear after reaching position. Focus In/Out reports nothing.

Read More...

Andrew replied to the topic 'Dark mode Colour palette' in the forum. 2 months ago

I run everything on RP3.

Read More...

Andrew replied to the topic 'Dark mode Colour palette' in the forum. 2 months ago

I use LUbuntu in part because I found the way Ubuntu Mate handles these colours to be undesirable as was illustrated.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

I had a chance to use it tonight. And hats off to you Kaczorek, the driver works beautifully.
All I have left to do is address a few mechanical details. Even so the autofocus routine did settle on a good focus after about 10 shots.
Thank you very much.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

It looks like resetting the PWM did the trick. Nice work!

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Excellent. I'll have a look right away.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Today I mounted everything together and took the motor for a proper spin. I can confirm 14,000 steps is all I need for full travel.
The process takes about 225 seconds. It's rather slow, but I can live with it as my prime focus is mostly in. But if it is safe to increase speed, that would be nice.
I also found more backlash in my complete drive train. 100 doesn't appear to be enough after all, 300 or 400 should do the trick.
Final thought, as a driver for DIY focusers, other users may desire the ability to select within options the drive mode (Single, Double, Interleave Microstep) that best suits their choice of hardware. For instance if somebody chooses a stepper with 5:1 or even no gear reduction; they would probably benefit from Microsteps.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Kaczorek wrote: There's no dedicated function for disabling break/costing mode in the library


I was looking around for some examples of code for this and found one with a variable for Break. This is not my expertise, but maybe it's an example for what you are looking for.
github.com/adafruit/Adafruit-Motor-HAT-P...t_MotorHAT_Motors.py

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

1 Full main drive gear 10212 steps. Increased by gear on focus knob by 20:25. Factor of 0.8
8170 Steps for 1 full knob rotation. [10212*0.8]
14297 steps for full travel [8170*1.75]
Total Focuser Travel 40mm
0.0027mm/step [40mm/14297 steps]
2.7 microns per step
Critical Focus Zone 62 microns. Or 0.62mm

This should work well :)

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Kaczorek wrote: Does a stepper motor get warm after a while in the stop position? If so, it means it uses break/cost mode to hold the motor still in the last position. I will disable if it is the case.

It isn't working hard enough to get warm. But I can monitor the current it is using. The current remains elevated while in stop position, drawing an additional 0.2A at 12V. It definitely resists being turned in that state. I would agree with 'break/cost mode'

Kaczorek wrote: 500 is a lot for a backlash.

I opened it up to get a better look at the main gear shaft. My excessive backlash was mostly due to my 3D printed gear slacking up. I shimmed it with something and now backlash is only 20 steps. I will probably add a proper setscrew next time I can reprint it.

Kaczorek wrote: Could you check how many steps you need for 1 revolution of the motor?

1 full rotation of the main shaft is 10212 steps through the planetary gear reduction of ~51:1

Kaczorek wrote: I will not be able to do anything with this. It probably comes from wiringPi library OR it might power drop issue if you use raspberry pi to power your motor.

It appears this was an issue while connecting to the Indi Server via KStars Lite. (A step I took while trying to work out how to connect in KStars, to verify it was running.) It wouldn’t be due to power drop simply because the Motor Hat has its own separate power supply. I will monitor this as I go.

Read More...

Andrew replied to the topic 'Astroberry Focuser with Adafruit Motor HAT' in the forum. 2 months ago

Ok. I got it working! :woohoo:
I am accustomed to running everything from a profile in Ekos. So starting it from terminal was a challenge for me, and the folder /var/run/indi does not exist on my system. How can I add it to the list for focusers in the Ekos Profile Editor?
Onto my tests.
The motor drives very well. But once it reaches a position there is a hum.
Parking the motor via driver disconnect is fine, and power off properly, no hum.
I had no issues with speed set to maximum. Could even go higher.
100 Backlash steps is not enough for me. Will need at least over 200. Please increase to a generous 500 step limit.
It may be interfering with USB devices, such as WiFi dongle. Not necessarily the driver's fault. Will have to test further with more equipment attached.

Thank you :)

Read More...

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!