Author Topic: DIY Stepper Controller  (Read 4118 times)

0 Members and 1 Guest are viewing this topic.

Offline MaltaeronTopic starter

  • Full Member
  • ***
  • Posts: 65
  • Helpful? 0
DIY Stepper Controller
« on: January 30, 2008, 06:23:31 PM »
I have some steppers that I salvaged from an Epson printer that I want to use. Both steppers have 4 leads with 8 coils and a permanent magnet inside them. The last thing I want to do is buy some expensive controllers, is there some easier way to do this?

As far as my understanding goes, the only reason the steppers can't be directly connected to a microcontroller (atMega168 for me) is that the microcontroller can't support enough current.

Following this reasoning, could I use something like a MOSFET (4 for each stepper) to drive the steppers?

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: DIY Stepper Controller
« Reply #1 on: January 30, 2008, 06:35:14 PM »
I have some steppers that I salvaged from an Epson printer that I want to use. Both steppers have 4 leads with 8 coils and a permanent magnet inside them. The last thing I want to do is buy some expensive controllers, is there some easier way to do this?

As far as my understanding goes, the only reason the steppers can't be directly connected to a microcontroller (atMega168 for me) is that the microcontroller can't support enough current.

Following this reasoning, could I use something like a MOSFET (4 for each stepper) to drive the steppers?

yes you could use MOSFETs, and your idea with the microcontroller is correct also
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline MaltaeronTopic starter

  • Full Member
  • ***
  • Posts: 65
  • Helpful? 0
Re: DIY Stepper Controller
« Reply #2 on: January 30, 2008, 07:11:22 PM »
So that would work with my steppers?  :o  :)

That would be nice, also does anyone know what type of MOSFET I should buy? Just so I have an idea of what to look for from digikey...

Thanks  ;)

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: DIY Stepper Controller
« Reply #3 on: January 31, 2008, 12:48:42 AM »
I have some steppers that I salvaged from an Epson printer that I want to use. Both steppers have 4 leads with 8 coils and a permanent magnet inside them. The last thing I want to do is buy some expensive controllers, is there some easier way to do this?

The steppers have just 4 leads? Or 4 leads plus ground? How do you know there are 8 coils?

Steppers are bipolar, that means 2 coils and 4 leads, and unipolar, that means 4 coils and 5 or 6 leads. As far as I remember the Epson printer has bipolar steppers rated at about 3 amps. I'll check latter at work.
Check out the uBotino robot controller!

Offline MaltaeronTopic starter

  • Full Member
  • ***
  • Posts: 65
  • Helpful? 0
Re: DIY Stepper Controller
« Reply #4 on: January 31, 2008, 07:55:11 AM »
I opened it up.  ;D Only 4 leads, each lead connects to two coils opposite of each other. Maybe I'm talking about the coils the wrong way, but inside they are just bundles of wire round up together... The permanent magnet is the part that rotates. It is my guess that if I energize one lead, the magnet/gear will align with that leads two coils, without a ground. I sequentially switch the energized lead to take each step forward...

paulstreats

  • Guest
Re: DIY Stepper Controller
« Reply #5 on: January 31, 2008, 08:00:57 AM »
correct

Offline JonHylands

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 562
  • Helpful? 3
  • Robot Builder/ Software Developer
    • Jon's Place
Re: DIY Stepper Controller
« Reply #6 on: January 31, 2008, 08:01:20 AM »
Go to Google, and type in:

bipolar stepper control

and you'll get a zillion pages that tell you what to do. Here's one:

http://www.solarbotics.net/library/pieces/parts_mech_steppers.html

- Jon

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: DIY Stepper Controller
« Reply #7 on: February 04, 2008, 10:29:33 PM »
Quote
does anyone know what type of MOSFET I should buy?
PWM optimized rail-to-rail MOSFET

 


data_list