Motor Control

Archive for the ‘Motor Control’ Category

DIY CNC Laser Cutting: what *doesn’t* work

The idea to document a failed project is not mine. When I read this post by Hackaday, I realized that I do have a project that failed which I don’t want to simply trash. Some valuable insights have been gleaned while working on it and I am planning to reuse many of the parts and the software in a different project. I have so many DVD drive parts now that it would be silly not to make another attempt at building a DVD CNC laser cutter, but it will definitely be designed differently, thanks to the lessons learned. So, that’s how this post came about.
Read the rest of this entry »

Manually controlling bipolar stepper motor with Arduino and EasyDriver

Stepper motors are great for accurate positioning because they move in discrete steps – a feature that makes them very appropriate for CNC software control. But every once in a while you have an application where you need to press a button and rotate some kind of a jig at a preset angle or move something a preset distance if it’s a stepper-driven linear stage. So, I decided to modify an earlier Arduino sketch I wrote for testing the world’s smallest stepper motor to make it a bit more useful (and clean any bugs in the process). Keep reading to see what came out … Read the rest of this entry »

World’s Smallest Stepper Motor with Arduino and EasyDriver

This little wonder of electromechanical engineering came from inside a laser diode sled of an HP CT10L Bluray drive I’ve opened some time ago. The device on the picture consists of several parts, all easily fitting on a dime coin: a bipolar stepper motor with lead screw, a linear stage, a lens, and even an end position sensor (I’ve yet to make use of the sensor though). The entire assembly is only 14mm x 9mm x 4mm. This post is about making this tiny motor move. Keep reading! Read the rest of this entry »

Upgrading a DVD spindle three phase BLDC motor

Shroud (bell) with new magnets ready to be put back on the stator

Shroud (bell) with new magnets ready to be put back on the stator

Having played with DVD spindle motors during the construction of the Arduino stroboscope, one thing became apparent early on is that these small motors don’t have much of a torque. I have a few other projects in mind where more torque will be needed and I decided to try upgrading the existing motors with better magnets. So, here is how I did the upgrade in case you may want to repeat the procedure, with my own “lessons learned”. Keep reading! Read the rest of this entry »

Brushless DC (BLDC) motor with Arduino. Part 3 – The Stroboscope Project

It has been all dry theory in the Brushless DC (BLDC) motor with Arduino series up to this point. This is where it gets to be more fun. If you’ve just arrived, please check out the previous two installments:

  1. Driving a three-phase brushless DC motor with Arduino – Part 1. Theory
  2. Brushless DC (BLDC) motor with Arduino – Part 2. Circuit and Software

In this final part of the trilogy I am describing the hardware part of the stroboscope project and the making of the zoetrope animations themselves, in hopes that my visitors can take this further and come up with their own animations, which I would absolutely love to see. More details below! Read the rest of this entry »

Brushless DC (BLDC) motor with Arduino – Part 2. Circuit and Software

In this post I will describe the hardware and the software part of a project involving the use of BLDC (Brushless DC) motor salvaged from a broken XBox 360. This is a second installment in the series of posts related to Arduino and brushless DC motors. Please see the first part for a bit of info on the theory behind the commutation sequence. Once you understand the commutation sequence for the particular design of the BLDC motor, the circuit design for the BLDC driver becomes pretty clear. It is not much different from a bipolar stepper driver in that we need the be able to both source and sink current at all ends of the windings, except of course in this case there are only three ends whereas the bipolar stepper has four.
Read the rest of this entry »

Driving a three-phase brushless DC motor with Arduino – Part 1. Theory

Typical CD/DVD Spindle BLDC Motor With 12 Magnetic Poles and 9 Wound Cogs

Typical CD/DVD Spindle BLDC Motor With 12 Magnetic Poles and 9 Wound Cogs

This is the first part of what will probably be two (or more) posts describing one of my latest projects – an Arduino Stroboscope based on the spindle motor of a broken Xbox 360 DVD drive. I will save some practical information (like why I chose Xbox’s drive) for the second post. Here I wanted to concentrate on the theory behind using Arduino or another MCU to drive a three-phase Brushless DC electric motor such as a CD or DVD drive (or HDD for that matter) spindle motor, such as the one pictured further in the text. Read the rest of this entry »

Driving a Bipolar Stepper Motor with Arduino and ULN2803AG

While I’m getting ready to rip open some 10+ broken DVD-RW drives coming to me from an eBay seller, I though it would be great to have a testbed for the bipolar stepper motors I will harvest from those.

I have a bunch of ULN2803AG Eight Darlington Transistor Arrays with Common Emitters left from past projects and these can sink (but unfortunately not source) peak loads of 600mA (500mA continuous) and are well suited for power application like driving small motors. However, there is a problem with 4-wire bipolar stepper motors: they don’t have the common points of windings wired to the outside which would be needed for providing the motors with power. See the ULN2003 datasheet for more information about the IC: ULN2801,2802,2803,2804 and 2805 Darlington Array datasheet
Read the rest of this entry »

Fixing a Scorbot ER4-PC

No electronics lab can go for long without a robot eventually making its way in. Well, in my lab there is approx a dozen. Most are Scorbots by Eshed Robotec (Intelitek, Depco and there may be other names under which they were sold) These robots are usually rather old and by the time you get them they have been through a couple of generations of middle school students. But they were built solid and many survived, even if in need of repair. This is what this post is about Read the rest of this entry »


Coming soon ...

Recent Comments
  • AKPOSOSO MICHAEL: Hi, i loose a cd drive and found a diode with ten pin(teeth) not knowning the function of the this...
  • BhanuKiran: Hi I have a BLDC motor with 14 poles and 12 cogs. So, does it have 4 points of maximum attraction ? and...
  • vlad: Thank You! I Spend half day for give privilege to ordinary user for run avrdude. This fix a problem –...
  • Jason: I’m curious how your code would change given the availability of the included stepper library or the 3rd...
  • enver: Hi Dear Fhrends. Last year my father take me one ER 4pc arm control box but hi didnt buy PC card, last week ı...
  • Matija: Hej Debanjan, you will definitely find this answer on instructables. Would pase a link, but I’am afraid...
  • admin: Thanks for sharing your experience! Yeah, a “weak red beam” (also sometimes described as...
  • hroldan: Hi, been reading your website a lot regarding cncs and lasers, nice work, very informative and really deep...
  • admin: Hi, the reason this schematics does not include a driver for the LED display is simply because the display is...
  • kik: Hi and thank you for sharing! I’ve seen in many schems of arduino driving a 3(or more) 7 segment display...