×

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

Bi-monthly release with minor bug fixes and improvements

Rpi DIY mount stepper control upgrade?

  • Posts: 151
  • Thank you received: 27
hi!
are you referring to my project - TSC - tscatm.wordpress.com/? well, the current status is that the controller part is quite complete, it works with skysafari, cdc, kstars and stellarium. it does not yet fully work with ASCOM as this is not relaible. in other words -the advanced ascom LX200 driver works sometimes, which is kind of frustrating. there was an issue with a windows virus on the repository, but this was clarified. what is not yet working is the autoguider. there is activity towards using cheaper stepper controllers for smaller scopes, but this is not my main goal right now. hope to bring this to life in the next few weeks/months. but actually, 2 of my sons are leaving our house and we have ongoing movin/piantin/flat reconstruction work going on all the time.

the 1/16 microsteps of the phidgets are a problem for very small gear ratios. however, with my 288 teeth wormwheel and a 1:9 planetary gear, i do not see any issues with that. the phdigets can drive steppers down to 70 microsteps/ sec (=7.9° / sec) without any visible effect...

in case you missed it - here is a little video that demonstrates TSC (
) alongside with a little GoTo action using skysafari.
and - here is a video that shows 15 minutes of following sirius in the prime focus of my 33cm/f/4 ...
... one sees PEC but that is it ...

if you wnat to give it a try, i will provide you with a sd-card running the system.

yours
wolfi
6 years 8 months ago #17757

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

  • Posts: 257
  • Thank you received: 22
On the gear ratio front, I cooked up this gear ratio spreadsheet using a similar one I found online. It also has some mount's shaft ratios listed. Could be handy for anyone in the design stages.
drive.google.com/file/d/0B7RyjEB940IOMm9...VjA/view?usp=sharing

As for my system, I've pushed back the upgrades till after the eclipse and have been chasing down other bugs getting ready for the big trip.
Besides Wolfi's extensive work(cool vids) I also found out that the Onstep guys, who started about when I did, have put together some very nice looking code for arduino. It's much easier to read than the "classes" warfare I inherited.

Ray
Last edit: 6 years 8 months ago by Ray Wells.
6 years 8 months ago #17763

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

  • Posts: 30
  • Thank you received: 3
Sorry for the delay in my response. Thank you both for your helpful replies. Wolfi, I would love an SD card image to experiment with-- are you speaking of an SD image suitable for Raspberry Pi 3 Hardware? I need to order the appropriate stepper and the phidgets controller board.. A recommendation for a good stepper motor choice would be helpful as well as any sourcing recommendation for a planetary gear. I would just love to be pointed in the right direction sourcing wise. I am stuck with a 180 tooth gear RA only drive for now but i am looking for additional Worm drives to play with. Blueshawk thanks for the Gear ratio info and I'll peek at your solution as well.
6 years 8 months ago #17801

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

  • Posts: 151
  • Thank you received: 27
hi!
yes, it is about 8 GB, and you can directly dd it on a 16 GB SDcard, or i will send you a card for the cost of the card+postage. what do you prefer? this runs raspian directly on a raspi3 model B.

and if you have 180 teeth, you should go for a 1:15 planetary and a bipolar stepper. how heavy is your mount? the drivers are two phidget 1067 boards ...
yours
wolfi
The following user(s) said Thank You: Hellriegel
6 years 8 months ago #17803

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

  • Posts: 257
  • Thank you received: 22
I tested my share link and realized it need explaining. To use the worksheet you need to either download the .ods file and use a spreadsheet or open it in google sheets and then you can change the gear ratios and see calculated output right away. I found it especially useful for balancing planetary gearheads and or belt/pulley ratios against my fixed wormgear(130) at various microstep ratios. Also be aware that torque drops as you increase steps/per step which could lead to stalling when you hang that SBIG camera on the back. lol

Everyone please feel free to check my math on this. Any errors found would be appreciated. Expect some argument though, especially late on a Saturday night so be ready to show your work. :P
I based the targets on getting a sub 1 arc second per step ratio, which theoretically should not show up on sensors due to atmospheric limits. That said, aiming low is better for AP, and getting a fair median of around .5 seems like a good plan for observational use where goto may need to be faster to avoid sleep. :D
6 years 8 months ago #17815

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

  • Posts: 151
  • Thank you received: 27
hi!
the spreadsheet looks reasonable. with my setup (288 teeth worm wheel, 1:9 planetary, 1.8° per step, 1/16 microsteps) i have a theroetical resolution of 0.15 " ...
however, there is a version int making that uses lower currents and standard drivers that support 1/32 or 1/128 microsteps. still it is to be said that the phdiget boards are more sophisticated than the DRV 8825 or the RAPS 128, which are tested right now. i have no experience, how these work on the telescope, on my desk, they do ...
yours
wolfi
The following user(s) said Thank You: Ray Wells
6 years 8 months ago #17835

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

  • Posts: 257
  • Thank you received: 22
I just got some drv8825 boards to play with but haven't tried them yet. Things are no bigger than a postage stamp!
The new ultra low on resistance power components are TINY. The first time I replaced one at work (industrial repair) I didn't believe the spec sheet. I read somewhere that most steppers will be at max smoothness around 1/10 and that more doesn't really help, but then the paper wasn't trying to do AP on a portable gem. :P
0,15! I imagine slew rates would need to be controlled on a large mount like that but I was aiming for .8 to .5 on mine.
mine is an omni cg-4 which I hear is similar to an eq3. The RA worm is 130t and I was looking at using a 5:1 ratio with 16-32s/s to get under the 1 arc second per step margin.

This stuff takes a while to get in your head but gets easier once you see it all working, in theory anyway. LOL
6 years 8 months ago #17843

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

  • Posts: 151
  • Thank you received: 27
hi! I pesonally also doubt the benefits of 1/128, but taste may differ. i can do 0.5 deg/s on both axes...
the drv get's very hot :/
yours wolfi
6 years 8 months ago #17849

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

  • Posts: 35
  • Thank you received: 5
I'll add my tuppence worth:

Assuming standard bi-polar motors: NEMA stepper motors have two important descriptions you will need to review for your application. 1. The physical size of the mounting face (NEMA 8, 11,17,23,34) all refer to the dimension of the front face. 2. The Force/current rating, which will in part determine the number of coil stacks used in the windings and so defines the height of the motor. (lower the impedance, higher the force, higher current requirement, more windings = bigger motor). Most of the standard motors are designed to 1.8 deg full step, but driven by a micro-stepping unit you can improve the resolution further.

I have chosen NEMA-8 for a telescope focuser, with 0.25Nm with roughly a 50:1 gearing ratio . This tiny (6cm) motor is perfect for the job, but still well over powered/engineered. A stepper motor from a CD player would have just about been enough.


I would expect that NEMA 17 would be about the size (maybe even smaller would do) for your application (assuming you are using worm drive gears), but you might need a higher force depending on your mount loads you are planning.

My 3d printer uses NEMA 17, but others work well on NEMA11.


I'm running NEMA 23, 8Nm for a CNC machine, it has over 300kg of force on the spindle to drive the axes.

You might also consider motors with built-in position decoders - they do exist but only for the large motors - a bit pricey too, and interfacing them to a raspberry pi might prove interesting. This would be the approach I would investigate if I were considering this project.

One final point. I would strongly recommend using a proper stepper motor micro-controller units which is able to drive higher voltages (and I would recommend using 24v - all motors will tolerate this). These controllers avoid burning the steppers out by regulating the current flow allowed into the motor, and so get far more force/power for the motor size (important if size is an issue for you). These controllers also lower the power consumption with idling and current profiling on load, which keeps them cool (a point that wbirk has made), and a good quality one will also opto-isolate the inputs/outputs to protect your equipment from motor back EMF.
I've not used the DRV8825 boards myself, they are going to be much better than and Easy Driver boards, and will profile currents, but I'd be concerned about the heat/size. My 3d printer uses DRV8825, and they have been known to fail under loads for long periods of time. I have sourced drivers off ebay for £5 that are the size of 4 flat stacked of iphone 6s, and seem to me to be more robust and suitable for passive cooling. I would only use DRV8825 with heatsinks stuck in the IC and a small fan running over them.
Last edit: 6 years 8 months ago by Rob Jones.
6 years 8 months ago #17869

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

  • Posts: 257
  • Thank you received: 22
Good info Rob!, Your CNC can almost pick up Wolfi's telescope! :P i'm gonna fry these drv8825's and then worry about transients. LOL The fet h-bridges in the chip have flyback diodes to shunt power to the supply which should prevent most problems.
@wbirk: Do you have that RPI TSC/raspian ISO online somewhere I can get a copy? I just happen to have an Rpi3 laying fallow at the moment after replacing it with my notebook pc and VNC for the indi system and I'm thinking about building a mockup of the upgrade to try things out.
6 years 8 months ago #17874

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

  • Posts: 151
  • Thank you received: 27
hi! i can try to give you a link, but i need an e-mail address. be aware that tsc works with the 1067 phidget board only right now...
yours
wolfi
The following user(s) said Thank You: Ray Wells
6 years 8 months ago #17878

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

  • Posts: 30
  • Thank you received: 3
I messaged email for that TSC Raspian RPI3 image thank you! I am attending an out of town conference early next week but I will take a look at it as soon as possible.

Rob I appreciated your comments about sizing and other considerations for steppers. I have a garage sale LX3 8 inch SCT that I have done a full tear down on. I was able to replace a connector and the power supply and restore it to full electronic functionality. l think it is probably worth keeping it intact as is, given that even old hand controller still works, but I thought while having it torn down might allow me to play with a stepper and see how RPI tracking might work. I suspect something in the NEMA-17 15:1 as recommended might handle the load just fine properly balanced but if I were investing already in a geared stepper maybe a 23 would be good for other experimentation.THe phidgets board I want to have anyway has isolation and safety features.

After attempting to image on ALT/AZ on a wedge for abit I am at that point many people arrive where they feel they want to drop the money for an ATLAS or CGEM or such more robust mount. I frankly would rather use that investment as an opportunity to fashion a custom mount at my fixed dark sky location. Portability is not an issue. I would love to build something hardware wise simiar to this astro.neutral.org/homemade-diy-gem-telescope-mount.shtml using rpi stepper control.

I have access to a motivated and talented machinst who owns a professional shop with astronomy interest but no experience in mount design. Have any of you seen a ATM mount design you love that would support payload similar to the ATLAS or CGEM mounts that I could use as a good starting point to specify my own design? I liked the demo of the TSC GUI and the fact it still operated with Kstars etc.
6 years 8 months ago #17888

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

Time to create page: 1.012 seconds