Go Back   IceInSpace > Equipment > ATM and DIY Projects
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 21-03-2016, 03:36 PM
bugeater (Marty)
Registered User

bugeater is offline
 
Join Date: Feb 2015
Location: Mitcham, Vic
Posts: 313
Roll your own autofocuser

I saw some others have had a go at putting together their own arduino driven focusers, so I've had a go with some success. Total price is probably under $100 and is mostly the stepper motor.

This is the one I built: https://sourceforge.net/projects/ard...controllerpro/

I used the recommended configuration and had it up and running with almost no problems. Only thing is the stepper motor did get very hot, but I think that means I need to play with the DRV8825 board potentiometer to get the current right.

The actual stepper motor mount is one I modified from another design in Blender and 3D printed in ABS. It's for a Skywatcher 200P with the Nema17-PG27 stepper motor, and the design can be found on thingiverse.

So now I can control the whole setup from inside my house - nice. I'd highly recommend people give it a go if they want to save a bit of cash versus a commercial product, though factor in a reasonable amount of time to collect all the components and to put it together.
Reply With Quote
  #2  
Old 22-03-2016, 05:35 PM
jwoody's Avatar
jwoody (Jeremy)
Registered User

jwoody is offline
 
Join Date: Aug 2011
Location: Ormeau Hills, Australia
Posts: 372
Hello Marty.
Nice project, well done. Quite satisfying going the DIY approach I find.

I am finishing a similar project but mine is an Arduino telescope camera rotator. It works well but how do you make it ASCOM compliant? Does that require some specific coding? Would be nice to control it within Astro Photography Tool.
I am going to have a read through your pdf of the project and see where that takes me.
Cheers
Jeremy
Reply With Quote
  #3  
Old 22-03-2016, 06:19 PM
bugeater (Marty)
Registered User

bugeater is offline
 
Join Date: Feb 2015
Location: Mitcham, Vic
Posts: 313
Hi Jeremy,
I followed a project developed by someone else, so they'd written the ASCOM drivers. That's well beyond my abilities. Ultimately a focuser and rotator arent really very different though, so maybe you could repurpose a focuser driver if you programmed the arduino right?
Reply With Quote
  #4  
Old 26-03-2016, 10:14 PM
Astroman's Avatar
Astroman (Andrew Wall)
<><><><>

Astroman is offline
 
Join Date: Feb 2005
Location: Paralowie, South Australia
Posts: 4,367
In the documentation it says about being compatible with the Moonlite stepper, does this mean, I can wire it up to suit the Moonlite Hi-res stepper and it would work? If so are there any wiring diagrams for this and has it been tested?

I have a Freetronic "Eleven" board which is 100% Arduino compatible, basically the same as the Uno board. Can the Stepper controller be modified to suit this board? I also use the Easydriver board for stepper control.

Freetronic Eleven website: http://www.freetronics.com.au/produc...n#.VvZuUeJ97iw
Reply With Quote
  #5  
Old 27-03-2016, 10:29 PM
bugeater (Marty)
Registered User

bugeater is offline
 
Join Date: Feb 2015
Location: Mitcham, Vic
Posts: 313
Quote:
Originally Posted by Astroman View Post
In the documentation it says about being compatible with the Moonlite stepper, does this mean, I can wire it up to suit the Moonlite Hi-res stepper and it would work? If so are there any wiring diagrams for this and has it been tested?

I have a Freetronic "Eleven" board which is 100% Arduino compatible, basically the same as the Uno board. Can the Stepper controller be modified to suit this board? I also use the Easydriver board for stepper control.

Freetronic Eleven website: http://www.freetronics.com.au/produc...n#.VvZuUeJ97iw
I just took the moonlite thing to mean it could effectively emulate a moonlight focuser. But I've not looked into it as I just run it as an ASCOM device. I don't see why it couldn't use a moonlite stepper motor though. You'd just have to work out which wire is which.

I also don't see why you couldn't use a Uno board instead of a nano. But nanos are only like $10 each. Just make sure you get the one with the right USB driver chip (I got the wrong one first time). It think it needs the CH340G chip?
Reply With Quote
  #6  
Old 27-03-2016, 10:35 PM
Astroman's Avatar
Astroman (Andrew Wall)
<><><><>

Astroman is offline
 
Join Date: Feb 2005
Location: Paralowie, South Australia
Posts: 4,367
Okay thanks for the info, may give it a test, when I can.. I haven't got the moonlite motor yet but if the driver works it would be good to match them up. Not sure on the USB driver chip. I have had this thing working on a bipolar stepper with out trouble, but the resolution is way too course for a focuser, thats why my thoughts turned to the Moonlite hires stepper.

Andrew.




Quote:
Originally Posted by bugeater View Post
I just took the moonlite thing to mean it could effectively emulate a moonlight focuser. But I've not looked into it as I just run it as an ASCOM device. I don't see why it couldn't use a moonlite stepper motor though. I'd be very surprised if they weren't standard off the shelf stepper motors. You'd just have to work out which wire is which.

I also don't see why you couldn't use a Uno board instead of a nano. But nanos are only like $10 each. Just make sure you get the one with the right USB driver chip (I got the wrong one first time). It think it needs the CH340G chip?
Reply With Quote
  #7  
Old 27-03-2016, 10:40 PM
bugeater (Marty)
Registered User

bugeater is offline
 
Join Date: Feb 2015
Location: Mitcham, Vic
Posts: 313
Quote:
Originally Posted by Astroman View Post
Okay thanks for the info, may give it a test, when I can.. I haven't got the moonlite motor yet but if the driver works it would be good to match them up. Not sure on the USB driver chip. I have had this thing working on a bipolar stepper with out trouble, but the resolution is way too course for a focuser, thats why my thoughts turned to the Moonlite hires stepper.

Andrew.
The documentation goes through how to work out how many steps you actually need. I'm using the recommended hardware, which provides more than enough resolution for me with full steps. Plus you can use partial steps with the DRV8835 stepper driver to gain more steps if you want. I've had mine stepping on the bench well at 1/8th steps.

I've got the Nema 17 with PG27 gearbox, which provides approx 5400 steps per revolution with full steps. Seems typical to run it at half steps (so over 10000 steps per revolution). Plus as I said I've had it doing 1/8th steps, but I'm not sure how reliable it would be or how much torque.
Reply With Quote
  #8  
Old 27-03-2016, 11:06 PM
Astroman's Avatar
Astroman (Andrew Wall)
<><><><>

Astroman is offline
 
Join Date: Feb 2005
Location: Paralowie, South Australia
Posts: 4,367
Well I had planned on getting the Moonlite hi-res stepper anyway, and it looks like the wiring is the same as the robofocus and the windings wont be that difficult to work out. I think they use pins 1, 4, 5 and 9 on the DB9 plug. I just didn't want to mess around with extra brackets etc on the moonlite focuser. Will see how it goes..
Reply With Quote
  #9  
Old 29-03-2016, 03:23 PM
rmuhlack's Avatar
rmuhlack (Richard)
Professional Nerd

rmuhlack is offline
 
Join Date: Nov 2011
Location: Strathalbyn, SA
Posts: 916
I'm using the same arduino focuser project with a Nema17 PG27 stepper motor, however I went with the L298N motor driver. For software control, the ascom driver works well and I have mine integrated into my SGPro setup.
Reply With Quote
  #10  
Old 29-03-2016, 06:55 PM
Astroman's Avatar
Astroman (Andrew Wall)
<><><><>

Astroman is offline
 
Join Date: Feb 2005
Location: Paralowie, South Australia
Posts: 4,367
Do you find the Nema17PG27 slow enough for focusing very small amounts? What is the reduction on that, I think I saw several different ratios.

Do you know of an Aussie supplier for the motor? I may give it a try...
Reply With Quote
  #11  
Old 29-03-2016, 08:25 PM
rmuhlack's Avatar
rmuhlack (Richard)
Professional Nerd

rmuhlack is offline
 
Join Date: Nov 2011
Location: Strathalbyn, SA
Posts: 916
i find that it is okay. aussie supplier here: http://www.ebay.com.au/itm/27-1-Plan...4AAOSwiLdV8oCE
Reply With Quote
  #12  
Old 30-03-2016, 09:44 AM
bugeater (Marty)
Registered User

bugeater is offline
 
Join Date: Feb 2015
Location: Mitcham, Vic
Posts: 313
Quote:
Originally Posted by Astroman View Post
Do you find the Nema17PG27 slow enough for focusing very small amounts? What is the reduction on that, I think I saw several different ratios.

Do you know of an Aussie supplier for the motor? I may give it a try...
PG27 means planetary gear 27:1 I believe. The actual ratio is ever so slightly less, but close enough.

For the steps you need to work out what is required for your system. It involves measuring how far your focuser moves for a complete revolution and the focal length of your scope. Then you can work out how many steps a particular stepper/setup will spend in the "critical focus zone". This is covered in the myFocuser documentation.

Hence what you need depends on your focuser and scope.

Quote:
Originally Posted by rmuhlack View Post
i find that it is okay. aussie supplier here: http://www.ebay.com.au/itm/27-1-Plan...4AAOSwiLdV8oCE
This is where I got mine from too.
Reply With Quote
  #13  
Old 26-06-2016, 04:34 PM
brown_rb (Robert)
Registered User

brown_rb is offline
 
Join Date: Aug 2010
Location: Wellington, NZ
Posts: 11
Smile

Quote:
Originally Posted by bugeater View Post
I just took the moonlite thing to mean it could effectively emulate a moonlight focuser. But I've not looked into it as I just run it as an ASCOM device. I don't see why it couldn't use a moonlite stepper motor though. You'd just have to work out which wire is which.

I also don't see why you couldn't use a Uno board instead of a nano. But nanos are only like $10 each. Just make sure you get the one with the right USB driver chip (I got the wrong one first time). It think it needs the CH340G chip?
A mopnlite stepper motor should be pin compatible - there is a folder there on the site re moonlite compatibility - it has details on how to wire the rs232 connector be be moonlite compatible. And u can also use the moonlte focuser app or moonlite ascom driver

Cheers
Robert
Reply With Quote
  #14  
Old 24-08-2016, 12:23 PM
RobC (Rob)
Registered User

RobC is offline
 
Join Date: Apr 2012
Location: Woodford , Queensland , Australia
Posts: 219
Quote:
Originally Posted by brown_rb View Post
A mopnlite stepper motor should be pin compatible - there is a folder there on the site re moonlite compatibility - it has details on how to wire the rs232 connector be be moonlite compatible. And u can also use the moonlte focuser app or moonlite ascom driver

Cheers
Robert
Robert ,

I noticed that you are the author of the DIY focuser project in Source Forge. Its succesfull and represents a big effort on your part. Congratulations.

I am considering having a go at building one myself to mount on my Skywatcher Esprit 150.

A couple of questions ;

1. Why the Nano and not the UNO Ardunio Board ?
2. I cannot find any PC source code in the project downloads. Did you release the PC source code into the public domain ? and if so how can I download it .

Cheers

Rob
Reply With Quote
  #15  
Old 26-08-2016, 04:33 PM
brown_rb (Robert)
Registered User

brown_rb is offline
 
Join Date: Aug 2010
Location: Wellington, NZ
Posts: 11
Space and cost - a nano + driver board can fit in a real small space, weighs little and can attach straight onto the focuser tube with velcro!

There is a UNO+L293D Motor Shield option.

Source code: This topic comes up from time to time. I use VS 2015 Professional with a number of other tools/plug-ins. Not too many people have that. And its get me into all sorts of bother trying to help others re publishing the .exe which I do NOT want to get into at all.

At the moment I am kept busy just answering some of the hardware issues and maintaining the firmware, there aint time for me to do much more than this. At some stage the source code may become available.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 08:29 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Testar
Advertisement