Easy to Build CNC Mill Stepper Motor and Driver Ci

13
http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/ Home Sign Up! Browse Community Submit All Art Craft Food Games Green Home Kids Life Music Offbeat Outdoors Pets Photo Ride Science Tech Easy to build CNC Mill Stepper Motor and Driver circuits by Tom McWire on August 26, 2007 Table of Contents Easy to build CNC Mill Stepper Motor and Driver circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intro: Easy to build CNC Mill Stepper Motor and Driver circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Step 1: The Circuit Board of Appeals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Step 2: Circuit Cloning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Step 3: Photo Etching a Driver Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Step 4: TESTING..1..2..3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Step 5: Let's Watch it on TV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Step 6: Linux Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Transcript of Easy to Build CNC Mill Stepper Motor and Driver Ci

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Home Sign Up! Browse Community Submit All Art Craft Food Games Green Home Kids Life Music Offbeat Outdoors Pets Photo Ride Science Tech

    Easy to build CNC Mill Stepper Motor and Driver circuitsby Tom McWire on August 26, 2007

    Table of Contents

    Easy to build CNC Mill Stepper Motor and Driver circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    Intro: Easy to build CNC Mill Stepper Motor and Driver circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    Step 1: The Circuit Board of Appeals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    Step 2: Circuit Cloning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    Step 3: Photo Etching a Driver Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

    Step 4: TESTING..1..2..3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

    Step 5: Let's Watch it on TV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    Step 6: Linux Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Intro: Easy to build CNC Mill Stepper Motor and Driver circuitsThis is a follow up to the Easy to Build Desk Top 3 Axis CNC Milling Machine Once you get the machine all put together its time to make it go.

    So it's time to drive the motors. And here I've put together a circuit that I think is the absolute cheapest and easiest way to control stepper motors with step and directionsignals. It works with many of the free or low cost softwares that produce step and direction signals through the parallel printer port. I'll explain how it works but for thoseof you who just want to get on with it... The_Next_StepBut I would suggest for those of you who are unfamiliar with circuits to do it on a bread board (see pictures). This way you can easly correct any mistakes and try differentthings.

    This schematic is just to control one motor so for the milling machine you need 3 of these circuits and 3 motors.From Left to right and top to bottom. I try to draw schematics so that positive voltages are toward the top and ground or negative volge is toward the bottom. Inputs are tothe left and outputs to the right. Fist off the voltage that you are going to use to run the motor needs to be stepped down and regulated for the logic chips. I used a 6.2volt Zener to do this because it's low enought for the logic chips to receive the signals from your printer port and high enough for the outputs to drive many of thestandard power FETs, so you may not have to use logic FETs like the schematic shows. So the resistor R1 drops the voltage, the Zener diode regulates it to 6.2 voltsand the capacitor C1 filters out any noise from the motor, and this voltage powers the two IC's.The first IC (CD4516) is called an up/down counter. One signal from the printer port will tell the counter if it will count up or down and the other signal, called step, willincrement or decrement the counter by one count. Now were only going to use two outputs from the counter Q1 and Q2. With this binary counting method there are only4 combinations of output from the counter: 00, 01, 10, and 11. These lines are fed to the A and B inputs of the other IC (CD4028) which decodes these combinations to 4seprate outputs.I did a trick here using the C input to work as an Enable input. If the Enable(optional) is connected to the parallel port and the computor tells it to shut off all of the outputsto the FETs will go low(Off). So the four outputs of the decoder drive the FET transistors and the FETs drive the four poles of the motor.Now everybody wants to know what the light bulb is for. Its not so much whether you use a bulb or a resistor, its that a bulb comes with a socket. You can get thesewedge base light bulbs from 1 watt to 20 watts. Start with may be a 4 watt bulb and if you find you need a little more beef you just pull it out and put in a 10 watt bulb. It'sreally handy. And I found it's good to have some voltage drop there as kind of a ballast for the motor windings. The diodes catch some of the current that comes out ofthe motor each time the FET transistors turn off. The diode feeds this current back to the supply.When you get the circuit up and running find a power supply that puts out more voltage than you really need and then change out light bulbs till you get it runningsmoothly. Some of my stepper motors are 5 or 6 volt and some are 12 volt but it all works out.

    File Downloads

    C:\Projects\Milling\Mill_Drive\StepCheap1.pdf (37 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\Milling\Mill_Drive\StepCheap1.pdf']

    C:\Projects\StepCheap3D_PCB_GodeC.zip (34 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\StepCheap3D_PCB_GodeC.zip']

    C:\Projects\StepCheapPartsList.rtf (2 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\StepCheapPartsList.rtf']

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Step 1: The Circuit Board of AppealsOK here's what your all looking for. I made a simple PC board layout that includes 3 motor driver circuits connected to a 25 pin D sub Parallel printer port connector.Here's a picture of the layout. At the top of the picture you see a place for a voltage regulator. You can use that or you can put a resistor and Zener Diode in its place(likethe schematic shows). On the right edge is a place for the 25 pin D-sub connector that connects to the parallel printer port. You just jam the PC board between the tworows of pins and solder it.On the left side are places for the lamp sockets. You need to look over the schematic to see where some of the parts go but it's all there.

    File Downloads

    C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3D.zip (16 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3D.zip']

    C:\Documents and Settings\Tom\Desktop\StepCheap3DBOT.pdf (30 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Documents and Settings\Tom\Desktop\StepCheap3DBOT.pdf']

    C:\Projects\StepCheap3D_PCB_GodeC.zip (34 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\StepCheap3D_PCB_GodeC.zip']Step 2: Circuit CloningIf you have a time machine you can go to the future and ask yourself to make the circuit board with the finished machine and then bring it back and finish building themachine. After a couple of tries I got the board to come out pretty good. The machine routes what are called isolation paths which means it seperates the copper that isassociated with a conductive path from all the other copper around it. This leaves some areas of the board that are not associated with a path still covered with copper.You could leave this extra copper on there but when your soldering it is easy to get solder bridges across the isolation paths and short circuit something. So I take thesoldering iron and touch it on the excess copper and peal it up off the board. It makes the board more like what you would get if you chemical etched it or bought it from aboard house(see below).Any way look over the schematic and place the parts accordingly. I added a few capacitors along the power lines just for general principals. There were so few traces onthe top side of the board I didn't bother milling it. I just used jumper wires. See the pictures below of the populated board. All the little FETs ligned up like marchingsoldiers.

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Step 3: Photo Etching a Driver BoardOK, For all you chemistry majors who want to do something a little more professional here are some .pdf files you can print out and iron on or what ever you do to makean etched PC board. There's a Top Silk (just for reference), Top Copper, and Bottom Copper.If you want to go easy Just do the Bottom Copper. There's not that much on the top and you can just solder jumpers where you need to.

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    File Downloads

    C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3Dsilk.pdf (9 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3Dsilk.pdf']

    C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3DTop.pdf (28 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3DTop.pdf']

    C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3DBot.pdf (30 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'C:\Projects\Milling\Mill_Drive\Schem-PCB\StepCheap3DBot.pdf']Step 4: TESTING..1..2..3Don't be nervus. It's just a little electricity. First off it would be good to load up the KCAM (or what ever you plan on using) in your computor. Then when you feelcomfortable that all the parts are in the right place plug the parallel port connector into the driver board(as shown below) and put a low wattage build in the socket for themotor. In this case I'm using middle, the Y axis driver.

    For power I like to use one if these universal power adapters with selectable voltage output. They're cheap and they don't put out a lot of current so if something goeswrong it's less likely to damage your circuit. Set the voltage low and see if you have some vlotage on the power pins(16) of the CD4516 and the CD4028. If you don'thave a volt meter just take an LED and tie a 10K(BRN,BLK,ORN) resistor to the positive(the long leg) and wire to ground tied to the negative(the short leg). Now you canuse this as a probe to see where you have voltage. It will be very dim but we don't want to draw too much current away from the circuit.

    Now go into the computer program and find the Setup Table. Set the steps per inch to 1000. Then open the CNC control and set the single step for .001 inch and activatethe single step mode. Now each time you click the yellow arrows (up and down for the Y axis) the computor will output one pulse to the stepper motor driver circuit.Put your LED probe on pin 10 of the CD4516. This is the up down input. When you click the up arrow the input will be low(LED off) and when you click the down arrowthe input will be high(LED on). Pin 15 is the step input you will see a very short blink each time you click a n up or down arrow on this pin. Pin 6 is the Q1 output. It willchange state(high/low) each time you click an arrow. And Pin 11 is the Q2 output. It will change state every other time you click an arrow.On the output side of things we should see some activity on the CD4028 chip. Putting your probe on any of the output pins 1,4,6,or 7. These outputs drive the FETs. Youshould see the output go high every 4th time you click the up or down arrow.

    If this all makes sense so far it's time to get the motor running. The common wire or wires of the motor which are the center tap of the windings should be connected tothe light bulb. The other four wires should go to the four FETs on the circuit. If you are really lucky you will get the combination just right in the first couple of trys. Otherwise just keep switching the wires arround until the motor steps in the same direction each time you click the arrows.Watch the video in the next step. It may give you a better idea what to do.

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Step 5: Let's Watch it on TVI just like watching a video better than doing a bunch of reading. Hope this is helpfull. Good luck with your projects. If the movie doesn't show past this link into yourbrowser.http://www.youtube.com/watch?v=ZUyqscxLJ4k

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Step 6: Linux UsersI'm not a Linux user yet but I have played with it enough to be dangerous. But for you Linux users Chaddcurtis has contributed some setup files and information to helpyou use Linux CNC with the parallel port and this circuit board layout. Thanks a lot Chad and more power to you.

    File Downloads

    Linux_stepper.zip (7 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Linux_stepper.zip']

    Related Instructables

    Make your owncnc controllerby charcoal999

    Hobby cnc bymraspotcnc How to make a

    mini millingmachine-manual or CNC!by Honus

    Mostly self-reproducing 3-axis CNCmillingmachine(SHELVEDPROJECT) byebidk

    How to wire anarduino-based3-axis CNCmachine byaggrav8d

    CNC DriverBoard (Multiaxis) by samr37l

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Comments50 comments Add Comment view all 1197 comments

    zhr says: Mar 17, 2011. 7:25 AM REPLYhi...I've just done my board but I need stepper motors...I've found some one but they are with 4 wires...can I use them???

    woodspinner says: Mar 17, 2011. 6:58 PM REPLYno, this needs unipolar motors with 5,6 or 8 wires

    DOutsider says: Mar 8, 2011. 6:01 PM REPLYHello everyone I need some help for the components please, what are C3 C4 C5 and C6? They don't appears on the components list.Somebody can help me please?I solder my circuits today and I see I don't have these components.

    woodspinner says: Mar 9, 2011. 3:04 PM REPLY.1 uf, happy soldering

    DOutsider says: Mar 10, 2011. 11:17 AM REPLYThank you very much.I use a 12v power supply but does on this circuit board the tension is about 12v to the motors?If yes, how can I lower the supply voltage of the motors to 4.1v please?

    woodspinner says: Mar 10, 2011. 12:40 PM REPLYdont reduce the voltage to the motors, their voltage rating means almost nothing, only the amperage matters within reason

    DOutsider says: Mar 11, 2011. 5:31 PM REPLYI don't understand why their voltage means almost nothing?I got 1amp per phase.

    What is the voltage of the motors when we use a 12v power supply on this card?

    Too high voltage or too low is bad for the motors,

    woodspinner says: Mar 11, 2011. 7:09 PM REPLYStepper motors in particular are given arbitrary voltage ratings, these ratings are not the optimal voltages to run them at which generally is20-30 times their rated voltage. Its the amperage that has to be accounted for to keep from harming the motors or more exactly the coilsin the motors, thats where the bulbs come in to play, they not only limit the amperage flowing to the motors they also handle the flybackcurrent that comes out of the coils when you cut power to that phase.

    my motors are rated at 3v 1.2 amp, I'm currently running at 36v and about 1amp, my speed and acceleration are great. And my motorsget warm but not to hot to handle so their not being overpowered.

    DOutsider says: Mar 12, 2011. 3:52 PM REPLYOk thank you very much, I got a dc power supply about 12v 20amp with the same circuit board so I can use my 3 stepper motors4.1volts 1amp with this card? I have one last question I have to use 12v bulbs but how do I choose the wattage of my light bulbs?

    woodspinner says: Mar 13, 2011. 9:31 AM REPLYOk thank you very much, I got a dc power supply about 12v 20amp with the same circuit board so I can use my 3 stepper motors4.1volts 1amp with this card?

    Yes.

    I have one last question I have to use 12v bulbs but how do I choose the wattage of my light bulbs?

    One amp at 12 volts = 12 watts, I'd suggest being concervative and shoot with 11 watts.

    DOutsider says: Mar 13, 2011. 4:44 PM REPLYThank you again ^^.

    James Cavan says: Mar 16, 2011. 3:49 PM REPLYSorry to hijack but is the bulb just to force the current through the motors to the value you want? Surely there is a p.d. dropacross the bulb which lowers the p.d. across the motor?

    Or am I way off?

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    woodspinner says: Mar 16, 2011. 4:51 PM REPLYthe primary purpose of the bulbs is to limit the current going to the motors.

    ziggalo says: Mar 14, 2011. 1:32 AM REPLYdoes anyone know if this machine would work with a cardBus parallel port adapter like thishttp://www.eforcity.com/pdb25p1pbus1.html?efprcggbadtf110313=sc+gb+pdb25p1pbus1 ?

    I want to be able to run this from my laptop, which does not have a parallel port

    CMNDR says: Nov 21, 2010. 9:45 AM REPLYHello guys,

    I'm in the process of getting the driver board complete as well as the actual machine. While attempting to set up EMC2 for this board, the pin out can't bematched perfectly to the board, as there is no X-enable, Y-enable, or Z-enable in the software config. Is it perfectly necessary to have an enable for themotors to work and I need to find some other software to use or should the control board still function without the computer sending a signal to the enablepins?

    Thanks.

    woodspinner says: Nov 23, 2010. 10:18 AM REPLYI do know, that not all drivers even use an enable, and tom did mention that the enables were optional at some point.

    Moomba champ says: Nov 23, 2010. 10:10 PM REPLYSorry to do this but i really want a replyCan i substitute the mosfets for some kind of transistor

    01santaman says: Mar 12, 2011. 8:45 AM REPLYMoombaIf you haven't gotten the mosfets yet you can get then from Digi-key for under $10.00 and they will ship them through usp for around $3.00

    CMNDR says: Nov 24, 2010. 11:38 AM REPLYIn all honesty I couldn't tell you exactly. While it might be possible to use a transistor in place of the mosfets, you would have to be cautious of thecurrent and the switching speed of the transistor. Like I said I couldn't tell you with 100% certainty that you can or not but those would be the twomain things to consider when switching out that component.

    CMNDR says: Nov 23, 2010. 2:03 PM REPLYOk, thanks.So I went to test one of the axis as I'm close to completing all three, and when I hooked up the parallel port, I was unable to get the motor to spin... Ihave a setup where I moved the drivers receptor parallel port off of the board, and used stranded wire to attach the pins to the correct places... doyou know if the fact that stranded wire and data don't play nice would cause the motor not to move, or should I look elsewhere for a differentproblem?

    slayer04 says: Mar 9, 2011. 9:31 PM REPLYdoes it matter what kind/brand of stepper motor I use?

    woodspinner says: Mar 10, 2011. 12:42 PM REPLYuse unipolar stepper motors with 5,6 or 8 wires.

    DOutsider says: Mar 10, 2011. 11:23 AM REPLYHello the brand of the motor doesn't matter but you can only use unipolar motor with this circuit.Unipolar motors can have 5 or 6 wires, you can wired a unipolar motor with 6 wires like a 5 you've got the 4 extremities of the coils and you put together thetwo other wires.

    zopatch says: Mar 9, 2011. 7:24 AM REPLYIs there any replacement to RFP12N10L?

    seventhsensestudios says: Feb 21, 2011. 2:42 PM REPLYI have a Soyo 12V unipolar six wire Stepper Motor and I'm wondering if this circuit would work.

    I'm just learning electronics so, given a 12V power supply, wouldn't the other components drain voltage away from the motor, making it possibly not work?Just wondering as this board doesn't look too complicated even for me. Thanks!

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    bilal_dmx says: Feb 21, 2011. 8:28 AM REPLYMore images , breadboard + Logic trainer.

    bilal_dmx says: Feb 21, 2011. 8:19 AM REPLYMade and done!We isolated the problem causing component.It was the stupid CD4028 Decoder. Apparently the ones I got were chinese and very fake. They only work once or twice and then refuse to work at all. Therewas no problem with the FETs nor the counter. We have totally reverse engineered this and understand this controller from start to finish. As such we havemade our own version of it and we may further refine the electronics on this circuitry to include gate drive circuitry so the FETs may operate in the saturationregion. This will allow me to add indicator LEDs. Also I use a fairchild decoder and a motorola counter with my controller and it works superbly.We implemented this on vero and tested it with the computer and as a standalone drive.The problem here is that people try to copy this off without understanding or attempting to understand the electronics. You will not be able to troubleshootthis circuit.

    chony420 says: Sep 3, 2010. 10:17 PM REPLYHere is mine, i have some problem yet, but working on it, it work just to one side, the direction pin aperantly not working, in kcam, and with the paralell porttester. I think the problem is the stepper motor, becouse i take it from an old printer, i will buy a new one on monday to test. Here is my circuit board.

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    Serek_1 says: Feb 19, 2011. 11:54 AM REPLYI think the board is made wrong...Its made as a mirror.I've made today the same, I've noted it after drilling the holes.

    chony420 says: Sep 3, 2010. 10:27 PM REPLYIn the top black image of the tutorial appears the componenets and how they goes. In that image you have all the information to make the circuit board.

    chony420 says: Sep 3, 2010. 10:22 PM REPLYVideo Comming soon!!!!! It woks, it give the pulse to the pin and the stepper motor make 1 step every pulse, but cant change direction yet. When i fix thati will upload video.

    astrole says: Feb 3, 2011. 10:51 PM REPLYhelloi have constructed this controller with some modifications such as i opto-isolated the logic circuit from power Mosfets and instead of zener diod i am usingvoltage regulator with resistance in series to limit the current. the circuit is working fine i have checked the step sequence its perfect.the problem arise with motor i am using 2.2V stepper motor with 3A per phase 1.8 degree step. In kally cam i am using 2800 steps per inch as per myrequirementsi have used 12V to 50V at 3A but not been able to resolve my problems as

    1)the motors getting too hot in a 4 min run2)motor skip steps after 15IPM3)there is strange noise with the motor and its vibrating too muchi tested with different motors but got the same noise every timesome how i read some articles and they say there might be a possibility that with the micro-stepping i can increase the speed and get rid of noiseany help on this matter would greatly appreciated

    woodspinner says: Feb 17, 2011. 8:17 AM REPLY1-too much current to motors

    the only other I can help with is that this controller wont do microstepping.

    John

    erollitse says: Feb 11, 2011. 2:12 AM REPLYhi guys!! im new here in instructables. actually i utilize the circuit controller for a CNC lathe machine. the circuit performs well until several trials, i found outthat my irf630nn gains temperature as my machine operates. what should i do with this? also, i placed a heat sink to the MOSFET's the results made therectifier diodes in my power supply to burst with heat. can you give me a piece of advice with this problem. your advices will be deeply complemented.

    emihackr97 says: Feb 5, 2011. 6:35 PM REPLYHi, Can I use a USB to PARALLEL (CENTRONICS) converter??What are the light bulbd for??? can't i just remove them??thanks 4 answering.

    bilal_dmx says: Jan 27, 2011. 8:54 AM REPLYWe are trying to implement this board for a university project , an industrial automation course basically.We are testing this circuit on the trainer and are currently supplying the CLK pin of the counter with a continuous square wave.We then took the outputs from the decoder and plugged them into LEDs.The sequence was absolutely perfect.The problem came with the MOSFETs , we are using 12N60 in place of 12N10 and they donot seem to switch properly.We connected the gates of the MOSFETs to the output of the logic circuitry and thus each time a 3.25-5.25 V is passed to the gate it should short the drainand source to ground the coil and charge it , hence moving the motor.

    The issue arises here....12N60http://www.utc-ic.com/spec/12N60.pdf(datasheet for reference) is not swtiching properly. We connected the MOSFETs independently and simply passed a15 V to the gate and took a wire from the drain and input it to the motor..the motor just vibrated. Can someone tell me a suitable replacement for 12N60 ?12N10 is not available here...

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    bilal_dmx says: Jan 28, 2011. 6:07 AM REPLYOk we replaced the 12N10 with an IRFZ44 and the motor is giving a beautiful response. The problem is that , when I connect the MOSFETS to all the 4coils (in correct sequence ) the motor gets stuck. However , using the MOSFET switches individually ,giving a 4V gate voltage and then attaching thedrain causes it to function properly. The motor shaft jerks towards the charged coil.

    bilal_dmx says: Jan 28, 2011. 8:22 AM REPLYOK , so I managed to move the motor successfully , in a clockwise direction! :)I removed the diode that was connected with the motor source (freewheeling diode). Then I suppose , the MOSFETs were not receiving groundproperly!So what I did was , directly ground the MOSFET gates on the logic trainer , then individually move the ground pin to the voltage source (the IRFZ44's Gate threshold voltage is about 5V impressive).So the gate voltage when applied in the correct sequence moved the motor correctly ! SO far the MOSFET switching mechanism is workingflawlessly!!

    To make it clear i am only driving the motor using the MOSFETs. Directly applying the voltage at the gate while grounding the rest of the gates..Anyone with knowledge on this PLEASE please comment!

    woodspinner says: Jan 28, 2011. 4:49 PM REPLYare you bread boarding this? any pictures?

    munymuny200 says: Jan 25, 2011. 6:57 PM REPLYdo you think you could use a usb port?

    woodspinner says: Jan 26, 2011. 6:17 PM REPLYno, a usb port will not work with this driver

    munymuny200 says: Jan 27, 2011. 5:30 PM REPLYif there are any drivers with a usb schematic please let me know

    munymuny200 says: Jan 25, 2011. 6:58 PM REPLYmy computer dosent have a parrarell port?

    jmrgn693 says: Dec 18, 2010. 7:56 PM REPLYHi I am getting the parts together for this board. My question is what are the values of C3-6 and are they needed because I don't see them in the schematicor the parts list but they are shown on the board and all photos I've seen. Thanks Jim

    No1Daemon says: Jan 21, 2011. 10:25 PM REPLY.1 uf or thereabouts

    No1Daemon says: Jan 21, 2011. 8:28 PM REPLYHi all

    I wasn't paying due attention when I built this circuit and I have soldered the end of the diodes to the part of the board where the stepper motor wires go. Thediodes are supposed to be soldered directly next to them.

    I can't see it will change anything but can anyone see a problem with soldering the stepper motor wires next to the diodes?

    I have marked the 2 positions I am referring to under the mosfets.

    ThanksSteve

  • http://www.instructables.com/id/Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci/

    woodspinner says: Jan 17, 2011. 5:36 PM REPLYA salute to tom mcwire and his article for getting me into cnc routers

    phanhuuhoan says: Jan 14, 2011. 1:11 AM REPLYhey !

    axlrus says: Jan 5, 2011. 7:57 PM REPLYif i put 24v to input, did i need to change capacitor to 24v too????

    woodspinner says: Jan 8, 2011. 5:06 PM REPLYno, but if you use a voltage regulator instead of the zenier and resistor you wont have problems regulating the voltage to the logic.

    John

    view all 1197 comments