Stepper motor

I have a small size sanyo denki 103 series stepper motor. I wanted to use it using L298 driver. What will be the connections  

Question by UsmanR1   |  last reply


Arduino + Stepper

Hi! I have an Arduino nano and a Minebea PM55L stepper motor and I have to connect these two together. I read the Arduino tutorials, and got a ULN2003 chip. The thing I am unsure of is the power supply and which wires of the motor do what or should be connected to what. There's 6 of them and I really don't want to fry anything if at all possible. Could somebody help out, please?

Topic by TashaDax   |  last reply


Stepper Motors..

I recently pulled two stepper motors out of a working IBM dot-matrix printer. One larger, 3v one with 1.8 steps. The other is a smaller, 9.5v one with 7.8 steps. I am more interested in the large one right now. I managed to find out that the large one has center-tapped coils. I also found out that Coil 1 is red-white-brown, coil 2 is blue-black-yellow. I found the schematic below on http://ashishrd.blogspot.com/2007/09/computer-controlled-stepper-motor.htmlI was wondering how this could be adapted to control my motor from a PC program with the ULN2003 (that chip sounds like UT2003)? Here are the complete residences of what I found on the wires with a multimeter, in case that helps. Resistances:Red to Brown: 8 ohms (or 7 some times)Red to White: 4 ohmsWhite to Brown: 4Blue to Yellow: 7Yellow to Black: 4Black to Blue: 4

Topic by l0cke   |  last reply


stepper motor

Wondering if any one knows how to control stepper motors via Hand wheels. By rotating the wheel you should be able to control the rotation of the wheel either clock wise or ccw. I do not want to interface the motor through a computer.

Topic by rajivraj   |  last reply


Steppers and EMF.? Answered

I have build this Bi-Polar stepper circuit and it works great on the bread board. I etch a board 3 times, 2 with heat transfer and 1 with photo resist. I use 2 completely separate power supplies but with the PCB's i think i am experiencing EMF or feed back. I am using an adjustable schmidt trigger for the clock. What happens is i can hardly get any rpm's, sometimes if the trigger is set just wright it will turn up fairly well, at that time if i try full step the stepper stops turning or will reverse sometimes, if i try ccw it may or may nor reverse and i may stay in what ever direction and any given time . Now at a slow rpm full step normally work's and cw/ccw may or may not work, also it can trigger the half or full step. Also i can disconnect one coil and the stepper will continue to turn, If i try that with the other coil the stepper will stop. So it looks like it is only running on one coil. Is that possible? Keep in mind i have bread boarded it and work's fine. Its just on the 3 pcb's that all this happens. As for the diodes it seams to work better with 1N4001's than 1N4148's I have checked every trace with an DMM and made sure they are going to the correct pins ect. I have tried different IC's L297 and L298 and steppers 2 different kinds and multiples of each. So i am thinking this is EMF, feedback, or a design problem. I have tried to eliminate most every thing i can think of. Comments?     

Question by WWC   |  last reply


Stepper Enable Answered

Seems my completed code is not completed yet. I need to enable the stepper. I added enable_pin = 13 so it will spin free. It works with the push button until the keypad is used the no more button pin, but will continue to work with the keypad properly.  Is there a correct way to use enable for 2 inputs, button and keypad? #include #include #include Password password = Password( "4444" ); //password to unlock door, can be changed const byte ROWS = 4; // Four rows const byte COLS = 3; // columns const int stepsPerRevolution = 200;  // change this to fit the number of steps per revolution // Define the Keymap char keys[ROWS][COLS] = { {'1','2','3',}, {'4','5','6',}, {'7','8','9',}, {'*','0','#',}, }; byte rowPins[ROWS] = { 5, 4, 3, 2 };// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins. byte colPins[COLS] = { 8, 7, 6,};// Connect keypad COL0, COL1 and COL2 to these Arduino pins. Stepper myStepper(stepsPerRevolution, 9,10,11,12);            int enable_pin = 13; int button_pin = A0; int button_pinstate = 0; // variable to store current pir state //int lastpirstate = 0; // variable to store last pir state int lastbutton_pinstate = 0; int pos = 60; int pos2 = -60; // Create the Keypad Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );   unsigned long offtime;   boolean  helper_light_is_on = false; // helper light off        void setup(){                                                              myStepper.setSpeed(60);  // set the speed at 60 rpm:   pinMode( button_pin, INPUT);   pinMode(enable_pin, OUTPUT);   digitalWrite(enable_pin, LOW);   digitalWrite(button_pin, HIGH); // pull-up   Serial.begin(9600);   Serial.write(254);   Serial.write(0x01);   delay(200);   pinMode(15, OUTPUT);  //Helper light   pinMode(16, OUTPUT);  //green light   pinMode(17, OUTPUT);  //red light     keypad.addEventListener(keypadEvent); //add an event listener for this keypad } void loop() { button_pinstate = digitalRead(button_pin);   if(button_pinstate != lastbutton_pinstate) {     if(button_pinstate == LOW) {       digitalWrite(enable_pin,HIGH);     myStepper.step(pos);      } else{        myStepper.step(pos);        delay(2000);        myStepper.step(pos2);         digitalWrite(enable_pin,LOW);     } }     static int counter = 0;     if ((++counter & 0x3f) == 0)     Serial.println();     delay(100);     keypad.getKey();     myStepper.step(0);     process_helper_light(); } void keypadEvent(KeypadEvent eKey) {   switch (keypad.getState())   {     case PRESSED:       // a key is pressed so light the helper light       helper_light_is_on = true;       digitalWrite(15,HIGH);       offtime = millis() + 5000;  // set the offtime for 30 seconds in the future             Serial.print(" enter: ");       Serial.println(eKey);       delay(10);       Serial.write(254);       switch (eKey)       {         case '*':           checkPassword();           delay(1);           break;         case '#':           password.reset();           delay(1);           break;         default:           password.append(eKey);           delay(1);           }   } } void checkPassword() {   if (password.evaluate())  //if password is right unlock door   {      Serial.println(" Accepted");     Serial.write(254);     delay(10);      digitalWrite(enable_pin,HIGH);     myStepper.step(pos);     Serial.print(" open ");     digitalWrite(16, HIGH);//turn on green led     delay(2000); //wait 5 seconds     digitalWrite(16, LOW);// turn offgreen led     myStepper.step(pos2);      digitalWrite(enable_pin,LOW);   }    else   {     Serial.println(" Denied"); //if passwords wrong keep door locked     Serial.write(254);     delay(10);     myStepper.step(0);     Serial.println(" locked ");         digitalWrite(17, HIGH); //turn on red led     delay(2000); //wait 5 seconds     digitalWrite(17, LOW);//turn off red led   digitalWrite(enable_pin,LOW);     }  //Closes first else }  //Closes Check password // this routine turns off the light when the timer expires void process_helper_light(void) {   if (helper_light_is_on)   {     if (millis() >= offtime)     {       digitalWrite(15,LOW);  //turn off the helper light       helper_light_is_on = false;     }   } }

Question by WWC   |  last reply


Transform a Servo into stepper?

Hi, I'm wondering if it is possible to transform, with mecanisms like in watchmaking, a sigle servo into a stepper. When the servo turns left, a crank will turn of a fixed amount of degree in the clockwise direction. When the servo turns right, a crank will turn of a fixed amount of degree in the anti-clockwise direction. The main advantage of this is that we can have a stepper motor created with a servo. I'm searching such projects without results... Am I the first one to think about this ? How can I imagine such a mecanical project ? Thank you

Question by janolap1   |  last reply


controll a stepper motor

Can you controll a stepper motor with push switches no circuit? i need a 12v motor with pllanty of speed  torque for a diy cnc but i want to controll it manualy with a joystick made with push switched can i just apply power to a stepper motor like a hobby 12v dc motor and run it without a circuit?

Question by skullkeeper80   |  last reply


stepper motor help

Hi, i need help in building a cnc machine. not the hardeware just the circuit. i already saw this https://www.instructables.com/id/EG9RXG6F54HJ7SL/ and the circuit that it included but i coulden't understand the circuit. there is this circuit http://www.aaroncake.net/circuits/stepper.asp which i have already built but need help connecting it to my parallel port on my computer. i would really appreciate it.

Topic by dark_inuyasha   |  last reply


Stepper Power Help???

I trying to design a cheap & easy (not ideal) bi polar stepper driver using the following components: 1. (1) A Bi-Polar motor rated at 12V 1A. 2. (4) 10A 250V Dual Throw, Single Pole Relays. 3. (1) Arduino UNO Microcontroller. 4. (1) ATX Power Supply. I have the switching logic all correct from the UNO to the relays, and I have all of the wiring correct on the power side of the relay. The problem comes down to shorting the PSU.My thought is the following, and I hope you gurus can either confirm, or correct my thought process (pretty please, and thank you). Please see the Attached Pic for a basic schematic of what I'm doing. 12v = 1A * 12OHMS 12v * 1A = 12 Watts Does this mean that somewhere within the power loop, I need a 12 Watt 12 OHM Resistor, to eliminate shorting out the PSU? If this is true, what would be a practical solution other than using a big exposed spring, bar, etc... that would by its sheer mass resist all of this power?

Question by abstract_genius   |  last reply


disc stepper motor

Ok im new to the tech world but i have a an idea haven to do with a stepper motor that is in disc form and capable of being programmed but i dont know what parts i would need and how to go about it any insight or possibly a parts list to do it? please and thank you

Topic by mobilesuit990 


Android Stepper Motor?

So I am working on controlong shades in my house with my android phone and my arduino over bluetooth. i was thinking on using a steper motor to act as a gear to open and close the blinds. could anyone help me with any toturials or a link to any documentation involving bluetooth stepper control? Plese help.

Question by broskiz   |  last reply


Gears for Servos and Steppers

Hey guys (and gals), I've been researching this a lot, but I still haven't the solution.  When you are working on a project and you need a gear for your stepper or servo, where do you acquire it?  For example I work a lot with TowerPro 996 servos, but I haven't found any third parties selling gears for them.   Same thing for motors.  If you are using a stepper motor, like a NEMA or something where do you find a gear that attaches to it? 

Topic by Deft Punk   |  last reply


Precision Stepper motor????

Is there a precision stepper motor and programming hardware that i could program to go to a certain 1/50 of a turn. I would use it for a locker lock unlocker, 3 digit combo lock. What are my best options for cheap?? Thank you

Question by theboygenius   |  last reply


Stepper motor controllers

Does anyone know where I can buy some bipolar stepper motor controllers and an H-bridge in one package? Or even better, schematics/pcb layout of a driver board?UPDATE:Does anybody have any experience with the Easy Driver? It seems like a cheap alternatives to some of the other available controllers, but I just want to know if you get what you pay for.

Topic by ongissim   |  last reply


stepper motor question

Ok, i am trying to make a chain clock, its just a clock with a gear instead of a minute hand that turns a chain with 12 numbers on it. my problem  is; the chain i am using is too heavy for a conventional quarts movement. i would like to use a stepper motor but all the drive circuits i find need an arduino. are there any simple circuits i can make, to use a stepper motor for a clock? i do have some circuitry skills so i can work around some stuff. thanks for the help :)

Topic by golddigger1559   |  last reply


Stepper motor driver?

Hi! I am trying to find a good h-bridge for a 3 volt stepper motor. Basically my plan is to build a stepper motor controller with an arduino for controlling various functions in a model kit. I have the arduino-kit and the motors. But I need a good reference for a h-bridge, but all i can find are chips rated for much larger drive currents. Also exactly how hot does a hbridge get when under load? I would like to integrate the bridges into the kit, but since it is plastic, I would like to know in advance how hot it gets, and if it gets too hot I'll have to look at another solution.Any help appreciated! PS. If you can please put the hbridge part ID in your answer for easy reference. DS.

Question by feldreich   |  last reply


CNC stepper motor Answered

Hello, I would like to use my 3 printer scanners I recently salvaged for a CNC. Would you expect the motors to be able to cut aluminum with a multi-speed dremel? If there is enough torque, it would be sufficient to make a 3d printer right?

Question by jbaker22   |  last reply


I need a stepper motor and stepper driver mastermind!!

Hey All, Bit of an odd one.I am currently building an electric camera slide with an auto-panning feature, the build is almost complete, intend to share the build process on youtube.The main goal here was to build an auto electric slide, that requires NO programming/coding, Making it easy for people who are not 'electronic savvy'.I purchased one of these R/C Drivers: https://www.aliexpress.com/item/Stepper-Motor-Driver-2-phase-4-wire-Controller-Speed-Adjustable-with-Remote/32642556068.html?spm=a2g0s.9042311.0.0.27424c4ddZKyq5 Super simple to set up, and it works. However, its steps are really big, so when the slide is running slow, it is basically shuddering/shaking.I have purchased some A4988 Stepper Motor Drivers, and the plan was to try and rig one of these up in series, however, I am very new to stepper motors and how they are set up. If anyone has any advice or recommendations on how I could wire these up together, It would be greatly appreciated.

Question by KyleofAsgard   |  last reply


What is the difference between a stepper driver and a stepper controller?

I am wanting to build a circuit to drive my stepper motors and control them with the PC with software like Mach 3, or something similar. My question is what is the difference between stepper driver and stepper controller. Do I need a driver for each motor and do the drivers connect to the controller. Newb here and trying to understand before I attempt.

Question by shootmequick   |  last reply


Stepper motor, driver, microcontroller

I am looking for someone to help me with with a stepper motor. (ofcourse you get paid) I would like to have a small stepper motor something like this(the main thing is that it isnt bigger then WxHxD 50mmX60mmx15mm) . http://dativoweb.net/sites/default/files/u33/ItaliaImballaggio/5_14_delta_line_motore.jpg I would like a driver and a microcontroller to this almost in the same size, would love to have this thiner thou. I would like to have this programmed, like the stepper to do 1 revolution in 180 minutes (1 full rotation in 3 hours) if it possible to get it running on batteries it be great! Folow the link to a image i made to se how i like it to be. http://lajkade.se/stepper.png Is this possible? And is it someone who got the knowledge to do this? Awaiting your answere! Best regards Jacob

Topic by soderhjelm   |  last reply


Help with Canon Pixma Stepper

Hey all- Looking for some help with this little motor I pulled from a scrap Canon Pixma.  I want to use it to drive a very basic tumbler for 3d printed parts. I'm using it and the geared shaft to drive the drum.  Can I run this directly from a wall-wart, and if so, can you tell me what flavor to look for?  I'd like to just solder barrel connectors on and run with it. Thanks, Jeff

Topic by jeffw75   |  last reply


will 5v stepper will work on 12v?

In "https://www.instructables.com/id/eWaste-60-3DPrinter/"   the datasheet for pl15s-0120(Stepper of dvd drives) says it operates at 5V , Didn't the a4988 gives 12v out ? , will it gonna work ? (posted comment there but no one replied .....)

Question by _Boltz_   |  last reply


Printer Stepper Motor Driver

I recently "Recycled" (parted out/junked) some Hewlett Packard 600 and 800 series printers. It occurred to me that everything I would try to build (electronic and software drivers) already exists in the printers. The motion of the stepper could easily be controlled by sending print commands to the "printer:. The only "problem" I can think of is satisfying all of the fault sensors, eg. out of paper etc. Has anyone worked on this. Recumbent Bike Builders Rule!! Carpe Ductum

Topic by naic98   |  last reply


Retractable mount for stepper motor

I am currently working on a small project which includes a 28BJY-48 stepper motor. I want to make a retractable mount for the motor so I can extend it to a desire length. What is the recommended way to do it? I thought about intalling two metaling poles inside the body of my device which will be connected to motor and to use pg16 glands as a twist-lock locking

Question by eliariev   |  last reply


Stepper motor light test? Answered

Hi. I wanted to know that do all bipolar steppers give result to light test? I found many steppers that seem fine but do not give result to the led test. I am confused weather they work or not.

Question by SowmenD   |  last reply


Variable Speed Stepper Motor

Hello Everyone, I am looking for some help to make a controller to drive a stepper motor using a potensiometer. I want to be able to vary the speed from 0 to 100rpms or however fast the stepper motor will go.   I have a bi polar stepper motor that I am using.  If anyone could help with this it would be great!  Thanks

Topic by TWMCNANEY   |  last reply


Stepper motors for Prusa mendel? Answered

I have these bipolar round stepper motors that i salvaged from old printers . Can I use this stepper motor in the prusa mendel? and will they work fine?  also can i use stepper motors which are like this one.. meaning the round small ones or do i need to use the nema 17 ones?

Question by SowmenD   |  last reply


Bipolar Stepper motor drivers...

Can someone please give me a schematic for controlling a BIPOLAR stepper motor (12V/2.5A) using L293D and L298 with parallel port (LPT) with Mach3

Question by mnaveed   |  last reply


how to control stepper motors?

With pic if possible

Question by alfcreatevi   |  last reply


Stepper motor missing steps?

Hi, I'm running a CNC machine using Mach3. After running some GCode, a stepper motor appears to have missed some steps. The Z-axis has shifted (a reference point has changed coordinates.) No apparent visible changes, so I assume the stepper has skipped. What can I do?

Question by jg156   |  last reply


stepper motor function as generator?

I want to make a stepper motor function as generator. Is it possible to do it if I don't want to hack the motor system? This is because, I cant change the principle of the motor itself. 

Question by SharifahA1   |  last reply


stepper motor calibration issue?

Hi, I am building a CNC using Mach3 to control it. the steppers were running fine, but then i tried to calibrate one axis. After calibration the motor no longer hauls, and instead issues a beeping sound for the duration of the run. Does anyone know what happened? Any fixes?

Question by jg156   |  last reply


Stepper Motor and an L298 Module? Answered

Hello, I bought those items: L298 Module Kit, PIC16F877A + KIT, a stepper motor my friend found in an old printer (with four wires (2 coils)), and the pic programmer. I am lost trying to find out how to wire this thing. Can someone tell me how to connect the L298 Module with the Pic kit and the basics of how to program it (not code just the concept). I already connected the stepper motor to the coil pins of the module. Thanks

Question by Seifpic   |  last reply


Stepper motor voltage too low? Answered

I'm getting started with Stepper motors and I got one on ebay, it's MINEBEA NEMA23 2.5V/1.8 AMPS 1.8DEG/STEP (model# 23LM-C045-01H). I'm a bit confused by it's low voltage. Am I reading it correctly, it's 2.5Volts?  Stepper driver that I have requires at least 8 Volts (it's Arduino with rugged motor driver shield), so is it safe to drive with motor with voltage of 9 or 12 volts?  How would one drive such motor at 2.5VDC?

Question by bratan   |  last reply


any help running six stepper motors? Answered

I have six stepper motors and i am planning to build a robotic arm. is it possible to build a driver curciut to run the six motors from an arduino to make the arm move. if its not possible then how would i build a controller to drive six uln2003 driver chips

Question by devicemodder   |  last reply


How to control KH56JM2 stepper motor using Arduino?

Dear all, could you please help me? I want to control this stepper motor from Japan Servo CO. Model KH56JM2.  I don't have the wires for this motor. The datasheet of this motor in page 16 of this file http://www.e-jpc.com/pdf/Hybrid-Stepping-Motors-and-Drivers-size-23-56mm-square.pdf

Question by Neuo13   |  last reply


Can anyone help with getting a stepper motor up and running?

I am looking to use a stepper motor for a project I am about to start. I have never used a stepper motor before but it looks the best solution for the job. I have a small stepper motor (Unipolar 18 deg stepper motor,12V 0.4W 170Ω) and a controller (Linear stepper motor controller,350mA). I want to hook the motor up to two momentary switches where the press of one switch turns the motor one turn in one direction and the other switch turns the motor one turn opposite.  Do I need to get a drive board? Do I have to link through a controller?  Any help at all will be most appreciative.

Question by cgalmrott   |  last reply


which 4 wires to use among my 6 wire stepper motor?

Which 4 wire to use among my 6 wire stepper motor ? i tried to measure the resistance but got all confused ! 

Question by Cieloroy   |  last reply


how to find the amount of steps for a stepper motor to make one complete revolution?

My stepper motor is a unipolar 12volts .66 ohms from center tap ,(not taking in to consideration the resistance of the digital ohm meter I used). I am trying to find the amount of steps per revolution. I do not have any more data on the above mention motor.

Question by winstonwa   |  last reply


How to drive Bipolar stepper motor using MTD2006 dual H-bridge

Hi I'm trying to drive a Bi-polar stepper motor using MTD2006 bridge which I got from old copy machine.But when I download datasheet for this IC found that input signals must fed to drive the motor (ENA A,PHY A,ENA B,PHY B ) As I understand ENA signal must be (High) always! So I'm confused how to drive this IC using Arduino? Thanks

Topic by MHA6 


If I attempt to weld a sprocket onto the shaft of a stepper motor will it damage the motor?

I suspect the answer is yes....anyone got any advise on how to fasten sprockets onto shafts?

Question by afridave   |  last reply


how to compare two stepper motors with the same torque based on other parameters like current, inductance etc? Answered

I am looking for NM 23, 425 oz-in stepper. I found two in eBay for the same price one from wantai and another from OSM, with different current, inductance, resistance and weight. I need guidance to select.

Question by saaddition   |  last reply


where in U/K. best place to buy STEPPER/LEAD SCREW mtrs ?

Hi ppl,I have to now make my woodworking mill cnc.because I have developed arthritis and the mill I have, X.Y.Z. is hand wound on the lead screw,I'm beginning to find it too much pain so I'm trying to figure a mount and fittings to take motors to do the donkey work.I need to know where on line I can buy motors to help me,I have been looking at a lot of the DYU. setups and have a few ideas to help me mount and join the motors to shafts,also if anybody knows a good place to buy lead screws I would be most grateful thanks for looking hope you can help.MAC.

Question by MACSWAG   |  last reply


The circuit using mc3479 is getting short when i connect the terminal of the coil to my circuit but motor still runs.

The circuit continually gets short circuited the minute I connect the stepper motor terminals to my driving circuit which incorporates a MC3479 chip. The motor however runs smoothly, however my power supply keeps indicating a short circuit preventing me from adequately controlling the stepper motor.

Question by rosemol   |  last reply


i need help making a cnc hot foam cutter out of scanner motors

Can anyone give me some instructions on a easy cnc hot foam cutter out of old hp scanjet and mustek flatbed scanners, also in the process of getting old copier machines. can I use the controllers on the scanners to run the motors, or am i better off just buying the motors and controllers. any suggestions would be greatly appreciated I am very new to this stuff tia mike

Topic by mgriff   |  last reply


Stepper motor+ L297+ arduino mega2560?

I want to run stepper motor and control them using arduino. But i dont know how to patch the circuit. I have to give the output of L297 though H bridge made by tip 122 and tip127 transistors (2 each) for handling of higher current.

Question by Hassaan311   |  last reply


help determining stepper motor pinout? Answered

Im trying to build a cnc machine and i just finished the hardware portion. anyways im trying to find out what wires are what on the stepper motors i have. there are 6 pins coming out of the motor and the connections are as follows. pin 1 is not connected to anything, pin 2 has 10ohm to pin 3, pin 4 has 10 ohm to pin 5, and pin 6 is not connected to anything. what are pins 1 and 6 for, and how can i tell if this is a bi or uni polar motor. any ideas? they are made by japan servo co. number kh42jm2b079 if thats any help but i had no luck searching...

Question by rickyfelten   |  last reply


floppy bipolar stepper motor driver? Answered

hi i wanted to salvage my old floppy drive , and take the small bipolar motor from it after i removed it , i looked around and i found small ic (  LB1838M  ) its data-sheet is here http://www.datasheetcatalog.org/datasheet/sanyo/ds_pdf_e/LB1838M.pdf i found somethings (pins configuration) in the data-sheet that i don't understand like :  IN1 ,  IN2  ,  ENA1 , ENA2 so , what this pins represent for ? and , can i remove this ic from the board , and make a circuit like this one in the data-sheet and use it to control the stepper ( independently ) ? if yes , i need to know how to make controlling buttons or something . English in not my 1st language btw , so ... thank you :)

Question by lu2a   |  last reply


This Stepper produces how much miliamp/amp? Answered

6 wires so it's 3 phases after I rectify with 3 briges and a 10 x 8500 mf 65v caps and regulate with power zeners, how much current will I get, can I trickle charge an 10amp sla? Stepper is 2.5" x 3 cube SANYO DENKI TYPE  103H7123-0642 DC 2.5A 1.8 DEG 2.5v-6v each coil I get

Question by celalboz   |  last reply