Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 14-06-2011, 09:16 PM
vignesh1230's Avatar
vignesh1230 (Vig)
Sad Observatory :(

vignesh1230 is offline
 
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 35
DIY Stepper Motor Controller Question

Okay. This might be a stupid question but, how does a stepper motor controller (the computerised kind that works with software like Starry night)? Does the microcontroller itself have the ASCOM protocol or does the controller recieve data via serial after being through the ASCOM thing. Im very confused as i have found 2 perfect stepper motors that fit perfectly on my telescope and would like to make it computerised.
Reply With Quote
  #2  
Old 14-06-2011, 09:31 PM
tlgerdes's Avatar
tlgerdes (Trevor)
Love the moonless nights!

tlgerdes is offline
 
Join Date: Mar 2009
Location: Sydney
Posts: 2,285
You write an app that accepts ASCOM langauge and converts it to Stepper motor language. Then any ASCOM compliant app can drive your stepper motors.
Reply With Quote
  #3  
Old 14-06-2011, 09:36 PM
vignesh1230's Avatar
vignesh1230 (Vig)
Sad Observatory :(

vignesh1230 is offline
 
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 35
So if i wanted to use Starry Night, id need the ASCOM driver to be installed, then it will automatically output into the needed input for the controller?
Reply With Quote
  #4  
Old 15-06-2011, 01:31 PM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
Quote:
Originally Posted by vignesh1230 View Post
Okay. This might be a stupid question but, how does a stepper motor controller (the computerised kind that works with software like Starry night)? Does the microcontroller itself have the ASCOM protocol or does the controller recieve data via serial after being through the ASCOM thing. Im very confused as i have found 2 perfect stepper motors that fit perfectly on my telescope and would like to make it computerised.
You will need more than software to interface bare steppers to a mount and a control program. You will need to buy or build a "black box"

Look at the Mel Bartel's system. It works well and there are drivers for it available. All you need is the kit of parts and some electronics experience to put it together.

There is at least one commercial device I know of "Synscan" and it will probably cost less than one you can make yourself.

Barry

Last edited by Barrykgerdes; 15-06-2011 at 02:08 PM.
Reply With Quote
  #5  
Old 15-06-2011, 02:14 PM
tlgerdes's Avatar
tlgerdes (Trevor)
Love the moonless nights!

tlgerdes is offline
 
Join Date: Mar 2009
Location: Sydney
Posts: 2,285
Quote:
Originally Posted by vignesh1230 View Post
So if i wanted to use Starry Night, id need the ASCOM driver to be installed, then it will automatically output into the needed input for the controller?
As Barry said, a little simplistic.

You will need to
1) Build a stepper motor controller that can accept some form of computer control.
2) Interface hardware to computer
3) Write an ASCOM driver to accept ASCOM control parameters and interface with your stepper motor controller.

Then you could use Starry Night to controll your stepper motors.
Reply With Quote
  #6  
Old 23-06-2011, 10:19 PM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
Quote:
Originally Posted by Barrykgerdes View Post
There is at least one commercial device I know of "Synscan" and it will probably cost less than one you can make yourself.

Barry
Hi Barry,

is this similar to the Skywatcher Synscan or Celestron Sysnscan? would you know which controller it would work with?

I'm currently building a computer to stepper controller interface using the existing LX200 ascom driver.

I'm using a picaxe microcontroller to control my stepper controller and driver, and am now working on programming the picaxe to "interpret" the LX200 serial commands from the software into relevant input pin states of the stepper controller for basic functions like slew, track speed, etc.
so i'd choose LX200 as my telescope in the software and interface my serial port to the picaxe.
same thing can be used for interfacing ST4 outputs from an autoguider to the mount.

writing a new ascom driver is a huge challenge and needs approval from ascom i think.
Reply With Quote
  #7  
Old 24-06-2011, 04:28 PM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
The synscan principle is used with the celestron and Skywatchers. I imagine the controllers are similar but I don't know the details of the interface to the motors.

I imagine it is some form of microstep generation via a stepper motor controller chip. I would expect that a Picaxe controller could be made to duplicate all the functions you require.

If you make your interface respond to LX200 commands you won't even need the ASCOM interface as all the programs I know of have a LX200 connection.

Barry
Reply With Quote
  #8  
Old 24-06-2011, 07:08 PM
ballaratdragons's Avatar
ballaratdragons (Ken)
The 'DRAGON MAN'

ballaratdragons is offline
 
Join Date: Jan 2005
Location: In the Dark at Snake Valley, Victoria
Posts: 14,412
You'll need these: http://www.jaycar.com.au/productView...r&form=KEYWORD

and here is the software program to run it all:
http://www.jaycar.com.au/products_up...20Software.zip

Reply With Quote
  #9  
Old 24-06-2011, 08:15 PM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
Quote:
Originally Posted by ballaratdragons View Post
A quick look at these products says they won't be suitable for this type of project. Also modern computers don't seem to have printer ports any more and the USB - parallel adaptors only work with printers.

Barry
Reply With Quote
  #10  
Old 24-06-2011, 09:55 PM
ballaratdragons's Avatar
ballaratdragons (Ken)
The 'DRAGON MAN'

ballaratdragons is offline
 
Join Date: Jan 2005
Location: In the Dark at Snake Valley, Victoria
Posts: 14,412
Quote:
Originally Posted by Barrykgerdes View Post
A quick look at these products says they won't be suitable for this type of project. Also modern computers don't seem to have printer ports any more and the USB - parallel adaptors only work with printers.

Barry
Well that's a pain in the butt!

All my computers and laptops (except one laptop) have Parallel ports and I use that particular Stepper interface for my Huge mount.

Also, there is an adaptor that is Parallel/Serial. It works with modified Toucams/900NC's for PC's with no parallel port

But if Vignesh just wants the latest in equipment, well I have no further suggestions.
Reply With Quote
  #11  
Old 25-06-2011, 01:06 AM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
Quote:
Originally Posted by ballaratdragons View Post
All my computers and laptops (except one laptop) have Parallel ports and I use that particular Stepper interface for my Huge mount.
Ken, do you use Astro software like CDC or stellarium to control your mount for goto and tracking with this stepper controller, if so I'd be very interested to see how it works.
Reply With Quote
  #12  
Old 25-06-2011, 08:27 AM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
Hi
I have built many stepper drive computer interfaces. but they have always used the computer parallel port for communication. If you want to use serial or USB you will need to build the interface in hardware as part of the controller.

Another problem with parallel port control is that most control functions are written as eight bit words by directly addressing the ports. This facility has been inhibited in the latest versions of Windows as a security vulnerable. It can be bypassed but this is a bit messy.

Barry
Reply With Quote
  #13  
Old 25-06-2011, 12:16 PM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
Hi,
were they for control with astronomy software with ascom drivers to slew and track? if so which driver did you use in the software and how did you translate outputs from the software to inputs that the stepper controller would understand and use?
the controllers from jaycar, ocean controls and several others have built in serial interface hardware and software that comes with it that can be used to drive the stepper. but the challenge would be to use that interface with astronomy software commands, especially for autoguiding.
I guess its similar to DIY CNC machines where they get standard CNC 3 axis controllers and serial interface it to the software Mach3 which works with different hardware.
Reply With Quote
  #14  
Old 25-06-2011, 04:19 PM
mswhin63's Avatar
mswhin63 (Malcolm)
Registered User

mswhin63 is offline
 
Join Date: May 2009
Location: Para Hills, South Australia
Posts: 3,622
The future will be to output digital signals from a simple USB interface and then code it different to mimic parallel port.
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:19 PM.

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