Exploring a Micro stepper motor

Exploring a Micro stepper motor

hi look what I’ve got here on my table
these all are miniature motors I’m using these motors in one of my experimental
kind of experimental hobby project and in that project I needed such small
motors and I’ve got these from different sources like eBay from local camera
repairing shop and also taken out from my own two mobile phones
these could be on brush brushless stepper or a servo motor but the main
requirement was to have small motors like these and in this video I’m going
to show you how to interface these motors with your electronics how to test
them and how to play with them and so that you can use with your electronics
so let’s have a closer look you might have seen these motors at some point in
your life as these are commonly found in mobile phones and other mobile devices
to generate vibrations this is nothing but just a DC motor connected with an
imbalance node to its shaft and when applied some voltage across its
terminals it generates vibrations so you can apply one two three volts across its
terminals and it will start rotating and thus generating vibrations and I found
that these motors are of no use for me because these are first of all these are
not small enough secondly there is no enough torque also
there is no encoder available of size as small as these motors are so the next
option I have are these stepper motors okay so the size of the stator of this
motor is the diameter of it is six millimeters and length is almost 5 mm
almost 5 M yeah these motors these motors are also of no use because there
is a tab attached to the stator and I can’t use in that project I’ve tried
to remove this tab but I end up destroying four motors and with no luck
so so here is the final contender these are really small incredibly small and if
you have a look at the length of the stator it is almost five millimeters
here and diameter is like four 3.5 or four millimeters so this is really small
motor let’s have a quick look at the setup
here the motor is connected directly to the GPIO pins of the microcontroller
that is atmega328p I’m not using any dedicated stepper driver as there is no
need for fancy features here like microstepping decay mode over current
protection or electrical braking current consumption of this motor should be
really low it should be under 10 milliamps so the GPU should handle it
I’m using this external programmer this is at my eyes they call it in-circuit
emulator I’m using this to program the microcontroller as this is way faster
than the one in built in the Arduino board it takes hardly 1 or 2 seconds
depending on the core size while I do not extend to 20 seconds if you open the
avenues official website and such for stepper you will land on this page and
here you will find a lot of stuff related to the stepper motors you will
find different stepper circuit configurations like a unipolar and
bipolar and you should visit an explorer if you are not familiar to the stepper
motors some functions are given here which we are going to use in our test
program I like to initialize motor to set the step size and to set the speed
of the motor we are going to use this code stepper one revolution in this code
motors shaft is going to take one revolution to the clockwise direction
and one revolution to the counterclockwise and we’ll wait for some
time before every rotation here it is given as 500 milliseconds between every
move it makes so the code is very neat and small here header file is included
then the step size of the motor is declared generally stepper motor step
size is 200 or 400 steps but in this case it should be a small number because
the motor size is very small here motors library is initialized
pin number eight and nine are connected to the one coil and pin number 10 and 11
are connected to the another one here the motor speed is given and it is set
to 60 by default we will leave it as it is serial we don’t need but I’m gonna leave
it to as it is in the main loop we are rotating the shaft to clockwise and then
a weight of 500 milliseconds then rotating to the counterclockwise and
again a blocking period of 500 milliseconds and repeat so I’m gonna
copy it build it program it and let’s see what happens copy compile done and program so let’s
start program without debugging okay Wow okay
the revolutions are way too much and so does the speed so like I said before the
step size is quite high in the code let’s change it to 50 and reduce the
speed as well so that it becomes bit visible okay per program here we go okay one two two and a little
more so okay it’s doing – and about half revolutions and one way
so let’s further reduce the size of first step to 25 and compile and program
it okay this is a little over one revolution it should be 20 and speed
could be a bit more that’s let’s check now perfect perfect
Wow perfect so finally the motor step size is Tony and this is because the
size of the motor size of this motor is way too small to accommodate more than
20 poles Wow nice one more time let’s increase the speed to 80 and let’s see
how it does nice

29 Replies to “Exploring a Micro stepper motor”

  1. Very nice work thank You. I was able to solder wires to tiny barrel one; use tiny wire loop some liquid flux and a blob of hot solder from side of point tip. With the loop one can hold wire in place by pulling slit lateral force.

  2. This is a Great video. Thank you very much for this. by the way, me and my friends are also working on a project using these stepper motors. we need to get some linear movement using the screw axle. If you can, please help me with it. thanks..

  3. Thanks for your review it’s really helpful! I bought a bunch of those micro steppers some time ago but didn’t try them yet. Now – it’s so easy as you don’t really need any hardware interface. However need to check what the current flows if you try hold the motor with your hand to not burn the mcu port.

  4. hello i want to make a project with micro stepper motor but i really have no idea how to do it so do you have an email to share with me your knowledge ?

  5. I planned to create micro robot with many servos. Is it really to connect to arduino more then 50 motors?

  6. Hi, I have a project where I need 20 of those 🙂 I've seen that you did not use any stepper driver, which is great, because i want to be simple and cost effective. I would like it just to use it as push pull mechanism. Can I do it with simple ardiuno/esp32 board? I dont want expensive driver, since those motors are 2$/10pcs 🙂 Can I use something like this for such simple and small stepper?

  7. Hey Vikas I was looking forward to using micro stepper motors in a project . I picked up a few off Ali Express bit the distributor was not able to give me data sheets , do you have any data on the torque characterization of the ones you settled with ?

  8. very nice… i have a question, if i want to add more stepper motor, can i use analog input? thanks a lot

  9. Owing to your video I now understood where to look for these. Thanks for your posting. But the link for buying these seems to be not working.

  10. Hi, We are working on my project where we are building the robot legs (4 in each leg) using linear actuators. we need similar kind of motors which are small enough so it can fit in, and also have torque to support the whole body, would it be possible for you to provide sources where we can buy small stepper motors.

  11. Awesome, I have been searching for Years to find how to control these little stepper motors without a driver board. You have answed every question I have had in this one video. I will run some tests soon. Thank You!

Leave a Reply

Your email address will not be published. Required fields are marked *