Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

The most easy DIY ASCOM motor focuser with interesting extra features (no soldering, no Arduino, no coding)

  • Please log in to reply
18 replies to this topic

#1 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 11 January 2025 - 02:34 AM

Hello everyone,

 

I’m a bit surprised that this solution, or rather this motor controller, hasn’t appeared in the astro-DIY community yet—or have I missed something?

 

The motor focuser is based on the Pololu Tic Motor Controller, in my case the Tic T500, with the following specifications:
• USB connection: Direct control without a COM port
• Operating voltage: 4.5 - 35 V
• Microstepping resolutions: Full, 1/2, 1/4, 1/8
• Phase current: Digitally adjustable up to 1.5 A (without cooling)
• Configurable step speed and acceleration

 

Additionally, the controller offers practical features such as homing, low input voltage detection and much more. Other models in the Tic series even support microstepping resolutions up to 1/256.

The T500 variant costs around $30 in the US (€35 in EU) from electronics distributors.

The connection setup is straightforward: depending on the variant, screw terminals are integrated, so you only need to connect the four phases of a bipolar stepper motor and the power supply (12 V).

An Arduino or separate microcontroller is not required, as the controller independently handles command processing and communication over USB.

 

Two Potential “limitations”, however these aren’t limitations for me personally, but want to mention:

- the controller loses its position after a restart
- there no integrated temperature sensor

 

ASCOM Driver

I have developed a fully compliant ASCOM driver for the Tic T500.
You can find the repository with the installer on GitHub:

https://github.com/a...olu-Tic-Focuser

Thanks to the use of LibUsbDotNet, the controller can be addressed directly via USB, eliminating the need for “messing around” with COM ports. It’s basically plug&play.

 

Currently, the ASCOM driver is “hardcoded” for the Tic T500. To operate it, you only need to install the Pololu USB driver available on the Pololu website, which also includes the Tic Controller configuration program.

Using the Tic Control Center, parameters such as phase current, step speed, direction of motion, and more can be configured. It is only important to disable the “command timeout” feature in the Tic Control Center. Step speed, acceleration, and step mode (full step or microstep) can be individually adjusted based on your equipment.

 

Planned additional features for the ASCOM Driver in a following version:
• Automatic detection of other Tic models
• Integration of additional functions (e.g., selection of microstepping resolution, adjustment of phase current, direction control) directly in the ASCOM setup dialog
• Customizable step range to set movement limits as needed
• Homing function

 

Low input voltage detection (VIN_LOW) is already integrated into the driver.
For everything else, the Tic Control Center can be used.
The configured values are permanently stored in the controller.

 

 

Functionality

Since the controller loses its position after being powered off, the driver starts with a preset position of 25,000 (out of a total of 50,000 steps), ensuring sufficient movement range in both directions.

The limitation caused by the lack of a temperature sensor can, if necessary, be bypassed with the ASCOM Deepsky Geek Virtual Focuser. This connects the Pololu ASCOM driver (or other motor focusers without temperature sensors) to an alternative temperature source, such as a Pegasus box.

The motor controller and ASCOM driver run stably with a simple bipolar stepper motor and have been extensively tested.

 

I am currently using a Baader Steeldrive II motor (Baader kindly publishes the motor’s pin configuration in its manual) with the Tic Controller. Thanks to the integrated Hall sensor of the Steeldrive II, I can also use the homing feature of the Tic Controller. I am just waiting for a panel-mount LAN socket with screw terminals to continue.

 

I hope I’ve sparked your interest!

 

Best regards,
Alexander

 

IMG_5201.jpeg


Edited by astro_alex80, 11 January 2025 - 02:48 AM.

  • tturtle, DuncanM, Mike Spooner and 6 others like this

#2 andylsun

andylsun

    Vostok 1

  • -----
  • Posts: 187
  • Joined: 01 Jun 2016

Posted 11 January 2025 - 08:31 AM

That does look like a really nice 1 board solution. I see there’s Linux support for both x86 and ARM so I wonder how hard it would be to throw together a basic INDI driver. I’ll order one and take a look when it arrives.

Are you interfacing using ticcmd or directly sending commands to the controller from your driver?



#3 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 11 January 2025 - 01:46 PM

Hi,

yes the fact all integrated on a single board is really charming.
I am using TicDotNet and LibUsbDotNet, both c# libraries to directly speak with the Tic Controller, no need to go via ticcmd not denying that this might also be an easy to do solution.

Have a look, I think on GitHub is an Indi driver for the controller.

#4 andylsun

andylsun

    Vostok 1

  • -----
  • Posts: 187
  • Joined: 01 Jun 2016

Posted 12 January 2025 - 02:42 PM

Thanks! I’ll take a look. I didn’t look very hard to be honest.

Edit: bingo

https://github.com/HelgeMK/TicFocuser

Edited by andylsun, 12 January 2025 - 02:43 PM.


#5 Zoroastro

Zoroastro

    Mariner 2

  • *****
  • Posts: 223
  • Joined: 06 Jun 2017

Posted 07 March 2025 - 08:06 PM

Hi astro_alex80,

 

I have tested your ASCOM driver with a TIC T249 but I get a "device not found" error from the ASCOM Device Hub. Is there a way to adapt it to the T246?

 

Thanks! 


  • astro_alex80 likes this

#6 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 16 March 2025 - 02:39 AM

Hi,
sorry for my late reply.
Yes certainly, can adapt it to the T249 and will put as new code.

Will keep you posted.

Edited by astro_alex80, 16 March 2025 - 02:39 AM.


#7 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 16 March 2025 - 03:02 PM

Release 0.2 is out:

 

support for TIC motor controllers added: T500, T249, T285, N825, T834 36V4 (selection via ASCOM setup dialog)
total travel range and start position can be modified via ASCOM setup dialog

 

https://github.com/a...leases/tag/v0.2



#8 Flyingeagle1975

Flyingeagle1975

    Lift Off

  • -----
  • Posts: 5
  • Joined: 06 May 2025

Posted 07 May 2025 - 04:30 AM

Hello, I have build this focuser and It runs well with the configuration Tool from polulu. But with the Ascom Driver in Nina It is not possible to Connect.. i have the t500... Nina regarts with a Error Message.. IT cant find the focuser. Can anyone Help me?

#9 Flappytango

Flappytango

    Sputnik

  • *****
  • Posts: 47
  • Joined: 12 Sep 2011
  • Loc: Michigan

Posted 07 May 2025 - 04:59 PM

Alexander,  great work on a simple focuser solution.  I find this kind of thing very impressive!  I certainly have no chance of developing an ASCOM driver!

 

I built a myfocuserpro years ago.  It works great but was a ton of work compared to your Polulu solution.



#10 rainycityastro

rainycityastro

    Surveyor 1

  • *****
  • Posts: 1,612
  • Joined: 29 Mar 2010
  • Loc: Kirkland, WA

Posted 08 May 2025 - 09:10 PM

Hello everyone,

 

I’m a bit surprised that this solution, or rather this motor controller, hasn’t appeared in the astro-DIY community yet—or have I missed something?

 

The motor focuser is based on the Pololu Tic Motor Controller, in my case the Tic T500, with the following specifications:
• USB connection: Direct control without a COM port
• Operating voltage: 4.5 - 35 V
• Microstepping resolutions: Full, 1/2, 1/4, 1/8
• Phase current: Digitally adjustable up to 1.5 A (without cooling)
• Configurable step speed and acceleration

 

Additionally, the controller offers practical features such as homing, low input voltage detection and much more. Other models in the Tic series even support microstepping resolutions up to 1/256.

The T500 variant costs around $30 in the US (€35 in EU) from electronics distributors.

The connection setup is straightforward: depending on the variant, screw terminals are integrated, so you only need to connect the four phases of a bipolar stepper motor and the power supply (12 V).

An Arduino or separate microcontroller is not required, as the controller independently handles command processing and communication over USB.

 

Two Potential “limitations”, however these aren’t limitations for me personally, but want to mention:

- the controller loses its position after a restart
- there no integrated temperature sensor

 

ASCOM Driver

I have developed a fully compliant ASCOM driver for the Tic T500.
You can find the repository with the installer on GitHub:

https://github.com/a...olu-Tic-Focuser

Thanks to the use of LibUsbDotNet, the controller can be addressed directly via USB, eliminating the need for “messing around” with COM ports. It’s basically plug&play.

 

Currently, the ASCOM driver is “hardcoded” for the Tic T500. To operate it, you only need to install the Pololu USB driver available on the Pololu website, which also includes the Tic Controller configuration program.

Using the Tic Control Center, parameters such as phase current, step speed, direction of motion, and more can be configured. It is only important to disable the “command timeout” feature in the Tic Control Center. Step speed, acceleration, and step mode (full step or microstep) can be individually adjusted based on your equipment.

 

Planned additional features for the ASCOM Driver in a following version:
• Automatic detection of other Tic models
• Integration of additional functions (e.g., selection of microstepping resolution, adjustment of phase current, direction control) directly in the ASCOM setup dialog
• Customizable step range to set movement limits as needed
• Homing function

 

Low input voltage detection (VIN_LOW) is already integrated into the driver.
For everything else, the Tic Control Center can be used.
NThe configured values are permanently stored in the controller.

 

 

Functionality

Since the controller loses its position after being powered off, the driver starts with a preset position of 25,000 (out of a total of 50,000 steps), ensuring sufficient movement range in both directions.

The limitation caused by the lack of a temperature sensor can, if necessary, be bypassed with the ASCOM Deepsky Geek Virtual Focuser. This connects the Pololu ASCOM driver (or other motor focusers without temperature sensors) to an alternative temperature source, such as a Pegasus box.

The motor controller and ASCOM driver run stably with a simple bipolar stepper motor and have been extensively tested.

 

I am currently using a Baader Steeldrive II motor (Baader kindly publishes the motor’s pin configuration in its manual) with the Tic Controller. Thanks to the integrated Hall sensor of the Steeldrive II, I can also use the homing feature of the Tic Controller. I am just waiting for a panel-mount LAN socket with screw terminals to continue.

 

I hope I’ve sparked your interest!

 

Best regards,
Alexander

 

attachicon.gif IMG_5201.jpeg

Hi Alexander, 

Isn’t it possible to store the focuser position instead of forgetting it? So when you restart, you will start from that position? 



#11 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 09 May 2025 - 01:15 AM

Sorry guys, not following on CN all the time.

Storing the focuser position is indeed an option as could be written to the focuser profile.

I will implement it to the setup dialog so you can choose either way the values to be stored or not.

However after more than two month of using the focuser with NINa on the FT3545 of my TOA I m not missing anything that the focuser isn’t storing its last position after a power cycle.

There seem to be a little bug in the setup dialog therefore the focuser not being recognised immediately by NINA. Will update it.
  • rainycityastro likes this

#12 rainycityastro

rainycityastro

    Surveyor 1

  • *****
  • Posts: 1,612
  • Joined: 29 Mar 2010
  • Loc: Kirkland, WA

Posted 09 May 2025 - 02:49 AM

Thanks Alex,

One more question - does this controller only work with bipolar stepper motors or can I repurpose it to work with my older unipolar steppers (robofocus motor) with proper wiring? 

Chatgpt says the following - I wonder if it is correct.

 

Unipolar motors have center-tapped coils, which unipolar drivers use to simplify switching. But bipolar drivers like the T825/T500 require full coils only. You must ignore the center taps — using just the full winding on each coil — or you'll damage the driver or the motor won't function.

So the issue isn't incompatibility, but rather that:

You must rewire or selectively connect the RoboFocus motor to work as a bipolar motor (i.e., leave the center taps disconnected).

If someone blindly connects all six wires, assuming full compatibility, it won’t work correctly, and may cause excess current draw or erratic motion.


Edited by rainycityastro, 09 May 2025 - 02:50 AM.


#13 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 09 May 2025 - 09:33 AM

Well, the specs of Pololu
www.pololu.com/category/212/tic-stepper-motor-controllers

are referring to bipolar steppers only so likely a unipolar stepper won’t work with the controller.


Edited by astro_alex80, 09 May 2025 - 09:33 AM.


#14 Flyingeagle1975

Flyingeagle1975

    Lift Off

  • -----
  • Posts: 5
  • Joined: 06 May 2025

Posted 09 May 2025 - 02:25 PM

Hello Astro Alex .... I have now also rebuilt the focuser with the Pololu T500 board. Now I have the following problem with it.... With the included software, the stepper motor runs smoothly. Now I have also downloaded and installed the Ascom driver from you . The first problem was that I had to download this LibUSBdotnet.dll because when I was in under N.I.N.A. I tried to activate it and got the error message that the DLL could not be found. At some point after I apparently found the right storage location for the DLL in question, N.I.N.A. tells me. now that the focuser is not found. Tried release 0.1 and 0.2. Unfortunately without success. It would be great if there was a solution to my problem and someone could help me...



#15 Flyingeagle1975

Flyingeagle1975

    Lift Off

  • -----
  • Posts: 5
  • Joined: 06 May 2025

Posted 10 May 2025 - 01:28 PM

Habe jetzt einmal mit der Ascom Diagnostic diese Fehlermeldung dazu erhalten...

Create Creating device
Connected Connecting to device
Connected Trying Connected
Connected Trying Link: Die Datei oder Assembly "System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.

Name Pololu Tic Focuser
Description ASCOM Driver for a Pololu Tic Motor Controller via USB.
DriverInfo Focuser driver for Pololu Tic Motor Controllers. Version: 0.2
DriverVersion 0.2
InterfaceVersion 3
IsMoving False
Position 0

Connected Disconnecting from device
Dispose Disposing of device
Dispose Completed disposal
ReleaseComObject Releasing COM instance

 

 

 

 

 

 

In english:

 

I received this error message with the Ascom Diagnostic...

Create Creating device
Connected Connecting to device
Connected Trying Connected
Connected Trying Link: The file or assembly "System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" or a dependency on it was not found. The system cannot find the specified file.

Name Pololu Tic Focuser
Description ASCOM Driver for a Pololu Tic Motor Controller via USB.
DriverInfo Focuser driver for Pololu Tic Motor Controllers. Version: 0.2
Driver version 0.2
Interface version 3
IsMovingFalse
Position 0

Connected Disconnecting from device
Dispose Disposing of device
Dispose Completed disposal
ReleaseComObject Releasing COM instance
ReleaseComObject Completed release. Count: 0
GC Collect Starting garbage collection
GC Collect Completed garbage collection

I've already reinstalled Net 8.0...unfortunately that's not the problem... Anyone have experience with it?
ReleaseComObject Completed release. Count: 0
GC Collect Starting garbage collection
GC Collect Completed garbage collection

Habe schon Net 8.0 noch einmal installiert...Daran liegt es leider auch nicht... Irgendwer Erfahrung damit?


Edited by Flyingeagle1975, 10 May 2025 - 01:46 PM.


#16 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 11 May 2025 - 03:28 AM

Hi all,

 

sorry in case of inconvience the driver not working. I have just updated the installer and should now work properly.

Thank you for testing. Please bear with me as just a "hobby developer".

 

Best regards,

Alex

 

 

p.s. 

the installer is creating a folder "Pololu Tic Focuser" under "C:\Program Files (x86)\Common Files\ASCOM\Focuser\" containing the files:

- ASCOM.PololuTicFocuser.exe

- LibUsbDotNet.LibUsbDotNet.dll

- readme.txt

 

followed by the registration of the ASCOM driver.


Edited by astro_alex80, 11 May 2025 - 03:32 AM.


#17 Flyingeagle1975

Flyingeagle1975

    Lift Off

  • -----
  • Posts: 5
  • Joined: 06 May 2025

Posted 11 May 2025 - 03:36 AM

Ok... Thanks.. I try It later and give Feedback.... Many thanks...

#18 Flyingeagle1975

Flyingeagle1975

    Lift Off

  • -----
  • Posts: 5
  • Joined: 06 May 2025

Posted 11 May 2025 - 12:27 PM

Now I have tested the new driver. It works flawwless.. Very good job. Thank you very much. 



#19 astro_alex80

astro_alex80

    Explorer 1

  • *****
  • topic starter
  • Posts: 96
  • Joined: 06 Jan 2019
  • Loc: Germany

Posted 11 May 2025 - 01:47 PM

Very happy to hear, thanks for your feedback.


CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics