×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Stepper focusser directly from Raspberry

  • Posts: 314
  • Thank you received: 34
ok thanks, my image of the focuser becomes clearer. I think I will also bend a piece of aluminium. Do you control your focuser in indi or outside indi?
--= human, without Windows™ =--
pls excuse my bad english! :)
8 years 8 months ago #4626

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

  • Posts: 8
  • Thank you received: 0
Currently outside of INDI. However user Kaczorek kindly pointed me to the astroberry sources, and i'm trying to incorporate a driver for my motor in that software. But there's a lot to learn so the process is slow, but interesting...
Last edit: 8 years 8 months ago by Gerrit Jan Baarda.
8 years 8 months ago #4627

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

  • Posts: 983
  • Thank you received: 375
I needed a focuser for my SCT. I decided to use builtin focuser knob which moves the main mirror. This results in inherent field of view shift when changing direction of focusing, but I can leave with this. For Crayford focuser the solution suggested by mrpraline looks very nice. I used 2 gears instead transmission belt. This way I minimized backlash of the system.
All you need is Raspberry Pi + stepper motor + stepper controller + astroberry driver (major update is coming soon).
To keep it simple I decided to power a stepper motor from RPi with 5V. Therefore I used low voltage motor (PG2528-0502U 5V 0.2A 0,5Nm) and controller ( DRV8834 10,8V 2A). I use USB type B port (4 pins for 4 wires of bipolar stepper motor) on focuser side and standard USB port on RPi side. This way I use standard USB type B cable to connect the devices. If you decide to use this solution make sure you don't connect any other usb devices to the focuser port on your RPi. It tramsmits 5V impulses to your stepper motor which could be not good for anything else, including your CCD (!).
I use KStars for remote controling of my mount, ccd and focuser, including precise autofocus with Ekos. This is really cool!
Mechanical design is documented in attached simple FreeCAD files (also available on the project site ). It would be just perfect to have files ready for 3d printing but I will leave it to an expert. In the meantime I used copper laminate as the main building material.
8 years 8 months ago #4631
Attachments:

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

  • Posts: 314
  • Thank you received: 34
@Kaczorek very nice! :) My parts list will be complete soon.
I think I will go with the DRV8834 too. I will try a belt drive and try to re-use the original focuser knob since
these are screwed on an strange small shaft that would make require extra money to buy an shaft adapter.
I will buy an aluminium angle with 100x100x1000mm and 1mm thickness and then cut into parts. Its quite cheap and should match between this white plate and the four screws. For the stepper I think I will try this one: Bipolar, 200 Steps, 28×32mm, 3.8V, 0.67A . I borrowed my old pair of EQ5 Motors, IF I will get them back I can maybe use one of these instead. For the motor shaft I will try such a OpenBuilds GT2 (2mm) Aluminium Timing Pulle y

--= human, without Windows™ =--
pls excuse my bad english! :)
Last edit: 8 years 8 months ago by pauledd.
8 years 8 months ago #4632

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

  • Posts: 8
  • Thank you received: 0
Are the black ribbed grip sections rubber rings? If they are, why don you just remove one and use a rubber band straight on the motor axes? Then you will have a free 'manual override' function too...
Last edit: 8 years 8 months ago by Gerrit Jan Baarda.
8 years 8 months ago #4633

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

  • Posts: 983
  • Thank you received: 375
I have just uploaded new version of Astroberry drivers. Check this out
8 years 8 months ago #4641

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

  • Posts: 314
  • Thank you received: 34
Thank you, I ordered the motor and driver board today. I think I can do first tests at the weekend :)
--= human, without Windows™ =--
pls excuse my bad english! :)
8 years 8 months ago #4643

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

  • Posts: 314
  • Thank you received: 34
Yes they are. But the problem is I have trouble to find a good & cheap combination of Timing belt drives with 5mm shaft for my motor and an fitting belt.
I also want to prevent ordering every peace at an different shop which would make it all unecessary expensive. I will now order the aluminium,tools at amazon, cogwheels at Conrad and motor and driver another shop...

I changed my plans to use pure cogwheel solution now. One big with 60 teeth that fits perfect on the 4mm shaft of the focuser and one pinion with ~20 teeth for the motor. Because the two wheels would be very close, may too close I think I will change the mounting also. A Ventilation pipe clamp should be used to mount the motor. Painting will follow..
--= human, without Windows™ =--
pls excuse my bad english! :)
8 years 8 months ago #4644

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

  • Posts: 314
  • Thank you received: 34
I think I have it all together now. I will use:

Stepper: SY28STH32-0674A 1.8° 3.8V, 670mA 600 g-cm
Driver: DRV8834
Mount Angle: Aluminium angle 10x10x1000mm (1mm thickness)
Allen screw 8x M2.5 8mm
Pinion M0.5 13 teeth 0.5mm shaft
Gear M0.5 60 teeth 0.4mm shaft
Shaft 4mm 500mm (to replace the original one that came with the telescope (to short/ D-profile))


Here are some images. I only fear that the aluminium profile would not be stiff enough but I think 1mm thickness should be ok. And I dont know how
to fill the space between the allen screws but I will try some shims.



--= human, without Windows™ =--
pls excuse my bad english! :)
8 years 8 months ago #4647

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

  • Posts: 983
  • Thank you received: 375
pauledd it looks fantastic! I'm really looking forward to see the actual pics over weekend.
There's a hint - I would highly recommend that you drill bigger holes (or horizontaly elongated holes) in motor-side mount plate. This way you can adjust motor shaft axis when needed for smooth operation of the focuser. Good luck and let us know of the results!
8 years 8 months ago #4653

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

  • Posts: 314
  • Thank you received: 34
Ok, I think I need a bit help with the wiring. Iam not very much into electronics and I dont know if this will work or burn my raspi :whistle: . I tried to follow the instructions from the astroberry readme but maybe (Kaczorek?) someone can cast an eye on my plan.
Because the motor only needs 3.8V and 0.68A (per phase!) shouldnt it be possible to power it from the raspberry pi (I have Model 2) 3.3V PIN itself? And if 3.3V is to low I could go to the 5V PIN and lower it with an resistor of (5V-3.8V)/0.68A=1.8 Ohms 1W.
Here is the plan for raspi 3.3V powered stepper:


I think I was wrong! The motor uses 0.6A per coil, that is 1.2A and that's way to much for the 3.3V Pin and even for the 5V Pin of the RP2. I consider using external power supply for the stepper (VMOT)

--= human, without Windows™ =--
pls excuse my bad english! :)
Last edit: 7 years 5 months ago by pauledd.
8 years 8 months ago #4658

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

  • Posts: 983
  • Thank you received: 375
Pauledd it looks ok. In my project I'm using 5V directly from RPi. However I use 5V stepper motor. Powering your 3.8V motor with 5V will make it go faster. If you don't want to take risk (for the motor, rpi is safe and in critical case it would cut the current if it's overloaded) just decrease voltage from 5V to 3.8V with a resistor as you said or try using 3.3V from RPi. In the latter case the motor will go below nominal speed. I'm not sure about maximum current on 3.3V taken from GPIO but I believe it's way over 0.6A.
8 years 8 months ago #4659

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

Time to create page: 0.478 seconds