Easy to build CNC Mill Stepper Motor and Driver circuits

 by Tom McGuire
Featured
C:\Projects\Milling\Mill_Drive\Schem-PCB\CheapStep_r1.jpg
KCAM LPT Port Set.JPG
C:\Projects\Milling\Mill Blog\PortSetup.jpg
C:\Projects\Milling\Mill_Drive\Pictures\IMGP0801c.JPG
This 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 direction signals. 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 those of you who just want to get on with it... The_Next_Step

But 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 different things.

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 to the 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.2 volt 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 the standard 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 volts and 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, will increment 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 only 4 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 4 seprate 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 outputs to 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 these wedge 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's really 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 of the 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 running smoothly. Some of my stepper motors are 5 or 6 volt and some are 12 volt but it all works out.
 
Remove these adsRemove these ads by Signing Up

Step 1: The Circuit Board of Appeals

C:\Projects\Milling\Mill_Drive\Schem-PCB\CheapStep3D_PCB.JPG
OK 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(like the 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 two rows 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.
dirver says: May 18, 2013. 1:19 AM
Hi,
Small error in Port Setup printscreen of Tom.
Option 1: set pin 14 Reverse = True (instead of False)
Option 2: set pin 4, 7 and 14 on NU (as Enable is optional). You can than use pins 4,7 and 14 (reverse=true) for something else.
See pictures.
Regards,
Dirk
kcam2.JPGkcam1.JPG
sonnbonics says: Aug 9, 2012. 12:11 PM
Could I make 5 of these and control a 3D printer?
dirver in reply to sonnbonicsMay 16, 2013. 2:31 PM
Multiply the schema for 5 motors instead of 3.
Could be done.

What software and mechanics will you use ?
Regards,
Dirk
sonnbonics in reply to dirverMay 16, 2013. 10:01 PM
well, i have since bought a 3d printer, but i use pronterface. you think it would work?
dirver in reply to sonnbonicsMay 18, 2013. 12:44 AM
Sonnbonics,
I've looked further and in KCam4 you can only connect 4 motors.
X, Y, Z and A.
And yo have to check if there are pins available on your parallel-port
Pins 1, 16 and 17 are available in the KCam4 software but you have to check if they are hardware available.
Also you have to check if Pronterface is capable of stearing your motors via the parallelport AND via pins (not bit's = processor needed).
This last one can be probably done by exporting to KCam4 and use KCam4 for driving your motors.
Why you need 5 motors ?
X, Y, Z = OK, the spindle you can mis-use to control the fluidwire.
Therefore you need 4 outputs.

Regards,
Dirk
dirver in reply to dirverMay 18, 2013. 1:00 AM
Sonnbonics,

Just tested the following:
Tom has foreseen pins 4, 7 and 14 as pen-enable (optional).
If you put NU in the port-setup of KCam4 in the place where you could enter 4, 7 and 14 everything is still working (because of the flag Motor Enable --> Always On).
Therefore you can use pins 4,7 and 14 (wrong IO-address in KCam4 !!!, &H37A instead of &H378) to control your 4th motor.

Succes,
Dirk
dirver in reply to sonnbonicsMay 16, 2013. 10:36 PM
Sonnbonics,

What is the brand and type of the 3D printer ?
So I can see more specs.
A 3D printer is probably just a bunch of steppermotors which work with special software (like e.g. Pronterface).
Is a bit a X-Y-Z-milling machine but with a fluid instead of a spindle with drill ?? Or am I wrong ???
Regards,
Dirk
sgaspe says: May 21, 2012. 8:05 PM
I used 2N60 as the FET. But it seems like didn't working. Please let me know what is the best FET for use. My motor drives using 12V.
dirver in reply to sgaspeMay 16, 2013. 2:37 PM
RFP12N01L Fet's.
Regards,
Dirk
SpiderSpartan says: Jun 16, 2012. 1:47 PM
Can anyone tell me if Xenon or Halogen bulbs would work as the light bulbs in this circuit or would there be too much delay in those? Thanks.
dirver in reply to SpiderSpartanMay 16, 2013. 2:37 PM
Why use expensive bulbs ?
The bulbs mentioned are simple car or bicycle ones.
Depends on the powersupply voltage.
Regards,
Dirk
mastertiger says: Jul 8, 2012. 11:46 AM
i make this circuit for my cnc machine
i use 60n06 as mosfet
stepper motor 4.6A
i use power supply 17v
i make limitation circuit for current
but i have two problem
1- 60n06 Heated so much i put heatsink but nothing change
2- voltage across motor is only 1.4v
i don't know why
i use 17v supply voltage
please help
dirver in reply to mastertigerMay 16, 2013. 2:36 PM
Measured out the ic-pins as mentioned in the guideline ?
Your ic's should have 3V -> 5V input to work (see datasheet).
If not, check your power supply and part R1 (resistor 1K).
Regards,
Dirk
Tutorial Master says: Sep 12, 2012. 2:56 PM
Hi,
how powerful are the steppers?
dirver in reply to Tutorial MasterMay 16, 2013. 2:28 PM
Here in Belgium, they can lift 1 full package of 24 bottles of Belgium Beer.... ;-)
Depends on the motors and powersupply, not the circuit.

Regards,
Dirk
brcoenen says: Sep 21, 2012. 11:05 AM
Hello, can some one tell, or show me, how the lamp connects to the circuit on the pcb, i don't see it on any of the pics of pcb's or finished boards. I just see it standing there all by its self.

Thank you
dirver in reply to brcoenenMay 16, 2013. 2:26 PM
+ from the pcb to lamp 1, mass from lamp 1 to motor 1.
+ from the pcb to lamp 2, mass from lamp 2 to motor 2.
....
Do not want to be smart and put all together.. does not work !!! Tried this before :-(
So you need: 3 x 5 wires per motor + 2 for the spindle = 17 wires.

Regards,
Dirk
wl888 says: Oct 13, 2012. 10:16 PM
Tom or anyone with the answer please

firstly thanks for your Instructables.
have built the stepper control your design rev 2/11/07...cheep stepper. CD4516 and CD4028.

have built two boards so far.
for both boards, on slow clock test runs fine in forward, but misses Q4 output on the CD4028 every 2nd pass in reverse (tested with LED's) ie: direction to ground.
Apart from this every thing else works ok.
have You come across this before ? , if so, what is the cause / fix.

Regards
Doug
dirver in reply to wl888May 16, 2013. 2:22 PM
Doug,
Already replaced the CD4028 ?
Also checked the pcb ?
Re-tip the solderpads whith your solderpin.
Perhaps a very small mistake ?
Regards,
Dirk
brcoenen says: Jan 7, 2013. 6:32 PM
Just wondering, is there a parallel port mode that i should be setting the port to? I thought at one time as reading through all the posts I saw someone say something, but don't remember what it was, have read alot of posts, and with the little inconsitant errors and non workings i have had to finally get to a motor move I have to ask.
dirver in reply to brcoenenMay 16, 2013. 2:21 PM
Nothing to set, just check the base io-address of your LPT1 port.
Mostly 37xBh.
This must be the same as in KCam4.
Regards,
Dirk
pinkugkc says: Jan 16, 2013. 9:34 PM
there is no need any programming on microcontroller???
dirver in reply to pinkugkcMay 16, 2013. 2:19 PM
Correct, just see the settings (pin's) on the KCam4 screen Port-setup.
KCam4 just puts pin's high/low. That's all.
The high/low's are translated to on/off trought the fet's.
No programming involved.
Simple.
Regards,
Dirk
CANNONMAN1 says: Feb 6, 2013. 8:25 AM
HELLO, GETTING READY TO ORDER PARTS AND NEED TO KNOW IF THERE IS SPECIFIC PART NUMBER/MAKE ETC. FOR THE N CHANNEL LOGIC MOSFETS. WANT TO MAKE SURE I GET THE CORRECT ONE AS THEY ARE PRETTY COSTLY.
THANKS, ED
dirver in reply to CANNONMAN1May 16, 2013. 2:18 PM
Ed,
Use the RFP12N10L Fet's.
Perfect for the job.
Regards,
Dirk
axlrus says: Apr 30, 2013. 11:35 AM
What voltage should i use for light bulbs????? My motors are 6v, and power suply 24. 12v bulbs got realy hot, and with 24v bulbs motors run powerless. What happens there, and how to calculate proper resistor to replace the bulb. Thanks
dirver in reply to axlrusMay 16, 2013. 2:16 PM
If your motors are 6Volt than put max. 6Volt to the pcb.
Otherwise (perhaps already) you may crash the motors.
As Tom mentioned,use a simple powersupply (3 - 4,5 - 5 - 6 - 7,5 - 9 - 12) Volt switchable.

Regards,
Dirk
sanjaysy says: May 6, 2013. 4:18 AM
I built using PDF files from your instructable. it looks like +ve & -ve terminals have been connected using 1K resister, where are circuit says +ve & +ve terminals are connected with Zener & capacitor in parallel with 1K series resister. do i looking at the right bottom.pdf. i'm a mechanical engineer & limited knowledge of electronics, your help will be highly appreciated.

Attached a sketch with markups.

Thanks in advance.

regards,
sanjay
Capture.JPG
dirver in reply to sanjaysyMay 16, 2013. 2:14 PM
Sanjay,

You mixed up the R1 (1K resistor) with C6 (capacitor 220uF).
Regards,
Dirk
slh1 says: Mar 22, 2013. 10:46 PM
Hi mister! Is it possible to connect your driver to the 4-lead 2-phase bipolar stepper motor? since I could only find this type of motor in my area. Thanks
addi125 says: Dec 23, 2012. 3:50 AM
will this works with 4 wires stepper motor?
andrewuk says: Dec 21, 2012. 2:40 AM
Great intractable! But have you created a board yet for sub adaptor?
Avadhut.Deshmukh says: Oct 13, 2012. 10:00 AM
I am using stepper motor Nema23Part
No.: 57BYGH420
Frame Size: NEMA23
Step Angle: 1.8 degree
Voltage: 3.6V
Current: 2.0 A/phase
Resistance: 1.8Ohm/phase
Inductance: 2.5mH/phase
Holding torque: 12.6Kg-cm 132oz-in , with unipolar (For Bipolar connecting, the holding torque is 185oz-in)
Rotor inertia: 300 g-cm2
Detent torque: 0.4 kg-cm
Number of wire leads: 6
Weight: 0.7KG
Length: 56mm !

does it hold Nema23 ?
brcoenen says: Sep 25, 2012. 1:17 PM
Hello, can someone tell me if C7 is the the 220uF Cap? If i understand it rite, from what i read, all the rest are .1uF.
mnikolic says: Sep 9, 2012. 8:00 AM
Please, can someone help me! I made this circuit and it is excellent, it works with KCam, but I want to work with Mach3/ Why it is not possible to connect with this programe. Please sent me answer on vilan86@gmail.com

Thank you in advance!!!
grzegor41 says: Sep 4, 2012. 12:52 AM
As high power motor can be used in the electronic circuit, so as not to have to replace the values ​​of the individual circuit elements.?
maikeru86 says: Aug 27, 2012. 6:57 AM
Hi all, could someone please help me out with a relatively simple question?

I built a circuit board am I'm quite sure its exactly the same, I've tested it and it seems to be working fine.

My question is, when I load up Kcam, and switch on the single step mode and bring up the parallel port I/O display window (the window showing the high or low state of the pins) to test the board, It shows that the step bit is always on high state. when I click on a direction it briefly switches to low state then goes back to high state and remains there. Even if i invert the bit it remains the same.

Should it not pulse i.e. go to high state briefly when a button is clicked and then switch off again?? has anyone experienced this problem or is this the correct way to drive the motors.

I'm not sure what the specs of my motors are yet and thus cannot test if they work, but the output pins on the board do switch in the correct order and thus believe that the reason for my motor not responding is because of this.

Any help would be greatly appreciated!
mganpate says: Aug 9, 2012. 12:38 PM
i Have question about the will be used in small wind turbine. its yawing system purpose getting the wind direction purpose. if you possible this system tobe apply its with out vfd through its yaw gear box sytem Motor to be used this our our
below specification of motor

05 hp
240VDC
1500rpm
pmdc

we are making the pm dc steeper motor system with out vfd.

kindly suggest.

Regards
Mahesh Ganpate
altempowerltd
india


shlxtn says: May 20, 2012. 8:47 AM
HI
I am asking about computer safety ?.
It will not burn cpu or ram or any part of my computer,by residual current from motor?
t hank you
dpsilver in reply to shlxtnJul 31, 2012. 5:49 PM
you should be be able to use supression diodes to prevent this reverse emf from reaching the computer if it gets that far, or even opto isolators but the simplest ting to do is to use a parallel port on an expansion card
woodspinner in reply to shlxtnMay 21, 2012. 7:46 PM
not unless you foul up so badly you feed that voltage into the computer and then I think it would just blow the parallel port
muresanpaulcristian says: Jul 12, 2012. 1:12 PM
Hello

I have a question, where are that wire on your circuit?
sgaspe says: May 21, 2012. 8:05 PM
I used 2N60 as the FET. But it seems like didn't working. Please let me know what is the best FET for use. My motor drives using 12V.
msobh says: May 20, 2012. 6:35 AM
what kind of motor that i can use ????
shlxtn in reply to msobhMay 21, 2012. 2:35 AM
steeper motor
msobh in reply to shlxtnMay 21, 2012. 3:14 AM
yeah i know that xD ... i meant are there any specific motor to use or the specification of the motor ... or any stepper motor will do the job ?!

thnx in advance ^^,
woodspinner in reply to msobhMay 21, 2012. 7:44 PM
look for 5,6 or 8 wire steppermotors
cfreitas says: Apr 30, 2012. 7:35 AM
Excelent, I want to boy the parts right now !!!!
I only have a question : Would this circuit be enough to make work NEMA 23 stepper motors ?
woodspinner in reply to cfreitasMay 21, 2012. 7:43 PM
yes
tgferreira184 says: Apr 24, 2012. 1:03 AM
can I use 24v 600mA stepper motors with this driver board?
hiren manani says: Feb 10, 2012. 7:21 AM
hey....i make 3 axis cnc machine so,
hey i have a 12v d.c stepper moter so can i use this controller circuit ......plz as soon as possible give me ans...
medalhead in reply to hiren mananiApr 21, 2012. 4:38 AM
yes you can, i did it too. you do not have to use any bubs or resistors then
medalhead says: Apr 21, 2012. 3:37 AM
HELP PLEASE!!

Hy i used some motors on my board wich are not strong enough, these motors shoud be driven at 12 V. now i bought some new motors with more power.

for my old motors i did not use the light bulbs ore resistors instead, cause i did not need them....
but the new motors should be driven at 4V and 1A.

im from germany an cant find any bulbs with sockets that would match and do not have any 8R power resistor.
so is it possible to use a speaker with 8R??

mahmoud asem says: Mar 24, 2012. 7:44 AM
please guys what are the values of c3-c6 i just need that to finish :)
woodspinner in reply to mahmoud asemMar 29, 2012. 7:42 PM
.1uf
mahmoud asem in reply to woodspinnerApr 4, 2012. 8:20 PM
and how about c6 is it imortant ?
mahmoud asem in reply to woodspinnerApr 4, 2012. 8:10 PM
thank you buddy i will finish it and post some pics :)
edison01 says: Apr 2, 2012. 12:05 AM
Hello!
Construction of the panel, it works perfectly! I would like to ask for help Mach3 program. Kcam works, but not the Mach3. I can not configure step, dir, port, pin, enable ... etc (screenshot) Please help. Thank you! My e-mail: edison01@citromail.hu
bawag says: Mar 16, 2012. 10:37 AM
what is your transistors value?
Mdob says: Feb 9, 2012. 11:09 PM
Hi, I am really looking into building this and I was wondering how this project fared with 3 stepper motors of varying sizes? Do you need to build different drivers or change things in software? Does this affect the overall accuracy or speed of it?

Thanks!
bogdanalex says: Jan 26, 2012. 12:32 AM
I managed to build this one , the motors are turning properly ... I still have some problems with "ignition" ... the serial port sometimes doesn't turn the driver on properly.

I was wondering how many Amps could I draw from this circuit powered by how many volts ?

Thanks!
lemieux7 says: Jan 4, 2012. 3:55 PM
Hi, Great project! I was just wondering. My stepper motors require 6 amps per phase. Would this driver configuration be adequate to drive them? If not, is it possible without a major re-design to just change out some components?

Thanks Carl
oath111 in reply to lemieux7Jan 24, 2012. 11:35 AM
Hello! I think my level of knowledge is even lesser than yours, however pls I want you to assist me more over the electrical aspect of the 3d CNC Milling machine. I don't understand how I can connect the stepper motor to the circuit after the design, I also don't know the programme to write to control it, and also how I can feed the programme to the circuit for proper control. In short I'm done with coupling of the physical components since, but I've been helpless on how to proceed on the electrical aspect
lemieux7 in reply to oath111Jan 24, 2012. 4:08 PM
Hello, I think I started the same way you did, not knowing very much about the electronics. I found out that all I needed was the stepper motors and driver boards in order to run three axis. However it got a little more complicated than that, come to find out I needed driver boards that could handle the motors that I bought. You need to know what size motors you have as far as voltage and amperage per phase. Then you have to find a driver board that will be compatible with the motors that you have bought. If you have not bought any motors yet there are a lot of good packages on eBay. Unfortunately I didn't know enough about the process so I bought my motors first then I had to try and find a driver board that was compatible with them. I found some components from this eBay store that I have listed here in the link. The man that owns this store has been very helpful to me. He not only had the components that I needed for my machine but he also gave me a schematic on how to wire them even though I didn't buy the motors from him. You can trust this man. I suggest you buy his CNC instructional book it explains a lot about how to wire your motors as well as what you'll need. As far as programming your machine, you will need some sort of CAD CAM package. You will also need a computer with a CNC controller software installed in it to control your CNC. I hope I have been of some assistance to you. Feel free to contact me with any other questions. I don't know everything there is to know about the subject but I think I could now build another CNC by the knowledge I've gained in this experience. http://stores.ebay.com/HUBBARD-CNC-INC?_trksid=p4340.l2563
spy9925 says: Jan 2, 2012. 10:40 AM
I can use USB to DB25 Parallel Printer ?
spec of motor?
Arduino Guy says: Apr 10, 2011. 5:24 AM
Hi, I decided to test my computer's parallel port before building this driver and for some reason there is no step pulse on the pins it was assinged to for all X,Y and Z axises. I am using mach 3 on xp. Can someone help me solve this problem. Thank you.
wllshaw in reply to Arduino GuyDec 30, 2011. 1:44 PM
Did you figure it out. I have a mill running on K Cam. I would like to set it up for Mach 3 though. Did you get yours to run?
woodspinner in reply to Arduino GuyApr 10, 2011. 7:45 PM
check your ports and pins setup

John
Arduino Guy in reply to woodspinnerApr 12, 2011. 4:21 AM
I set all the pins correctly, i know this because the direction signal for all axises works, can it be something else?
woodspinner in reply to Arduino GuyApr 12, 2011. 6:55 AM
well, we know you got the direction pins and ports correct, are you sure you set the port on the step pins correctly? if so, then check your parallel port and cable carefully.
woodspinner in reply to woodspinnerApr 12, 2011. 6:56 AM
I just had a thought, easy it is to check direction signals , either high or low, but with step signals they dont last long enough to check them with anything but an oscope
pfred2 in reply to woodspinnerMay 10, 2011. 8:14 PM
I like my scope fooling around with this CNC stuff mine shows up about 18 seconds in:

http://www.youtube.com/watch?v=cgbeyNNBZ68

I don't use Mach though I run EMC2 http://www.linuxcnc.org/index.php
georgelstuart says: Dec 28, 2011. 1:31 PM
Thanks so much for your contribution, I have been looking at reprap for a while and never understood the electronics. Yours make sense. I have ordered parts to build this circuit and I plan on driving it with Linux EMC2.

I am puzzled though, why don't you use voltage shifting transistors at the Step, Direction and if used, Enable inputs so that the entire circuit runs at full voltage, deleting the zener. The ICs are rated at 20 volts. Most fets need higher gate voltage to drive to saturation, (except the logic level parts you specify - but logic level fets I have found are much more expensive) and a couple of level shifter transistors at those inputs would be very cheap - maybe a few pennies.

Anyway, like I said, I plan on building your circuit as my first foray into CNC and I ordered parts to build this, and I'll try what I suggest too, see how it goes. Just curious if you had already considered that option and discarded the idea for some reason I don't see.
tag3r1s says: Dec 28, 2011. 3:38 AM
Hi,
I have a question. Can I run this circuit on 3V? because i have 3 3V 2.1A stepper motors. I'm scared of burning them by running at 12V.
jackcamino says: Dec 19, 2011. 2:56 PM
Merry Christmas!!
Please, help me with something here?
I want to build a CNC mill because my actual project is building a guitar so, for a neck that is about 26 in x 3 in x 2 in; and the soundboard around 15 in x 20 in x 3 mm should I shop for a larger or stronger or faster motor; how large? does it need to be a stepper motor or any motor would do the job?
And the other question is what software do you use and if it is mac compatible?
Thanks,

Jack
crispycat says: Dec 14, 2011. 5:12 AM
thought id come back to this project as its been sitting on the shelf for a year or so after failing last time...
so everything appears to be in the correct place
the lights come on when i add power
everything is fine then after the computer gets past bios the lights switch off!
if i take the paralel out they all come back on again!!
any idea what i have done wrong?
crispycat in reply to crispycatDec 14, 2011. 5:51 AM
ok changed the settings in bios for parallel mode from ssp? to ecp and the lights have come back on
and yay i now have one axis working woowoo!!
wirecase says: Dec 7, 2011. 1:58 AM
Hi Tom,

Thanx for this circuit! It's been quite a chalenge for me to get it to work properly but now I've finally got it to work. First I build it on a breadboard and now it's on a protoboard, the first axis done now, yey!

Further more, I have the same question as Kodex, what kind of resistor do I need if I want to replace the lightbulb. All the resistors, with the +/- same resistance as the lightbulb i've been using, I tried so far are getting very hot during use...

Tom, Anyone...?

Greets,

Wire
kodex says: Nov 6, 2011. 6:36 PM
Gentlemen,

If I would like to replace the bulb with a resistor, how determine the ohms I need and the wattage it should handle?

Thanks,
Steve
itstuck3r says: Sep 27, 2011. 3:43 AM
Not gonna lie, I've built this board with about 7 different layouts and even got my electrical circuits teacher to proof read my work. I've built it correctly every time and it still fails...bout to just go buy a premade one or something :/
ragha anu says: Sep 19, 2011. 7:28 AM
pls tel y stepper motor can b used for cnc machining centres?
wat is d fact?
nikedp says: Sep 10, 2011. 1:51 PM
Hi,
Firstly, I would like to say, that this tutorial is amaizing. Thank you for doing this.

But, I have a problem. I am using stepper motor stp-42d221-03 and I cant figure out, how to connect it with board. It has only 5 wires and all of them are grey (only first one has blue stripe). Please help. I tried connecting it about 100 times and it always goes few steps (about 5-10 depends on wire order) forward and few steps backward (about 2). I need help.

Thanks
Paul
motor.jpg
woodspinner in reply to nikedpSep 16, 2011. 7:39 PM
http://www.piclist.com/techref/io/stepper/wires.htm

start with this webpage and work forward
adam.part says: Jun 29, 2011. 2:43 PM
hi there, a very good design, wang to make one, cann't get the 4516, what should I do?

thanks

adam
stewie0056 in reply to adam.partAug 1, 2011. 6:59 PM
i have used a 74191 instead of the 4516 and it works perfectly. just look at the two datasheets and find where the pins need to go. i ordered mine from www.allelectronics.com
if you need any help message me
adam.part in reply to stewie0056Aug 2, 2011. 8:48 AM
thanks, i got 4516 and made a single axis circuit, but do not know how to start, i connect 25 pin on and set pin2 as step and goes to pin15 of 4516, pin3 as dir and goes to pin10 of 4516, pin4 as enable goes to pin12 of 4028, i am using mach3, what can i do now ?
stewie0056 in reply to adam.partAug 5, 2011. 11:33 PM
right now i have a single axis too because i am waiting for better stepper motors to arrive.

you are correct on where the direction, step, and enable need to be.
to do a quick test unplug from computer. make your enable wire HIGH. make your direction wire HIGH or LOW. take a wire from your clock and move it from GROUND to VDD to GROUND......
everytime you touch VDD your stepper should move one step. change the direction wire and try it again. then ground your enable wire. if it stops power to the motor. if all that works everything is working onthe circuit side of the cnc driver.

i have not used mach3 yet but when i do ill let you know if anything needs changed. as far a kcam it works perfectly. just set up the port and the table settings and its works good. i cant seem to get it to run off of g code. only .gc files will work for some reason.

good luck
adam.part in reply to stewie0056Aug 31, 2011. 12:09 PM
HI, stewie0056
Tried steps above and unfortunately, motor no move, must be something wrong, I just don't where?
stewie0056 in reply to adam.partAug 31, 2011. 1:33 PM
What I did was start and test each component individually. The for example make sure your decade counter works buy putting leds on the outputs and have every thing else hooked up like the schematic except the parallel port wires. Then move your clock wire to high then low then high then low and so on. I every time it should count in binary from 0-15 if not then there's your problem. I if it does now move on to your decoder . Give it a known input by outing the input wires on your + 5 power and ground rails. The now check that the decoder is working properly and giving you the correct values. If so move on to the fets. I had bad luck with mine and I'm actually using a uln2003a instead of fets. Other changes I have made are I don't have a zener diode but I have a 7805 voltage regulator and I have added a 4700uf capacitor because my motors draw more current then my power supply can provide.

king5star says: Aug 23, 2011. 11:56 AM
Hello Mr : Tom

I have a question / Pin No.1 in lpt Running A Drill to Start ?
cbarth says: Aug 16, 2011. 10:16 AM
Hi,
thanks for this great instructable. However, I have a question according the IC CD4516. Can I also use a different IC instead f the CD4516 because this particular IC is not aviable in my country.

Thanks
moffett8 says: Aug 6, 2011. 9:31 PM
Any chance you will do this board for a 5 axis CNC? I'm building one now but don't have the board for it.
adam.part says: Aug 2, 2011. 10:42 AM
noob asking again, in my cirsuit, one of the 4 IRFZ44N bun up and bunned the 1n4742, I cahnged into 1n4753 happened again, what happen there, help me please.
jayeshshinai says: Jul 3, 2011. 6:15 PM
All you insanely smart n helpful people!

i was suggested by my local vendor to use the 12n60 mosfet instead of the 12n10 as given...

now iv built the circuit, the motors power up on 2 axis but dont respond to KCam.
so is it because of the mosfets?

- also the bulb of the driver in the centre doesnt even light up...iv checked the circuit, nothing seems wrong..

suggestions pls?
JorLouJr says: Jun 28, 2011. 3:08 AM
Tom, the schematic is a bit difficult to read ... could you provide a better resolution one ?

Thanks and congrats ! ;-)

Jorge L.
dwn77 says: Jun 15, 2011. 6:10 AM
Gentlemen! I'm really sad because the day I finished my plate, and not getting hit, even out of primary tests.
Again I need help from the masters here.

I confess I'm lost! Do not know, what may be happening.

All 16 pins are having signal. The other pins 1-4-6-7 CD4028be, do not change status by clicking on the arrows.
Sometimes clicking on the arrows to hear the engine noise of contact very short.
List of board components:

CD4516BE
TC4028BP
K2391 (FET)
7806A
Lamp (i think is 18 volts or +)

Help me please, Thanks!
My.CNC.Board1024x768.jpg
Damienb says: Apr 5, 2010. 10:22 PM
I like the look of this project and have started to accumulate the mechanical parts side of things. My question though in regards to the circuitry... What if your PC (in this case i wish to use a laptop) doesnt have a parallel port?

Damien
punkhead58 in reply to DamienbApr 6, 2010. 10:30 PM
Simply buy a parallel port-to-USB adapter at your local electronics store.


woodspinner in reply to punkhead58May 4, 2010. 11:28 AM
 that wont work for this application
deanhenry14 in reply to woodspinnerJun 13, 2011. 2:11 PM
Hi

Im in the same situation as Damienb and i don't have a parallel connection on my laptop. I'm looking at getting a parallel port expresscard and i wonder will it suffice and provide the correct voltage for the steppers?

Cheers and thanks.
woodspinner in reply to deanhenry14Jun 13, 2011. 4:13 PM
laptops have built in power conservation systems that interfere with the timely generation of pulse streams so good luck with that.
ziggalo says: Mar 14, 2011. 1:32 AM
does anyone know if this machine would work with a cardBus parallel port adapter like this http://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
deanhenry14 in reply to ziggaloJun 13, 2011. 1:55 PM
Hi,
just wondering if you went ahead and used the card bus. Did it work for you? Im in the same situation and I am looking at getting a parallel port expresscard.

cheers.
deanhenry14 says: Jun 13, 2011. 1:40 PM
Hi all,

since i dont have a laptop that has a Parallel port and i can't use a usb to parallel converter for the project, can i use a Parallel expresscard. Will the voltage from these be adequate for the driver board?

http://cgi.ebay.ie/Parallel-Printer-Port-Express-Card-Fashion-PC-Laptop-/250613958248

If anyone can advise, it will be greatly appreciated. Thanks guys.
j-pdup says: Jun 2, 2011. 11:16 AM
Hi, I was wondering if you can help me. I am running a PM35L motor. Wen I step in one direction with Kcam the motor steps completely fine. But when I step in the opisite direction on the third step it jumps an exstra stemp and dont jump on the fourth time. Please help me.
cousinles says: May 30, 2011. 7:46 AM
Toms driver is buried in there somewhere. it works great for me
IMG_1174.JPG
dwn77 says: May 17, 2011. 8:48 AM
Hello! Gentlemen! I have a doubt, as the printer cable!
What kind of cable should I use?

I am referring to the kind of internal connection!

Thank you all!
woodspinner in reply to dwn77May 21, 2011. 8:28 AM
I used a scanner cable from a computer recycler, used the appropriate connectors on each end.

John
dwn77 in reply to woodspinnerMay 23, 2011. 1:23 AM
Thanks for the reply! ... I was referring to the internal connections of the cable. I am using a cable with both ends DB25 (female).

DB25 (female )<-----------------> DB25 (female).

I checked the pinouts and are all direct and not have wires crossed.

I'm having problems and I am trying to fix it.
woodspinner in reply to dwn77May 23, 2011. 6:34 AM
straight thru is correct
dwn77 says: May 23, 2011. 2:02 AM
Gentlemen, I again beg everyone's help.

I am not able to make my device work.

First, and does not know the wiring of the engine, and not have the data sheet it.
I'm using the motor from Sanyo Denki -
Type 103G775-1511
17.5 V DC
0.25A
1 / 8 Deg / step

I'm using a controlled source of OMRON, Min.17.6V Max.24.0V-1.1A.

And second that I'm not understanding the correct order of connection of the motor wires and the order of the output FETs.

If you can help me with this I'll be very grateful!

Thank you for all!
Flying_MashedPotatoes says: Apr 17, 2011. 11:05 PM
WOW! you made your own driver board!?! it looks so much simpler than the HobbyCNCPro kit, but i guess it doesn't have as the settings for 1/2step, 1/4step and so on, but i guess you could just make different versions of this board, or just implement the switches in. How did you make the PCB if you dont already have a cnc machine to cut it out? It doesn't look like you did the acid wash way.
pfred2 in reply to Flying_MashedPotatoesMay 10, 2011. 7:50 PM
This is what I did:

http://img709.imageshack.us/img709/9816/tb6560boardb.jpg

But my circuit is a little different and I do have microstepping on mine.

Works good too:
http://www.youtube.com/watch?v=cgbeyNNBZ68
ghuebo says: May 10, 2011. 7:47 AM
Hello! I´ve just build my own driver using your plans but unfortunately it doesn´t run well. I took the decision (probably bad one) to substitute each the light bulb with three 25 ohm- 1A variable resistor, but I don´t know why... it is not working. I´m using 12 volts 1 Amp stepper motors. If someone could help me i´ll thank you so much, because i´m really stuck.
pfred2 in reply to ghueboMay 10, 2011. 7:44 PM
I bet. If you want to get unstuck send me a message maybe I will be able to help. This is one of my motor drivers:
http://www.youtube.com/watch?v=cgbeyNNBZ68

So I'm pretty good when it comes to these stepper motors.
dwn77 says: May 9, 2011. 1:06 AM
Hello gentlemen! I'm having some doubts, if you guys can help me! I am thankful! I am not able to find some components, so I made some substitutions on your own. questions:
1-I am using a voltage regulator NJM7806FA in place of the zener. Will I need the capacitor and resistor too?
In place of the 2-RFP12N10L'll use the 2SK2391. Would I have problems?
3-Still in place of CD4516BE CD4028BE and I use TC4516BP TC4028BP and, I believe I'll have no problems with them, am I right?
4-have for me, engines 17.5V 0.25A 1.8deg/step 6 wires, what is the voltage of the light bulb?

Thank you!
key_j in reply to dwn77May 9, 2011. 5:17 PM
Man i doubt someone is listening to reply
Anw the 2SK2391 will work perfectly but i recommend to use lm7806ct instead of NJM7806FA
lm7806ct are really cheap and let you up the voltage to a max of 24v without changing anything, the zener will blow without the right matched resistor if you go over 12v and you can replace the 1k resistor and the 6.2v zener with an lm7806ct
dwn77 in reply to key_jMay 10, 2011. 2:02 AM
Hello! Key_! Thanks for your response! Glad I can use the voltage regulator NJM7806FA, and only because I have this available where I live.
Yes, I use the voltage regulator, the zener is not available here.
Thank you!
key_j in reply to dwn77May 10, 2011. 5:58 AM
Don't forget to post the results after you finish working with the controller
key_j says: May 9, 2011. 5:19 PM
Could i use 3 unl2003a instead of the 12 mosfet's and 3 bulbs
Plz reply this time
key_j says: May 6, 2011. 8:38 PM
Sir I'm starting to collect the necessary components to build this driver,,,
I found these 2 24v stepper motors extracted from an old hp printer:
pm35l048 and pm55l048
Datasheet: http://www.eminebea.com/content/html/en/motor_list/pm_motor/pdf/pm55l048.pdf
http://www.eminebea.com/content/html/en/motor_list/pm_motor/pdf/pm35l048.pdf

I want to know if i could use them and what changes to the board should i do
emihackr97 says: Feb 5, 2011. 6:35 PM
Hi, Can I use a USB to PARALLEL (CENTRONICS) converter??

What are the light bulbd for??? can't i just remove them??

thanks 4 answering.
zulfiqaradil in reply to emihackr97Apr 22, 2011. 11:35 PM
hello , friends the z - axis motor is not working whats the problem man plz helpo me
woodspinner in reply to emihackr97Apr 10, 2011. 7:46 PM
the bulbs limit the power going to the motors, if you use a big power supply and no bulbs you will fry the motors and possibly the board.

John
pfred2 in reply to woodspinnerMay 10, 2011. 7:47 PM
I bet. If you want to get unstuck send me a message maybe I will be able to help. This is one of my motor drivers:

http://www.youtube.com/watch?v=cgbeyNNBZ68

So I'm pretty good when it comes to these stepper motors.
old baldy in reply to emihackr97Apr 10, 2011. 1:37 AM
Emihackr97,
printer.

I am currently using win 7 ult. My system does not have a parallel port.
Bought USB to Parallel cable. I lied to windows, and installed a new
printer. I then changed the port in Properties, from LPT1 to USB2.

This configuration runs HP laserjet 5 and Cal Comp plotter.
Windows thinks plotter is HP 430.

Have not tried Mach 3 yet, but autocad, and solidworks , print just fine.

Setup on Cal Comp 3025 is set for HP-GL 2. Kind of universal data stream.

Hope this helps.
bilal_dmx says: Apr 10, 2011. 9:39 AM
SO now we made our own new CNC control circuitry using PIC18F4520 , L297 and L293 and IRFZ44N , If anyone wants to buy let me know :)
eehobbytoronto says: Mar 27, 2011. 12:06 PM
Just finished my first driver board using IRF1405P,
no need heat sinks, no need fans, no need "inductive kick protection" diode.
Youtube link: http://www.youtube.com/watch?v=WVn75NmoPUU
anmo says: Mar 21, 2011. 8:53 PM
I built the board and works but the step motor does mot run smoothly there is kind of jump in order to make it run smoother I had to set 10000 steps per inch a 1000 does not make it smooth any advice
knutselman says: Mar 21, 2011. 9:38 AM
Can this circuit be used with IRFZ46 Mosfet's???

I hope so because I have 12 of them here...
millouzzz says: May 24, 2009. 9:36 AM
Hi , iam Algerien , look at this one
cnc.bmp
just smile in reply to millouzzzMar 18, 2011. 4:29 AM
hello were could i get a better picture of this circuit .
and the parts list
zhr says: Mar 17, 2011. 7:25 AM
hi...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 in reply to zhrMar 17, 2011. 6:58 PM
no, this needs unipolar motors with 5,6 or 8 wires
DOutsider says: Mar 8, 2011. 6:01 PM
Hello 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 in reply to DOutsiderMar 9, 2011. 3:04 PM
.1 uf, happy soldering
DOutsider in reply to woodspinnerMar 10, 2011. 11:17 AM
Thank 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 in reply to DOutsiderMar 10, 2011. 12:40 PM
dont reduce the voltage to the motors, their voltage rating means almost nothing, only the amperage matters within reason
DOutsider in reply to woodspinnerMar 11, 2011. 5:31 PM
I 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 in reply to DOutsiderMar 11, 2011. 7:09 PM
Stepper motors in particular are given arbitrary voltage ratings, these ratings are not the optimal voltages to run them at which generally is 20-30 times their rated voltage. Its the amperage that has to be accounted for to keep from harming the motors or more exactly the coils in the motors, thats where the bulbs come in to play, they not only limit the amperage flowing to the motors they also handle the flyback current 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 motors get warm but not to hot to handle so their not being overpowered.
DOutsider in reply to woodspinnerMar 12, 2011. 3:52 PM
Ok 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 motors 4.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 in reply to DOutsiderMar 13, 2011. 9:31 AM
Ok 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 motors 4.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 in reply to woodspinnerMar 13, 2011. 4:44 PM
Thank you again ^^.
James Cavan in reply to DOutsiderMar 16, 2011. 3:49 PM
Sorry 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. drop across the bulb which lowers the p.d. across the motor?

Or am I way off?
woodspinner in reply to James CavanMar 16, 2011. 4:51 PM
the primary purpose of the bulbs is to limit the current going to the motors.
CMNDR says: Nov 21, 2010. 9:45 AM
Hello 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 be matched 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 the motors 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 enable pins?

Thanks.
woodspinner in reply to CMNDRNov 23, 2010. 10:18 AM
I do know, that not all drivers even use an enable, and tom did mention that the enables were optional at some point.
Moomba champ in reply to woodspinnerNov 23, 2010. 10:10 PM
Sorry to do this but i really want a reply
Can i substitute the mosfets for some kind of transistor
01santaman in reply to Moomba champMar 12, 2011. 8:45 AM
Moomba
If 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 in reply to Moomba champNov 24, 2010. 11:38 AM
In 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 the current 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 two main things to consider when switching out that component.
CMNDR in reply to woodspinnerNov 23, 2010. 2:03 PM
Ok, 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... I have 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... do you 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 different problem?
slayer04 says: Mar 9, 2011. 9:31 PM
does it matter what kind/brand of stepper motor I use?
woodspinner in reply to slayer04Mar 10, 2011. 12:42 PM
use unipolar stepper motors with 5,6 or 8 wires.
DOutsider says: Mar 10, 2011. 11:23 AM
Hello 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 the two other wires.
zopatch says: Mar 9, 2011. 7:24 AM
Is there any replacement to RFP12N10L?
seventhsensestudios says: Feb 21, 2011. 2:42 PM
I 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!
bilal_dmx says: Feb 21, 2011. 8:28 AM
More images , breadboard + Logic trainer.
IMG00849-20110129-2005.jpgIMG00853-20110129-2006.jpgIMG00871-20110208-1754.jpgIMG00844-20110126-1554.jpg
bilal_dmx says: Feb 21, 2011. 8:19 AM
Made 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. There was 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 have made 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 saturation region. 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 troubleshoot this circuit.
IMG00873-20110208-1755.jpgIMG00858-20110131-1733.jpg
chony420 says: Sep 3, 2010. 10:17 PM
Here 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 port tester. 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.
2010-08-23 23.30.20.jpg2010-08-23 23.31.13.jpg2010-09-04 02.02.29.jpg2010-09-04 02.10.05.jpg
Serek_1 in reply to chony420Feb 19, 2011. 11:54 AM
I 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 in reply to chony420Sep 3, 2010. 10:27 PM
In 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 in reply to chony420Sep 3, 2010. 10:22 PM
Video 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 that i will upload video.
astrole says: Feb 3, 2011. 10:51 PM
hello
i 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 using voltage 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 my requirements
i 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 run
2)motor skip steps after 15IPM
3)there is strange noise with the motor and its vibrating too much

i tested with different motors but got the same noise every time
some 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 noise
any help on this matter would greatly appreciated
woodspinner in reply to astroleFeb 17, 2011. 8:17 AM
1-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
hi 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 out that 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 the rectifier 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.
bilal_dmx says: Jan 27, 2011. 8:54 AM
We 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 drain and source to ground the coil and charge it , hence moving the motor.

The issue arises here....12N60
http://www.utc-ic.com/spec/12N60.pdf(datasheet for reference) is not swtiching properly. We connected the MOSFETs independently and simply passed a 15 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...
bilal_dmx in reply to bilal_dmxJan 28, 2011. 6:07 AM
Ok 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 4 coils (in correct sequence ) the motor gets stuck. However , using the MOSFET switches individually ,giving a 4V gate voltage and then attaching the drain causes it to function properly. The motor shaft jerks towards the charged coil.
bilal_dmx in reply to bilal_dmxJan 28, 2011. 8:22 AM
OK , 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 ground properly!
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 working flawlessly!!

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 in reply to bilal_dmxJan 28, 2011. 4:49 PM
are you bread boarding this? any pictures?
munymuny200 says: Jan 25, 2011. 6:57 PM
do you think you could use a usb port?
woodspinner in reply to munymuny200Jan 26, 2011. 6:17 PM
no, a usb port will not work with this driver
munymuny200 in reply to woodspinnerJan 27, 2011. 5:30 PM
if there are any drivers with a usb schematic please let me know
munymuny200 says: Jan 25, 2011. 6:58 PM
my computer dosent have a parrarell port?
jmrgn693 says: Dec 18, 2010. 7:56 PM
Hi 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 schematic or the parts list but they are shown on the board and all photos I've seen. Thanks Jim
No1Daemon in reply to jmrgn693Jan 21, 2011. 10:25 PM
.1 uf or thereabouts
No1Daemon says: Jan 21, 2011. 8:28 PM
Hi 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. The diodes 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.

Thanks
Steve
The-Circuit-Board-of-Appeals.jpg
woodspinner says: Jan 17, 2011. 5:36 PM
A salute to tom mcwire and his article for getting me into cnc routers
harley3.JPGjeep1.JPGpuppies.JPG
phanhuuhoan says: Jan 14, 2011. 1:11 AM
hey !
axlrus says: Jan 5, 2011. 7:57 PM
if i put 24v to input, did i need to change capacitor to 24v too????
woodspinner in reply to axlrusJan 8, 2011. 5:06 PM
no, but if you use a voltage regulator instead of the zenier and resistor you wont have problems regulating the voltage to the logic.

John
axlrus says: Jan 1, 2011. 6:28 PM
Driver working good with Kcam, 6wire steppers 0.4a, thanks.
alnajem says: Dec 29, 2010. 11:42 PM
very good thanks
jmrgn693 says: Dec 18, 2010. 10:38 PM
Is it possible to use a 4 wire motor with this board? If so where do I connect for the bulbs?
apex1310 in reply to jmrgn693Dec 23, 2010. 9:06 AM
NO! those are bipolar stepper's
LastViking says: Nov 22, 2010. 4:45 PM
Hello
I construct this controller but i wont control only the Y axis! The X and Z when I connect the motor, the lamp are ON and the motor vibrate! Any ideia for this problem?
Sorry my english

Thanks
patratacus in reply to LastVikingDec 18, 2010. 6:20 PM
If the motor just vibrated you might have wired the motor wrong. Check your wiring.
LastViking in reply to patratacusDec 19, 2010. 3:56 PM
Hello
If i change the wires, in same posicion of the Z axis to the X or Y axis, the motor vibrate in X or Y! But in the Z axis he works fine!
patratacus in reply to LastVikingDec 20, 2010. 8:01 PM
Are you using the same motor for the X or Y axis as the Z axis? If the wiring works for the Z axis, try using the driver from the Z axis on the X or Y to see whether it's problem with the driver on those.

Another thing you can try is hooking up the driver from the X or Y axis to the Z axis to find out whether they work on the Z-motor or not.

If you are not using the same motor, it's possible that the driver is not providing enough current to energize the coil.
LastViking in reply to patratacusDec 21, 2010. 6:42 AM
Hello
I tested with a same motor in the 3 Axis and only works fine in the Z!

How i configure the software?

Bye
patratacus in reply to LastVikingDec 21, 2010. 3:07 PM
Did you build the driver yourself? Check to make sure that you didn't place any components backward especially the MOSFETs or the diodes.

What software are you using? I'm not the expert in terms of configuring Mach3 or Kcam, but I think you need to make sure that you port address matches the pins you are driving. I think the author for this intructable went through the software settings for Kcam. I think another member gave the following solution:

MedalHead says:
I figured it out.
you have to go to "Setup" and then "Port Setup" and then configure the Pins.
for x step/ direction it is Bit 0,1 and Pin 2,3 .
for y step/ direction it is Bit 3,4 and Pin 5,6
for z step/ direction it is Bit 6,7 and Pin 6,7

Maybe you also have to set "inverted" to "true" for the enables for X, Y and Z.

does that help?

Good Luck
LastViking in reply to patratacusDec 22, 2010. 5:27 AM
hi
I'm go verify the board! The configuration it is al-right!
Tanks for your help
zelalem says: Dec 21, 2010. 1:09 AM
Hi Tom,
I have studied your instructable with a great interest. Some things were not clear. oul it be the fact that the KCam program was not installed correctly because i don't see the increment of the numbers whichever axis i try as in your video.Can you suggest a book or books i can read or online course i should take to tackle everything that has to do with CNC. Please advise me.
Thanks again
howim says: Nov 8, 2010. 2:01 AM
hey guyz. what is the details about Zener Diode? I maded up this controller it was working fine for one day and next day it became *hit...

i think i used wrong Zener Diode. bocz i found that only my ICs became *hit and every thing else is just fine...

PLZ PLZ give me details about Zener Diode.
patratacus in reply to howimDec 18, 2010. 7:04 PM
The Zener diode is acting as a voltage regulator. It's running in a reversed biased mode, giving the 6.2V reference point for the circuit (Vdd). You can damage the diode if you are passing too much current through it. Too much current will go through the Zener if you don't have the 1K resistor above it (or if you put a lower value resistor there). According to the data sheet, The Zener 1N4735 is only rated for 1W so it could burn up if there's current near or over 150mA. Another quick way to destroy the Zener is hooking it up backward, but you would probably notice that right away. Also make sure that the source voltage is near 12V.

If you can't figure it out, I guess you might want to consider substituting the Zener voltage regulation with something like LM7806 dc-dc regulator to regulate the voltage down to 6V. LM7806 is a bit more robust to over voltage and over current.

woodspinner in reply to howimNov 16, 2010. 5:15 PM
why dont you use a 5 volt regulator instead, the lm7805 is one option, I'm sure there are more available
bcfrommt says: Dec 12, 2010. 2:05 PM
Can someone tell me the difference between 0v and ground. Thanks

AcezWild in reply to bcfrommtDec 16, 2010. 8:25 PM
0V means it's not getting voltage (OR the line is crossed with GROUND). Ground is "point of reference" (by definition electronicly). B/C you CAN have NEGATIVE voltage; but to be able to MEASURE it, you need a "point of reference" - or GROUND.
hightekrednek2396 says: Dec 9, 2010. 11:22 PM
do i need a gcode compiler to use linux cnc or will it do it it self and if not what one would be the simplest and best
hightekrednek2396 in reply to hightekrednek2396Dec 9, 2010. 11:34 PM
also what size voltage regulator would work
nishantgpatel says: Nov 29, 2010. 11:58 PM
Hey Friends i have a queistion
Does it possible to controlle the 0.75 HP Motors with this controller
if Yes then please guide me how
thanks
-Nishant
steveastrouk in reply to nishantgpatelDec 1, 2010. 1:51 PM
No.
nishantgpatel in reply to steveastroukDec 1, 2010. 9:50 PM
Hey Steveastrouk
thanks for replying
can you tell me the reason why we can't do that.
steveastrouk in reply to nishantgpatelDec 1, 2010. 11:07 PM
Yes, the transistors and design won't handle 500W. Its not the right way to drive big motors, and the right way costs money.
nishantgpatel in reply to steveastroukDec 2, 2010. 12:36 AM
Is there any other option to control such kind of motors
steveastrouk in reply to nishantgpatelDec 2, 2010. 8:14 AM
You haven't specified WHICH kind of motor you have.
TadMadLad in reply to steveastroukDec 9, 2010. 2:16 AM
http://cratel.wichita.edu/blogs/tommcguire/the-stepper-motor-driver/

he has a bunch of other sites where he talks about this projects a bit more.
howim says: Dec 9, 2010. 1:28 AM
Hey Guyz , what is the maximum V and Amp value of the controller? i mean what is the maximum limit of this controller? plz reply fast...its urgent
makjlebjleb says: Dec 6, 2010. 4:04 AM
need help here.. i can't find bulb lamp in my city, if i change the bulblamp with the resistor, what is the suitable value for the resistor..?? thanks.
Moomba champ says: Nov 21, 2010. 3:15 AM
Hey I've never dealt with Mosfets before could I Just use normal transistors or somethimg. Also if i cannot ise transistors how could i pick a mosfet that would work
steveastrouk in reply to Moomba champDec 1, 2010. 1:51 PM
A Mosfet is a perfectly "normal" transistor, and you can't easily replace them with a BJT type transistor.
16zzundel5 in reply to Moomba champNov 24, 2010. 2:57 PM
MOSFETS are transistors.
howim says: Nov 22, 2010. 10:27 PM
hey guyz, i am having a small problem...

i maded up this controller . it works totally fine on old pcs (older computers of my friends) , but it does not wokr with my new PC.

i tested my parallel port. it works fine too. if i connect LEDs to parallel port and run Kcam then leds shows that parallel port is working fine. but my controller is not working with it.....so can anyone tell me why?

my pc=
Intel DG41WV MoBo
core 2 deo 7500
4 gb ddr3
nvidia geforce 210 1GB
500 GB HDD
Win 7 , XP sp2, Ubuntu.

i tested with win7 and xp.but it doesn't wokr...............
plz plz plzzzzzzzzzzzzzzzzzzzzzzzz HELP
howim in reply to howimNov 24, 2010. 4:38 AM
i found the problem.. === when i connect the Earth to negative of the controller then it works 90%fine (if gives miss stepping some times) ...

so guyz plz tell me what to do now?....plz help...............
sydios says: Mar 19, 2010. 1:44 AM
Hi,

i have a problem with the software, i set the steps to 1000 per inch and then
i open the manual control, and set the steps to 0,001 but when i click on the arrow buttons the "digital" display don't change and stays on 0,00000
Anyone have a idea ?

thanks ...
gregtherider in reply to sydiosNov 12, 2010. 8:32 AM
Hi!

I have the same problem!
Do anyone know how to solve this?

Thanks
Greg
medalhead in reply to sydiosMar 19, 2010. 8:22 AM
ive got the same problem with KCam... 
sydios in reply to medalheadMar 23, 2010. 7:14 AM
Does anyone had the same problem and resolved it ?

medalhead in reply to sydiosMar 29, 2010. 3:00 PM
I figured it out.
you have to go to "Setup" and then "Port Setup" and then configure the Pins.
for x step/ direction it is Bit 0,1 and Pin 2,3 .
for y step/ direction it is Bit 3,4 and Pin 5,6
for z step/ direction it is Bit 6,7 and Pin 6,7

Good Luck
woodspinner in reply to medalheadMay 7, 2010. 6:04 PM
 so pin 6 is used on two different axis for x purposes?
sydios in reply to medalheadMar 29, 2010. 3:33 PM
Hi,

i tryed what you wrote, but when i hit "apply" the settings go back to where they are.

medalhead in reply to sydiosApr 1, 2010. 6:57 AM
Maybe you also have to set "inverted" to "true" for the enables for X, Y and Z.

does that help?
sigmaz says: Oct 1, 2010. 9:20 PM
I can't get it to work!
I copied the folder where you wanted me to but all emc2 does is terminate win errors.

I think the newer version needs an updated config set..
Can you help?
Thanks!
markey1979 in reply to sigmazNov 7, 2010. 7:45 PM
do you get this error message? "insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko':
> -1 Operation not permitted"

There is a fix for this at:

http://www.mailinglistarchive.com/html/emc-users@lists.sourceforge.net/2010-09/msg00127.html

If you get a memory error there are links for that too, but this is the error I recievied after installing emc2 w/ ubuntu 10.04 from the live cd, and this article helped me get the software working.

Good luck
Mark
madvilla says: Nov 7, 2010. 11:02 AM
hello to all I am new and I do not speak English if it does not understand or ...... in this and I am kind in realising a machine cnc for my factory the question is if this interface works with a special program or although they can help me in like please doing one of these machine cnc
solarprism says: Nov 3, 2010. 7:49 AM
I ve checked by your procedure and the problem is that the pin 1,4,6,7 of the CD4028 blink each time i click and the motor doesnt move,only vibrating. When i select single step to 1,first it vibrated and then rotate normaly but in one direction only.Can you give me some advice?
solarprism says: Nov 3, 2010. 5:05 AM
Hi i built a circuit of this schema but have the problem on the direction,only one direction work,the cable is fine.I use Kcam.Anyone have the solution yet ?
solarprism in reply to solarprismNov 3, 2010. 7:14 AM
ah i forgot, i used 5V 1.2A motor so i removed the zener diode and connected directly the 5V source to the ICs and motor,the GND is connected to GND of source.I wonder if that is OK?
nishantgpatel says: Nov 3, 2010. 6:12 AM
Hey i have motor of 12 v.
I give 12v on the circuit but the motor knob only vibrates it does not move in either directions. then i checked voltage through multimeter at the bulb it shows between 4 to 5 voltage. so do i require to give more voltage to the circuit.??
ninjanody says: Oct 20, 2010. 6:56 AM
Some photos of mine version. ;-)

I hope to have some time soon to build the router table..

i hope this photos help people how to connect the parts..

( i will not build anything in the future in prototype board.. i spend double time in soldering than i would spent to print & eatch a board )

Too much Soldering but it work fine. Tested with Kcam.
20102010310.jpg20102010311.jpg20102010312.jpg20102010314.jpg
treflip in reply to ninjanodyNov 3, 2010. 4:10 AM
Hello,

How are you? I built the same board like that and would like the pictures for clarification. I can't really get the pics from here because the pics are being saved small. I will message you my email if you will send the originals to me, ok? Thanks,

-Tre
bogdanalex says: Nov 1, 2010. 4:06 AM
One more question: Do you think the motors below are any good with this driver ?
If yes, what is the proper voltage & current that should I apply to the circuit .

Astrosyn - Shinkoh communication industry co. ltd
type: 23PM - C109

5.4 V/phase
1.5 A/phase
1.8 deg/step

Lenght - 80mm
diameter - 55mm
shaft diameter - 6mm
woodspinner in reply to bogdanalexNov 2, 2010. 7:19 PM
I couldnt find any more specs on your motors than what you showed, I'd start with 1.5 amps at 12 volts and go from there. Good luck with your build
bogdanalex in reply to bogdanalexNov 1, 2010. 4:11 AM
additional info for the motors :

6 wire motors and 8 ohms resistance on each coil.
kosme says: Oct 30, 2010. 5:02 PM
I am having problems with this. X axis works fine, Y axis only works in one direction, Z axis doesn't work at all. Anyone with similar problems??
kosme in reply to kosmeOct 31, 2010. 12:12 PM
partially fixed the problem. You have to set to true the inversion of pin 14 in the port settings. Step and direction pins in Y axis have cross talk, that is causing that it only turns in one direction. Same with Z axis. Still have to figure out cause
bogdanalex says: Oct 29, 2010. 3:43 AM
I got the circuit working BUT , in K-Cam when I tell the motor to make a step, instead making it properly, it shakes rather then step . Does it need more power or something? Or what might be the problem?
woodspinner in reply to bogdanalexOct 29, 2010. 8:09 AM
It could be, that the motors arent wired up properly, or maybe you have the accelleration set to high
bogdanalex in reply to woodspinnerOct 29, 2010. 10:44 AM
the thing is I didn't find any datasheet of the motors I have although I think I did wire them properly . they have red, white-red , green, wite-green, black and white wires so I figured the red pairs are one coil, the green pairs are the other coil, and black and white are the "middle" of them.

What do you mean about acceleration? I set things in k-cam like McGuire did, if that's what you mean.
woodspinner in reply to bogdanalexOct 29, 2010. 12:17 PM
if you take the wires from the motor check the ohms between all wires, I'm counting the colors you mentioned and getting 6, so checking ohms will identify the two sepperate phases easily, your common will have half the ohms with the other two as they have to each other.

if ground the commons together to powersupply and hold any one wire to the positive(we will call this #1) then touch any of the remaining wires also to the positive one of three things will happen, the motor will setp slightly to the right, slighty to the left, or no difference.. we now number all the wires like this, first wire is #1, no difference is #3, slightly right is #2 and slightly left is #4, thats the order they would go in on the board...

I really hope I explained it well.
John
ninjanody says: Oct 5, 2010. 7:09 AM
i also check the port setup in kcam and it seem that relay for spindle

can be pin 16 & pin 17. u are right woodspinner.. :)

Spindle CW ( it mean clockwise rotation ?) & (CCW is the opposite?)

if so then we should connect to one pin of them (pin 16 in normal & pin 17 is inverted) and the other to ground ?

this pin give 3,3V so we need a relay for 5V?
woodspinner in reply to ninjanodyOct 5, 2010. 9:57 AM
um, cw stands for clockwise and ccw for counter clockwise, I am not, nor have I ever used a spindle relay, but pin 1 was set up for relay control on this board, I would assume a system that also controls rotation and speed would also need control pins, so 1, 16, and 17 can be used for output signals to controls.

Your reading 3.3 v on your output pins?

are you also reading 3.3 v on say pin 10? which is an input signal pin?

Are you using the zenier/resistor for the logic power supply or a voltage regulator?

John
ninjanody in reply to woodspinnerOct 5, 2010. 1:05 PM
pin 10 is 0v.

i am using zener..
woodspinner in reply to ninjanodyOct 5, 2010. 2:16 PM
the relay needs to be able to be triggered by the 3.3 volts your reading. I would guess, if the relay needed 5 volts you could change out your parallel port for one that puts out 5v, um, is this port on a laptop?

ninjanody in reply to woodspinnerOct 7, 2010. 9:40 AM
no desktop pc..
woodspinner in reply to ninjanodyOct 22, 2010. 9:10 AM
PC manufacturers are gradually phasing out parallel ports altogether in favor of USB, and in the meantime, they are sharply controlling the power consumption of these interfaces. As a result, many later model PC's use 3.3 volt signals instead of 5 volts.

I'm not certain, but I believe this circuit needs a 5v output from the port.
ninjanody in reply to woodspinnerOct 22, 2010. 1:07 PM
it work fine but i cant find anywhere relay for 3.3V only for 5V. I should test if 3.3V are enough to trigger the 5V relay. Else i should amplify the voltage a little bit.
woodspinner in reply to ninjanodyOct 22, 2010. 2:18 PM
you could also consider using an opto isolated break out board, that would do the trick
ninjanody in reply to ninjanodyOct 5, 2010. 9:19 AM
i was looking wrong pins.. pin 1 is for the spindle in this schematic.
nishantgpatel says: Oct 19, 2010. 1:21 AM
hey does any one have bread board circuit image because in the image given by auther 25 pin connercot not shown and
i am not getting how i can connect the circuit with the Parrallel port.
i tried it through Pin no 2,3,4 for only X axis.
Does it enough for controlling A Single Stepper motor throgh KCam.

Plz Reply its urgent

thanks Nishant
ninjanody in reply to nishantgpatelOct 19, 2010. 7:15 AM
at the intro of this inst. there is a photo of the config in kcam and it says wich pin is what.

2 - X Step
3 - X Dir
4 - X Enable

5 - Y Step
6 - Y Dir
7 - Y Enable

8 - Z Step
9 - Z Dir
14 - Z Enable
nishantgpatel in reply to ninjanodyOct 20, 2010. 8:54 PM
Thanks for Replying
I got what you mean.
one more problem is i have a stepper motor PM35S-048-Zyq6 and i haven't any detail of that Motor. I inquired on NMB Company Site but i am not lucky for getting Information. it has five wires black, red, orange, Yellow and Coffy, and i am confused which one should i connect through the LED(Lamp). Also I haven't any techanical detail of Motor like Voltage,Amp,Resistance etc.

If any one knows please Help Me Thanks
ninjanody in reply to nishantgpatelOct 22, 2010. 12:59 PM
i found only this about ur motors. It dosn't say about connectivity ..

http://www.eminebea.com/content/html/en/motor_list/pm_motor/pdf/pm35s048.pdf
ninjanody in reply to nishantgpatelOct 22, 2010. 12:52 PM
u can check with the continue tester or the resistance in a multimeter the cables and figure out what are the cables for.

the 5-wire motors is the same with 6-wire but the common cables are connected and it has one lead than 2.

connect the multimeter to the first wire and check the resistance to all the others.

the one with half resistanse is the common cable that u should connect to the bulbs.

*attention.. in 5-wire motors cause the common cables are connected u will get 3 different measurements.

the bigger measure is from 2 coils.
the middle is one coil lead to the other.
the smaller is from one coil lead to the common ( in the middle of the coil)


check the photo. in your case the common wire is 5 & 2 connected to one lead.
the numbers i use are theoretical. In 6-wire motors the 2 and the 5 are the common. Probably in 5-wire motors the 3rd wire is the common.

Hope to help and sorry for my english. I am not good enough.
FT2047BGELSQBW1_MEDIUM.jpg
nishantgpatel in reply to ninjanodyOct 29, 2010. 8:48 AM
hey one more problem is there with my steeper motor my motor knob is only vibrating continuously even if i give 12 V to it.
it does not rotate in either of any direction.
I don't know why this happen can any one help me
ninjanody in reply to ninjanodyOct 20, 2010. 6:35 AM
Did u connect the pins 18 - 25 to ground?
nishantgpatel in reply to ninjanodyOct 21, 2010. 3:01 AM
does it require to connect 18-25 pin to ground ??
ninjanody in reply to nishantgpatelOct 22, 2010. 12:33 PM
not sure but if u have to connect all of them to ground. i believe that u should check with a multimeter.
Mauricio_muga says: Oct 14, 2010. 9:05 PM
Hi, do you have a circuit for bipolar motors?
howim in reply to Mauricio_mugaOct 19, 2010. 10:40 PM
i think this controller can work with both types of motors..
kosme says: Oct 5, 2010. 10:43 AM
what is U1 in the silkscreen?? It is not mentioned anywhere
woodspinner in reply to kosmeOct 5, 2010. 2:20 PM
I'm guessing its the optional voltage regulator
howim says: Oct 3, 2010. 11:45 PM
hello friends,, i cant understand that where to connect the + and - of bulbs ..
some one plz help me...and will it make a problem if i dont use bulbs?
plz reply ...i really need help
ninjanody in reply to howimOct 5, 2010. 11:47 AM
the motors return some power to the board. thats why there is the bulb.. i had test mine with & with out bulbs and the only difference was that the mosfets get too hot.. i assume if u use cooller for the mosfets it will be no problem..
howim in reply to howimOct 5, 2010. 10:43 AM
i am not able to find the mentioned Mosfets but i found the IRF530 mosfets...so will it work?
ninjanody in reply to howimOct 5, 2010. 11:43 AM
i use irf640fi.

it seem that it work with irf530. it is better than the mosfet in this schematic..
ninjanody in reply to howimOct 5, 2010. 4:02 AM
the bulbs connect to the + bar the one lead & the other to the 2 middle (commonfor 6 wire motor is 2-5) wires of the motors..
woodspinner in reply to howimOct 4, 2010. 2:47 PM
Looking at the circuit board above, the left edge, one side to the connector from + other to the bar next to it, then the common from your motor goes on the same bar. Hope that makes sense
howim in reply to woodspinnerOct 5, 2010. 10:41 AM
ya i get it...but i think i am not going to use any kind of lamps in it....
woodspinner in reply to howimOct 5, 2010. 2:18 PM
good luck with that
ninjanody says: Oct 5, 2010. 8:19 AM
the problem with supply to 12 volt solved.. the y axis cd4028be was missfunctioning with more than 5 volts.. replaced and it work fine..
ninjanody says: Oct 5, 2010. 6:15 AM
i measure the voltage on the ic's ( CD4516 & CD4028) at pin 16 and it is 6,15 volt when the supply power is 12V & 3,34V when the power is 5V.
ninjanody says: Oct 5, 2010. 6:04 AM
i have a strange problem..

at 5 volt all the axis work fine.. at 12 volt the y axis is not working.

has anyone has any clue.. i suppose that one of the ic for the y axis is not taking the right power. (probably more and it missfuction.)

woodspinner says: Oct 4, 2010. 2:45 PM
I finally got to try my machine on 24v, what a difference, its doubled my fast jog speed and the motors are running cold, I'll be finding some larger bulbs and see what happens then. I calculated it out and the motors are now turning about 720rpm at full speed.

I had to use two 11 watt bulbs in series so I wouldnt blow the bulbs straight off, they run brighter than before but no burn outs yet. Trying to find some 25-30 watt 24volt bulbs.

I'll keep you posted on the results
ninjanody says: Sep 30, 2010. 3:35 PM
woodspinner can u tell us how to connect a relay for the sprigle?
woodspinner in reply to ninjanodyOct 3, 2010. 12:24 PM
if thats relay for spindle, look at the image above of the circuit board, just above and to the left of the printer port are two connections, I believe that is where the relay would go.

Moomba champ says: Sep 29, 2010. 7:21 PM
do they 2 motors have to be the same. can one have a larger step then the other?
woodspinner in reply to Moomba champSep 30, 2010. 1:22 PM
yes, steps per unit can be set individually.
ninjanody says: Sep 28, 2010. 2:12 AM
unipolar.. (6 - 8 wires)

bipolar steppers have only 4 wires..

most unipolar motors can work as bipolar too if u dont connect the middle wires..
F8JL2BHGC4G142Q_MEDIUM.jpg
Moomba champ says: Sep 27, 2010. 5:53 PM
is it a unipolar or bipolar motor HELP
ninjanody says: Sep 27, 2010. 5:16 PM
Has anyone put relay for the springle?

Anyone has eagle files for this board?
ninjanody says: Sep 27, 2010. 4:07 PM
Finally i finish my controller. Hope to make the router table soon. Photos soon.
mazimaz says: Sep 24, 2010. 3:52 AM
Thank you dear friend , i search very site in net and finally i found your comment .
again thank you thank you and thank you . .
Killa-X says: Jul 3, 2010. 11:50 PM
Will MACH3 work with a driver like this?
woodspinner in reply to Killa-XJul 4, 2010. 8:01 AM
yes
Killa-X in reply to woodspinnerJul 4, 2010. 11:01 AM
(removed by author or community request)
woodspinner in reply to Killa-XJul 4, 2010. 11:11 AM
there is a part list supplied, everything but the 1k resistor, 6.2v zener and the 200uFcap gets trippled, you can replace the 1k resistor and the 6.2v zener with an lm7806ct or act, their really cheap and let you up the voltage to a max of 24v without changing anything, the zener will blow without the right matched resistor if yougo over 12v
Killa-X in reply to woodspinnerJul 4, 2010. 11:52 AM
Oh sorry, i deleted my post to do a simple picture http://img594.imageshack.us/img594/1857/listy.jpg I found Newark (as expected) came cheaper. I'm doing 12V now, but later 24V for NEMA23s So using 24V means I have to get different resistor values?
woodspinner in reply to Killa-XJul 4, 2010. 1:21 PM
the onek resistor and zenier make up the power regulation for the logic. after burning out a few zeniers I changed it to run at 5v from my pc power supply, when I priced the lm7806ct at mouser it was 38 cents so certainly worth buying, I have no idea what value you would need to continue using the zeniers. The circuit is already laid out to go either way on the board so its a simple change.
sebes in reply to woodspinnerSep 22, 2010. 1:14 PM
Hi,
If you do me a sketch, how i can put the lm7806ct for up the 24V?
Thank you for your help.

Attila
16zzundel5 in reply to woodspinnerJul 16, 2010. 4:13 PM
I made a BOM in digikey - i can send it to you if you want.
sebes says: Sep 21, 2010. 5:30 AM
Hi all. I built this circuit. I have not tested yet with PC, but I tested an LED. When you put a tester on some pins, light bulbs and engines are starting to make noise but not rotate. I use some step by step motors with 24V and a power supply with 30 VDC.
Does anyone have any idea about the mistake?

Thanks for your help.
106_2774.jpg
woodspinner in reply to sebesSep 21, 2010. 10:04 AM
stepper motors dont rotate until the driver board gets the signals from the printer port of the computer. at this point, with them turned on and no signal they should go into holding mode and resist turning, more than likely your testing is sending it some weird signals and thats causing the noise.

John
bobsmith760 says: Sep 16, 2010. 5:04 PM
If you are having trouble finding the CD4516 you can use the CD4029 instead, just bend out pin 9 so it doesn't go in the socket and link it to pin 16 or just +.
Arduino Guy says: Sep 11, 2010. 6:40 PM
I do not know what stepper motor to use, can you include the site you bought it from? thanks
bobsmith760 in reply to Arduino GuySep 16, 2010. 4:58 PM
http://www.web-tronics.com/costmo.html
I used the smallest and it has plenty of torque for a small mill.
ninjanody says: Sep 16, 2010. 10:44 AM
what type of cap's are the c3, c4 & c5 an what Capacity?
bobsmith760 in reply to ninjanodySep 16, 2010. 4:51 PM
I used 1uF ceramic but the value is not too critical.
lkroland says: Sep 13, 2010. 12:08 PM
I've done a version of a single controller in Eagle and put it at http://lars.roland.bz/eagle/StepperController.zip if anyone's interested. I hope Tom doesn't mind me posting it here. Thanks so much for a cheap working controller. Reason I only have one (and have to make three of these) is that I can only make really small pcbs.
treflip in reply to lkrolandSep 14, 2010. 6:07 PM
Thank you for the clear labels for troubleshooting. You rock!
aterhune1984 says: Aug 24, 2010. 8:18 AM
does anyone have experience with auto zeroing the z axis in mach 3? I am having some problems with this circuit/hooking it up in regards to to auto zero plate.?
woodspinner in reply to aterhune1984Aug 25, 2010. 7:27 PM
I managed to accomplish that. I grabbed a screen file from the mach site, big tex's blue screen, wouldnt work with the mach I have so snitched the script from his button and pasted it to the one in mines default screen
aterhune1984 in reply to woodspinnerSep 7, 2010. 10:18 AM
got it working, if you google enough you will find good info, i used to blue screen stuff too. The problem I was having is I was working with the wrong pin. According to wiki certain parallel pins are in/out, but in my case at least they were only working as out. So i switched to pin 10 i believe which is only input. electrified my bit and used a pcb as a grounded(-) plate that was hooked up to the ground pins on the parallel port. No pull up resistor needed and worked like a charm.
woodspinner in reply to aterhune1984Sep 7, 2010. 2:35 PM
I used pin 15 with same result, it had an internal pullup resistor on it I guess, when not grounded went to 5v. congrats dude, way to go.

John
crispycat says: Sep 5, 2010. 8:52 AM
Hi im having problems :( with kcam my motors do not move but hold torque (cant be moved by hand) however when i leave the power in and take the parallel lead out they start moving around even changing directions!!? i have triple checked all my soldering and connections, have the latest drivers and have coped your kcam setup pictures.. im using.. 12v power suply sunix pci parallel port http://www.sunix.com.tw/product/4008t.html 3x vexta pk244-01aa motors http://catalog.orientalmotor.com/item/all-categories/pk-series-stepping-motors/pk244-01aa?&plpver=11&origin=keyword&filter=&by=prod windows xp sp3 thanks for your help
treflip says: Sep 4, 2010. 9:34 PM
I used a centronics 36 pin connector (from a printer board) with a centronics to usb cable. Pretty sure the pinouts match but it would only take 17 volts at 24 it popped the pc power supply. What kind of cable is the db25 one? like I know one side is a male but what does the other look like? I'm just going to revert the db25 instead.. Thanks! -Tre
ziggalo says: Jul 10, 2010. 12:42 AM
does anyone have a video of this thing running? like actually making something? I'm just really frustrated in making this work, and I need a little inspiration. Thanks
woodspinner in reply to ziggaloJul 10, 2010. 9:00 AM
sorry, I dont have mine that far yet, what problems are you having?
ziggalo in reply to woodspinnerJul 10, 2010. 1:26 PM
I got my PCB made at home, then halfway through soldering components in....I realize it's backwards. So it's back to square one with PCB manufacturing. *sigh. and now the PCB isn't working. Very frustrating project, but I can't wait to see one run. Good luck everyone
woodspinner in reply to ziggaloJul 10, 2010. 6:23 PM
That must have been very frustrating. I have mine running x and y from a solderless breadboard until I can build a z axis so I can route the pcb. Hopefully that will happen soon.
ziggalo in reply to woodspinnerJul 10, 2010. 8:28 PM
I haven't tried breadboarding it. I just put in a hell of a lot of faith in the circuit design. crossing my fingers.
woodspinner in reply to ziggaloJul 11, 2010. 6:45 AM
I felt breadboarding would give me a better understanding of the circuit and how it works. I wish I had the ability to just make the pcb but I've never done that before. I'm waiting until I get the z axis built so I can route it, but money problems are making me wait.
ziggalo in reply to woodspinnerJul 24, 2010. 1:25 PM
I finally have all my components in. time to test. however, i don't know which IC goes where. On the PCB layout, which socket is for the up/down counter and which is for the decoder?
woodspinner in reply to ziggaloJul 24, 2010. 3:50 PM
(removed by author or community request)
ziggalo in reply to woodspinnerJul 24, 2010. 6:05 PM
still a little unclear. You said you breadboarded it. According to that, which IC goes on the column of sockets that are closest to the parallel port?
woodspinner in reply to ziggaloJul 24, 2010. 7:07 PM
(removed by author or community request)
chony420 in reply to woodspinnerSep 2, 2010. 5:23 PM
Explain that!!!!!!!!!!, becouse someone is provideing wrong information, or Tom McWire, that create this tutorial, or you. Becouse if you see this image, you can see that the pin 1 of the cd4028 goes to the Gate pin of the Mosfet. and in your image that cant be done. So please, justified why you said the decoder (CD4028) goes closest to the parallel port. Do you get your cnc working? can you provide images or videos of it?
Easy-to-build-CNC-Mill-Stepper-Motor-and-Driver-ci.jpg
ziggalo in reply to chony420Sep 2, 2010. 8:02 PM
Yeah, I think chony is right. I looked over the board of appeals again and noticed a four digit label for each of the IC's, and a quick reference of the parts list, I believe that the up down counter is the IC that goes closest to the parallel port.
aterhune1984 says: Jul 28, 2010. 7:30 PM
I have been looking and cant figure out what the holes near the parallel port are for? I drilled holes but don't know what goes there... Any thoughts? Thank you
woodspinner in reply to aterhune1984Jul 29, 2010. 7:53 AM
(removed by author or community request)
chony420 in reply to woodspinnerSep 2, 2010. 5:05 PM
Woodspinner in your image, there are wrong information, the cd4028 must be near the mosfets and the cd4516 near the 25pin connector. they are switch in your iimage. Check that the pin 1 of the cd4028 must touch the Gate pin of the Mosfet and in your image explanation that´s impossible. Please check.
woodspinner in reply to chony420Sep 2, 2010. 7:05 PM
I'm glad you pointed that out, I didnt make the image or even work from it myself so it never occured to me but their deffinately reversed.
aterhune1984 in reply to woodspinnerJul 29, 2010. 8:30 AM
How do you use the X Y and Z home switch? and the M-code. Sorry ive never used CNC before so some of these terms are new for me.
woodspinner in reply to aterhune1984Jul 29, 2010. 2:24 PM
none of them are required except on large commercial machines. on a parallel port pins 10, 11, 12, 13 and 15 are input pins, one is inverted and I dont know which. the rest of them are normally held high when not grounded by pullup resisters in the port board. To wire up a home switch you would simply run a wire from the port pin, thru a normally closed push button switch and then to ground on the port, this way, when your table or gantry hits the switch the ground is disconnected and the port goes high triggering a stop, this way if you have a bad connection somewhere or a broken wire you will get an immediate full stop instead of finding out when the gantry for instance rams into the endstop and tears something up. the m-codes would be for spindle on off and speed, but that will require a lot more work and explaination
aterhune1984 in reply to woodspinnerJul 30, 2010. 12:32 PM
... forgot the datasheet... http://www.linengineering.com/LinE/contents/stepmotors/pdf/Step_Motor_Start-up_Guide.pdf
aterhune1984 in reply to woodspinnerJul 30, 2010. 12:32 PM
Thank you, I am having another problem. I am trying to do some testing with my motor. I pick up voltage changes on my chips however when I connect the motor I get nothing. Could someone take a look at the following stepper motor datasheet and help me out. I noticed there is no connection to ground so my lightbulb will not light up. If I connect the other side to ground I am reading 3-5 volts which should be good for my motor. The light lights up correctly when connecting the ground. I have never worked with stepper motors before so this is a big jump for me and I appreciate the help. According to the datasheep I am using 6 wire leads color code 1. Thanks for the help!
woodspinner in reply to aterhune1984Jul 31, 2010. 6:14 AM
both commons to the bulb and power+, abcd to the mosfets right next to the diodes.
aterhune1984 in reply to woodspinnerJul 31, 2010. 5:41 PM
Alright dont know what I did to fix it but its working now. no more Z axis problems however the Z light is always on... is this normal?
aterhune1984 in reply to woodspinnerJul 31, 2010. 4:14 PM
I figured out what I did wrong... put the zener diode backward... oops. I am just having one last problem. For the Z axis The second mosfet from the end is shorting to ground. I have replaced the mosfet and the diode and both chips for the Z axis but it is still shorting. I have made sure the wires for the fet are not shorted at the board level... does anyone have a place where I should look next.. I was thinking the parallel port. I will continue to investigate but if anyone has suggestions i would appreciate.
woodspinner in reply to aterhune1984Jul 31, 2010. 7:32 PM
check all the traces for that mosfet, and its diode, you may have a bad trace, or sodler bridge somewhere
aterhune1984 in reply to woodspinnerAug 1, 2010. 9:07 AM
Alright dont know what I did to fix it but its working now. no more Z axis problems however the Z light is always on... is this normal?.... BTW thanks for all the help woodspinner
woodspinner in reply to aterhune1984Aug 1, 2010. 11:03 AM
the lights for all my axis are on all the time when enabled. so yes thats normal. if an axis has the lights off when stopped, check the wires to the motors, and all grounds on the board for bridges or bad connections.
Davuzz11 says: Aug 28, 2010. 6:01 AM
Is required to put the bulbs? Or i can replace them with some other component? Thanks
woodspinner in reply to Davuzz11Sep 2, 2010. 8:19 AM
I suggest using the bulbs, much easier to manage the power
mathew36 says: Sep 1, 2010. 10:26 PM
hey look what i fond etch your own circuit board. http://www.youtube.com/watch?v=tWnfnt2rNO0
rohilla.hitesh says: Aug 25, 2010. 4:49 AM
Could I get the part list??
woodspinner in reply to rohilla.hiteshAug 25, 2010. 6:14 AM
parts list is above, the rtf file
MatthewEnderle says: Aug 24, 2010. 8:21 PM
Ok i have a question. I have two stepper motors specifically the one on this data sheet. http://www.eminebea.com/content/html/en/motor_list
/pm_motor/pdf/pm55l048.pdf

It says it runs on 24v. Thats no problem on my end, but can this circuit operate not one, but two?
I also have a http://www.mitsumi.co.jp/latest/Catalog/compo/motor/m42sp5_e.html it also is a 24v stepper.
The two are from a HP Printer (older office jet), and the second came from a scanner. I didn't know what the bulbs are for, and if needed, what specs i need. I would like to get them from digi-key.com.

Also is there a way to make the driver input from a joystick, like for left right forward and reverse, with two triggers for up and down for the Z axis?

PICTURES ARE IN ORDER OF LISTING!
100824-211240.jpg100824-211219.jpg
MatthewEnderle in reply to MatthewEnderleAug 24, 2010. 8:35 PM
Also i have a variable speed transformer that can do 1 -140 volts and can output 10amps. it inputs 120v from a wall outlet, and it has the same outlet recipical on the front for an output of the desired voltage. http://www.kpsurplus.com/powerstat-3pn116b-variable-autotransformer.html
Can i even use this.

8e8adcf4826028780a83c8635d7d36c804831b44.jpg
VEnom02 says: Aug 20, 2010. 10:15 PM
Hello. I want to ask if this CNC controller will work with this CNC machine -> http://www.instructables.com/id/How-to-Make-a-Three-Axis-CNC-Machine-Cheaply-and-/ ?
woodspinner in reply to VEnom02Aug 21, 2010. 6:47 AM
Sure
Craftcadet says: Aug 14, 2010. 4:17 AM
I have breadboarded this circuit and all is working apart from the direction, I can only go in one direction. I have tested the direction pin on my parallel port with a LED and notice it flashes wildly when stepping from Kcam. If I connect the UP/DWN pin on the counter to either the 0V or 6.2V I get different directions so i know this works. I also tried changing the pin set-up on Kcam to a different pin with the same problem. Any thoughts please ?
woodspinner in reply to CraftcadetAug 14, 2010. 8:10 AM
a direction pin on the port shouldnt be flashing wildly, it either lites up or not with each change of direction but while stepping it should be constant unless changing direction. Other than that I have no clue.
Craftcadet in reply to woodspinnerAug 14, 2010. 8:33 AM
Thanks for your input. I still have not sorted the issue, anyone had the same problem?
Craftcadet in reply to CraftcadetAug 14, 2010. 9:34 AM
I have sorted my problem Hurrah!. One dodgy parallel cable goes str8 in the bin
woodspinner in reply to CraftcadetAug 14, 2010. 11:37 AM
SWEET!!!
aterhune1984 says: Aug 11, 2010. 10:09 AM
Alright need some help here, I needed to beef up my motors to make sure there was nothing skipping.. I now am using 2.3V 3 A motors and i decided to try and use a resistor instead of a lightbulb. I used it for 2-3 minutes with the 50W 3.3ohm resistor(with the heatsink) that it melted the cords around it and burnt me. At the 3 minute~ mark the resistor smoked and no longer worked. Am i doing my math wrong? i was sure a 50W should work considering the circuit *should* be using 28W. Someone please help with the math here... have a made a serious error? Thanks much
woodspinner in reply to aterhune1984Aug 12, 2010. 11:13 AM
the bulbs do more than regulate the current to the motors, they also dissapate the flyback current. about the math, 50w at 12v=4+amps? or do I have it wrong?
aterhune1984 in reply to woodspinnerAug 12, 2010. 5:16 PM
the way i calculated it out was 2.6v(motor) at 3A(motor) is 7.8W(motor) ... with a 12V supply capable of supplying 3A with only 1 motor attached I calculated out 3.3ohms so 12-2.6 = 9.4(needed to be dicipated). 9.4V @3A = 28.2W(through the resistor) ... so i chose a 50W resistor thinking it would be plenty but it smoked and went bad after 3 minutes. ... i am confused still with the bulbs though, it seems the higher wattage bulb i install the more current goes to the motors. at 11W bulbs the motor is getting .8W, at 7W they are getting .5W at 4W they are getting .3W. I dont understand why this would be, my though is that the bulb is taking some of the current from the power supply so the motor wont get all of it, but it seems to be the opposite, I orderd a 25W bulb so hopefully it will provide closer to the correct amount of current for these motors. I have to do more calculations with voltage but any more tutilage would be helpful :)
woodspinner in reply to aterhune1984Aug 12, 2010. 6:26 PM
I think it goes like this, your running 3amp motors, 3mps at 12 volts is 36watts. This worked for my system just fine. you want the increased voltage for speed and power, but you dont want to exceed the amperage the motors are rated at, tho actually I bumped mine up a little with no bad effects. I'd suggest going back the the bulbs and work out how many watts your motors can handle before trying the resistor again.
aterhune1984 in reply to woodspinnerAug 13, 2010. 5:54 AM
I think i know why the resistor burnt up. This is just a theory right now because i dont have the money to buy the 200W+ resistors I would need. Since most stepper motors have 2 phases(A and B), the motors I have are rated at 3A per phase which means when the 2 phases are on it is using 6A... so to resist 9.4V at 6A it is 56W.... I calculated something last night that gave me 113W but unfortunately cant remember now, So it looks like I will be sticking with the light bulbs because of the cost. Once I get this thing working I am hoping to make a more detailed tutorial as long as i can get permission.
woodspinner in reply to aterhune1984Aug 13, 2010. 6:59 AM
Of course with this circuit, only one phase is lit at a time.
aterhune1984 in reply to woodspinnerAug 13, 2010. 9:10 AM
well there goes my theory then, with an 18W light bulb my motor is very under powered but seems to be strong enough for the table, I'v been looking around for more powerful bulbs but not easy to find... the way i figured it to get the full power i would need something like ~35W if not more, any suggestions on where i could get a bulb like this? or if i need a different base to run the more powerful bulbs? It looks like the base that is in the parts list is rated at 20W, I was looking at the 20-100W halogen lights but i would need a different socket... Any thoughts? Thanks
woodspinner in reply to aterhune1984Aug 13, 2010. 11:28 AM
just put 2 bulbs in parallel, 2x18=36, pretty close match, I used 2x14 to get mine, make sure its parallel and not series, unless you switch to 24 volt I snitched sockets from an old toyota pickup, their cheap new and free if you have a friend with a dead car or two laying around.
aterhune1984 in reply to woodspinnerAug 13, 2010. 4:18 PM
never would have thought of that, thanks woodspinner!
aterhune1984 in reply to aterhune1984Aug 11, 2010. 5:34 PM
BTW I am using a 12 V power supply, at the moment capable of ouputting up to 3 A
shaadmahmud says: Aug 12, 2010. 11:41 AM
hello everyone i have done this project and ...100% works thanks to tomMcwire.... here is my work ( http://must-info.blogspot.com/2010/08/easy-to-build-cnc-mill-stepper-motor.html )
karandex says: Aug 9, 2010. 5:20 AM
what it the spec of motor it can support ?
bogdanalex says: Aug 4, 2010. 12:48 AM
Ok...problems on the testing part. I've got power on the pin 16 but when I connect the motor, the bulb doesn't light. If I messed up the wiring of the motor can behave like that ? It's better to test the circuit further, giving commands from the computer and see how it works on the IC pins ?
za_sly in reply to bogdanalexAug 4, 2010. 1:32 AM
If it's any help... I've got the same issue, and yet the motors do their job just fine. Maybe you could try with a lower wattage bulb. The motors I'm using are rated at 10 V. Power comes from a 12 V wall wart, fed through a 21 W bulb.
woodspinner in reply to za_slyAug 4, 2010. 8:32 AM
you could check that each of the fets light up in order as you single step along, if they do then its a motor connection, if not dig thru the rest of the logic circuit. even when at rest, the lights should be lit unless disabled by the enable pin. I had this problem at one point, and it turned out to be a bad ground on one of the ics.
bogdanalex in reply to woodspinnerAug 4, 2010. 12:29 PM
How can I check if it's disabled or not , from the enable pin ?
za_sly in reply to bogdanalexAug 4, 2010. 11:09 PM
What I've figured so far.. If the power is on (enabled) I do feel it when I try to spin the motor by hand, like kind of a brake on the rotor. Try this, or get an LED with a resistor and check the "enable" pin.
woodspinner in reply to bogdanalexAug 4, 2010. 12:44 PM
if the motor moves, its not disabled
ziggalo says: Jul 25, 2010. 8:36 PM
one more question, haha. How many volts do you suggest I start out with?
woodspinner in reply to ziggaloJul 28, 2010. 6:35 AM
12v is a nice place to start, any higher and you will need to figure out what resistor to use in the logic power supply side.
ziggalo in reply to woodspinnerAug 1, 2010. 11:06 PM
When the author says, "don't worry, it's just a little electricity" I'm still a little hesitant. 300 milliamps is no joke. That can easily kill someone.
woodspinner in reply to ziggaloAug 2, 2010. 1:23 PM
when done as described, its nothing to worry about, 12v dc.
aterhune1984 says: Aug 2, 2010. 9:32 AM
Is this circuit capable of driving motors rated at 2.3 V at 3A??
ziggalo says: Aug 1, 2010. 12:57 PM
the parallel port that is on the PCB. Is that supposed to be male or female? I'm having trouble finding a cable for this machine.
ziggalo in reply to ziggaloAug 1, 2010. 1:09 PM
(removed by author or community request)
woodspinner in reply to ziggaloAug 1, 2010. 2:13 PM
no a usb to parallel cable wont work the voltage is wrong. He uses a male on this circuit but you can use whatever fits what cable you can find, try a used computer shop, the cables were used on a lot of flatbed scanners.
bogdanalex says: Jul 28, 2010. 3:42 AM
Does anyone know how to connect spindle to this thing ? How can I control the rotation speed of this thing , if I choose to use a motor instead of a mini-drill
woodspinner in reply to bogdanalexJul 28, 2010. 6:38 AM
you can use one of the output pins to a relay to control the spindle.
za_sly says: Jul 22, 2010. 10:59 PM
Now, this is weird. I've built the controller, but once I power it, the motor starts moving back and forth without any command being given. It stops only when I put a finger on the 1-8 pins on the 4516, and then it acts upon the commands given (step, direction). Any advice ? Tried swapping the IC's. The same result. Is there something wrong in the schematics ? Or I just missed something when building the circuit ? (Although I've checked every single connection and solder). Thanks for the help.
naveen.a019 in reply to za_slyJul 26, 2010. 10:07 PM
There is nothing wrong with the circuit...i think you have not connected the ground properly, this would be the main reason why the motor jitters even before the command is given. cheers...!!
za_sly in reply to naveen.a019Jul 26, 2010. 11:41 PM
Thanks naveen. It's all up and running now. If it matters to anyone, the whole thing runs like it should with IRFU024N mosfet transistors. (http://www.datasheetcatalog.org/datasheet/irf/irfr024n.pdf) Thought maybe someone is having a hard time getting a hold of the mosfets that are on the schematic and are reluctant to try any other mosfets.
woodspinner in reply to za_slyJul 23, 2010. 6:14 AM
check all the grounds.
za_sly in reply to woodspinnerJul 25, 2010. 11:22 PM
Thanks woodspinner. It turns out there was a problem when I tracked the wires to the motor. Now it's all good, and running. I am in the middle of making the mechanical part of the project and I am having a tough time tracking down the U slides.
ziggalo says: Jul 7, 2010. 4:53 PM
Does this work with Mach 3?
woodspinner in reply to ziggaloJul 8, 2010. 6:57 AM
yes
ziggalo in reply to woodspinnerJul 25, 2010. 1:48 PM
hi woodspinner, I remember you saying that you got this circuit to work on a breadboard. What software did you use to test it? if you used mach3, can you give a brief run through of how to do it? I don't want to pay for Kcam before knowing my circuit's gonna work. thanks
woodspinner in reply to ziggaloJul 25, 2010. 7:23 PM
if you plan on using kcam, you should use their software for testing, I never got it to work with that, I used mach3, under ports and pins /motor outputs set your ports and pin numbers then go to outputs and do the 3 enables, then play with it from there, mach 3 website has great forums and howto videos.
ziggalo says: Jul 23, 2010. 5:19 PM
I have a question. Which IC goes where? the BCD up/down conter and the IC Decoder CMOS. thanks
nazgults says: Jul 21, 2010. 3:38 AM
I have neme 23 stepper.It works on 2.3v and 2.1A.Can i use this driver for it?
perwin says: Jul 20, 2010. 8:38 AM
I would like to make a double sided pcb however there is only the solder side in the project files. Could you post the component side of the board?
Killa-X says: Jul 16, 2010. 5:23 PM
If anyone at all, knows how to make a simple circuit for a NEMA 23 stepper motor, please let me know how. I need to test if my bipolar 4-wire NEMA stepper motor works. I cannot use a ULN2003, and I wasnt sure if this driver can actually work for this type of motor. Thanks. http://www.interinar.com/public_docs/23Y002S-LW4-02.pdf
dylanwinn in reply to Killa-XJul 19, 2010. 8:49 AM
You'll need a special bipolar driver for that motor. Save yourself some trouble and buy 3 EasyDrivers ($15) from sparkfun.com.
Killa-X in reply to dylanwinnJul 19, 2010. 4:09 PM
Well thanks anyways. I did research and found out how to make my bipolar motor run easily on a uln2003 or this driver. I decided to use this driver without the transistors because I'm moding it to work with my bipolar motor. So, very easy to make a 4-wire work with this :)
featherless biped says: Jul 17, 2010. 12:22 AM
Oops. I accidentally didn't include the picture. Here it is. (Just in case this doesn't work, I am referring to the third image from the left in the Intro.) ... Never mind. The image is taking too long to upload. If you go to the Intro page and look at the image of the Port Setup window, you'll see what I'm talking about. I've looked all over, and I can't figure out what M code function does. So far as I can tell, pins 16 and 17 don't go anywhere on the circuit board.
woodspinner in reply to featherless bipedJul 17, 2010. 8:09 AM
the m code functions its talking about would be used to control spindle on off and rotation among other things John
featherless biped in reply to woodspinnerJul 17, 2010. 2:21 PM
Thank you.
featherless biped says: Jul 17, 2010. 12:01 AM
Hello. I was wondering what "M code function" means (see pins 16 and 17 in picture). What does it do?
Kemo0o says: Jul 15, 2010. 7:59 AM
Sir , I can't find CD4516 in my country ... so may i use 4511 instead of it ?? please wanna ur fast serious reply !
woodspinner in reply to Kemo0oJul 15, 2010. 8:28 AM
if you read thru all the comments, 800+ I vaguely remember someone doing a substitution but not sure what they used. John
16zzundel5 in reply to woodspinnerJul 16, 2010. 4:10 PM
I can get one and send it to you if you want.
woodspinner says: Jul 13, 2010. 11:49 AM
I dont suppose someone a little further along would be willing to make the pcb for me? I have all the components, just need the pcb.
Kemo0o in reply to woodspinnerJul 16, 2010. 3:01 AM
where r u .. i can made it for you
16zzundel5 in reply to woodspinnerJul 15, 2010. 10:29 PM
I have a spare PCB-how much is it worth to ya?
woodspinner in reply to 16zzundel5Jul 16, 2010. 4:36 PM
actually, I think it depends on how much its worth to you
16zzundel5 in reply to woodspinnerJul 30, 2010. 9:02 AM
How does 8 to 10 dollars sound?
clubzaa says: Jul 12, 2010. 3:12 AM
thank
clubzaa says: Jul 12, 2010. 3:07 AM
thank
kooshall says: Jul 8, 2010. 12:02 AM
HI can we use March3 with the board?
desha says: Jun 28, 2010. 7:20 PM
does this ckt works on 4 wires stepper motor???
bombmaker2 in reply to deshaJul 4, 2010. 8:46 PM
To my knowledge, I believe 4-wire stepper motors are (usually) bipolar which will not work with this project. Bipolar steppers are harder to control than unipolar.
samr37l says: Jun 20, 2010. 10:01 AM
Sorry for all the questions :) ...but heres another. Which kind of light should I start out with? Can you give me the amp ratting for the light? Should the light run at the same voltage as my power supply? I'm new to this stuff if you haven't noticed.... I'm trying to spend the least amount of money as possible, so I'm trying to buy the least amount of items. Again, thank you so much for your responses. They are sooooo helpful! SamR.
woodspinner in reply to samr37lJun 21, 2010. 5:56 AM
that depends entirely on the power supply, voltage used and amp requirement of the motor
samr37l in reply to woodspinnerJun 24, 2010. 6:49 PM
24 volts and up to 1.2 Amps. but I'm thinking of running them at 12 volts. Thanks, Sam
samr37l in reply to samr37lJun 26, 2010. 2:29 PM
Ok, I got a light bulb but now my motors don't run. All that happens is they lock up. I've moved the wires around to many times to count. The motor is a 2 phase 6 wire unipolar (I have connected the commons together to make it 5 wire). I know which pins attach to which coils, but when I put it in the correct sequence it doesn't work. Any ideas on how to set it up? Sam
woodspinner in reply to samr37lJun 26, 2010. 5:06 PM
have you run thru the testing sequence per the instructable?
samr37l in reply to woodspinnerJun 26, 2010. 6:17 PM
Yah, the led flashes. I'm just lost on why the motor wont work. It just locks up. Here are the motors that I'm using (scroll down to the bottom and you'll see them) Thanks so much.....this is one of the first big projects that I've done and I seem to be not doing so well :) If there is anything that I can do for you, woodspinner, please leave me a message.
SamR.
samr37l in reply to samr37lJun 26, 2010. 7:23 PM
Ok, I just found out what was wrong. One of the Mosfets was periodically shorting, making the motor twitch. I fixed the connection. Thanks again for all your help! SamR.
woodspinner in reply to samr37lJun 26, 2010. 7:20 PM
it does nothing when you try to single step it?
samr37l in reply to woodspinnerJun 26, 2010. 7:30 PM
well....it works now. just needed to work on the mosfet to make sure that it wouldn't short.
woodspinner in reply to samr37lJun 26, 2010. 8:24 PM
SWEET!!!, be sure to post pics
samr37l in reply to woodspinnerJun 27, 2010. 5:43 AM
Actually....I'm hoping to make a new instructable helping people with this motor driver, and building an inexpensive large scale CNC. I think that there are a lot of things missing from this one. It should be up sometime in the next 2 weeks (hopefully). Thanks for all the help!!!! SamR.
IMG_1963.JPG
renloves2000 in reply to samr37lAug 29, 2010. 8:59 AM
Hi Sam, Could you post your PCB diagram and the parts list. Looking at all comments on how people got stuck with the design and all, I would like to make sure it works - not good at advanced electronics - like troubleshooting the board if something is wrong - so wanted to follow what you did. Thanks for posting the pic.
slsujith in reply to samr37lJul 23, 2010. 11:52 AM
Hi Sam, Could you post your PCB diagram and the parts list. Looking at all comments on how people got stuck with the design and all, I would like to make sure it works - not good at advanced electronics - like troubleshooting the board if something is wrong - so wanted to follow what you did. Thanks for posting the pic.
samr37l in reply to slsujithJul 23, 2010. 1:33 PM
Sure! please send me a message though (so I don't forget).....I'm not at home, and will not be back for 2 weeks. I will definitly post everything I can as soon as I get back. Good luck! SamR.
slsujith in reply to samr37lJul 24, 2010. 10:23 AM
Hi Sam, Thanks a ton for your reply. Sure, have a great time and when you get back, hope you would be kind enough to all those unfortunate souls and post an instructible as you posted above. Waiting eagerly for that - it would be one of those instructibles (like Tom's) which would be eagerly watched. Regards, Sujith
samr37l in reply to slsujithAug 1, 2010. 2:15 PM
Ok....Done. Its up and running! (I hope). If you have any questions, or things that I should add, please comment. I'm also working on an instructable for a larger scale CNC (2' by 4'), I just need permission from the designer to post it. Good luck! Sam
slsujith in reply to samr37lAug 1, 2010. 11:09 PM
Hi Sam, Congrats n good job !!!. Could you post the details pls? - Sujith
samr37l in reply to slsujithAug 2, 2010. 8:02 AM
Woops :) here is the link: http://www.instructables.com/id/CNC-Driver-Board-Multi-axis/ Sam
samr37l in reply to samr37lAug 2, 2010. 12:38 PM
I have gotten permission.....and I hope to have the instructable up by the end of the summer.....by the latest :)
samr37l in reply to slsujithJul 24, 2010. 4:00 PM
Sure thing!!! I'd be happy too! ohhhh... And if you read my comments above I was an "unfortunate soul" when I first started this project. :) Sam R.
woodspinner in reply to samr37lJun 27, 2010. 9:27 AM
Thanks for the pic, wish mine looked that good
samr37l in reply to woodspinnerJun 27, 2010. 10:10 AM
well....looks good and works well are two different things :)
woodspinner in reply to samr37lJun 27, 2010. 12:10 PM
you will get it
jrhogan58 says: Jun 10, 2010. 5:53 AM
Has anyone connected up x, y, and z home switches? If so would you mind commenting about whether or not you just connected on pins 11, 12 and 13 or ??? Also if Mach 3 or EMC2 and does it work. I've got my board etched and drilled and getting ready to start soldering!
samr37l in reply to jrhogan58Jun 17, 2010. 8:39 AM
I think you can just connect the home switches to 5v then to the input pins (either 11,12,or 13). In your CAM software (I use Kcam) you can choose the inputs, and for which homing switches they correspond to. I haven't tried it with this board yet, but I know the homing switches work by themselves.
woodspinner in reply to samr37lJun 26, 2010. 11:12 AM
Actually its more common to use active high for home switches. the input pins of the parallel port when not connected to anything are pulled to 5v by pull up resisters, so if you use a momentary disconnect for home switch and from there to ground, when it homes it will open the switch and send an active hi signal, this will also avoid a lot of horrendous problems from occuring if you have a broken wire on the home switch. broken wire in this situation would give a home signal as soon as it happens creating an emergency stop til fixed, rather than have the table ram the stop to let you know of a problem. Just some things to think about.
samr37l in reply to samr37lJun 25, 2010. 5:56 PM
Yep, it works. Look at the picture above (posted by woodspinner) and it explains where to attach the homing switches. Sam
someoldguy says: Jun 21, 2010. 5:05 PM
What motors are you using
woodspinner in reply to someoldguyJun 21, 2010. 6:58 PM
I'm using.... Type 103H5208-0842 or -1241 Sanyo Denki 6 wire unipolar steppers rated at 1.2a per phase, since its 1.2a and I'm running 12 volts I'm started by using 15 watt lightbulbs. as I figure it, 1.2ax12v=14.4 watts, actually I'm overdriving mine at about 22 watts right now since these are very weak motors and I'm trying to make them useful but thats just a temporary fix as they can overheat and fry that way so be careful.
samr37l says: Jun 18, 2010. 6:50 AM
What are the small capacitors that you used? Do I need to use them? Why are there extra holes in the PCB? Is D17 the Zener diode? Which resistors go where? Thanks, SamR.
woodspinner in reply to samr37lJun 18, 2010. 11:25 AM
(removed by author or community request)
samr37l in reply to woodspinnerJun 18, 2010. 1:51 PM
sorry for yet another question....what if my motor has only 4 wires? where should they be connected? Thanks, SamR.
woodspinner in reply to samr37lJun 18, 2010. 1:59 PM
(removed by author or community request)
samr37l in reply to woodspinnerJun 19, 2010. 9:10 AM
Ok, thanks. I've found a Unipolar motor but I can't get the correct wiring. Does anyone have a trick to finding the wiring for 5 wire unipolar motor? By the way...I have 5 colors too, black, blue, orange, white, and yellow. The resistance between the white and any of the others is 300 ohm, and the resistance between any of the others is 600 ohms. I've tried putting the white newt to the light bulb, and then the others in any order, and I've gone through all 24 combinations. Any ideas? Thanks, SamR.
woodspinner in reply to samr37lJun 19, 2010. 9:27 AM
you can check the resistance between the wires, out of the 5 expect the power lead to have the lowest resistance of in combination with any of the rest, except between phases which will be 0. pairs in the same phase will have twice the resistance. Hope this gets you started.
samr37l in reply to woodspinnerJun 19, 2010. 10:28 AM
Yah, but for some reason there is the same resistance between phases. And when i connect a battery to the common and the too the yellow wire, then the orange wire it turns clockwise, and when I attach the wire to the other two in sequence it turns counter -clockwise. I'm very confused.... Thanks, SamR.
woodspinner in reply to samr37lJun 19, 2010. 1:01 PM
hmmm, guess since on yours the two phases are tied together at the commons it would happen that way, If I remember correctly, connect power to your hot lead and neg to any of the others, it should lock in position, adding any other wire to the neg should either step slightly right, slightly left or nothing at all, if we count the first one as #1, nothing at all should be #3, slightly right should be #2 and slightly left should be #4, if that makes any sense at all.
samr37l in reply to woodspinnerJun 19, 2010. 3:19 PM
Yah, that makes sense. How would I attach it to the controller then? Thanks, SamR.
woodspinner in reply to samr37lJun 19, 2010. 3:29 PM
in order, on mine layed out on solderless breadboard, in same order as circuit diagram, 1234, doesnt matter where you start counting, you can invert direction in the software
samr37l in reply to woodspinnerJun 18, 2010. 1:47 PM
OMG THANK YOU SO MUCH!!!!!! I can finally finish it!!!! You just made my week!!! SamR.
samr37l in reply to samr37lJun 18, 2010. 8:26 AM
Oh, and just to add, I've already finished the PCB and have soldered everything I can. I hope anyone can answer this ASAP because I can't finish the board without knowing where stuff goes :). Again, thank you so much for your responses! SamR. P.S. Do I need to use the lights? If so, which kind would you recommend?
samr37l says: Jun 18, 2010. 6:32 PM
Can you use a resistor instead of the lights? If so, about which size should I use? SamR.
woodspinner in reply to samr37lJun 19, 2010. 1:04 PM
you can use a power resistor, but I'd suggest sticking with tthe light bulbs for testing, much easier to change out as you find what wattage works best, then get a resister that size
woodspinner says: Jun 18, 2010. 2:28 PM
has anyone used the gcode supplied with mach3 to make the pcb? I have 2 axis working and am trying to test it with using a pen, and the gcode goes off line at the same place everytime. so I'm wondering if I'm still losing steps or its the gcode?
samr37l says: Jun 12, 2010. 5:29 PM
I'm having trouble deciding which size stepper motor to use. I need to be able to cut aluminum, and move a router around the table. Does anyone have any ideas? Thanks, Sam
woodspinner in reply to samr37lJun 17, 2010. 7:37 AM
I'd shoot for bigger is better
Mest says: May 30, 2010. 3:36 PM
Im using three Sanyo Denki103H546-0440 stepper motors. Each motor is rated - Voltage: 3.15,   Current  A/Phase: 1
Ive made some enquiries about readymade controller boards and have been told that I need a 24v 10A power supply. In the video, however, Tom is using a 300 mA universal power adapter (at 12v?).  
Was that just for testing, or is it whats used to power the mill itself?
Thanks.
woodspinner in reply to MestJun 1, 2010. 8:18 PM
 I think he's just using it for testing, he mentions in the comments that he tried it at 24 volts.  I'm using an atx power supply for mine. that eliminates the need for the zenier and resistor by running the circuit off the 5v rail and the motors off the 12v line.  Next I'm going to try 24v.
Mest in reply to woodspinnerJun 12, 2010. 1:08 AM
Thanks Woodspinner.
dylanwinn says: Jun 8, 2010. 6:50 PM
Does anyone have an eagle schematic for this?
woodspinner in reply to dylanwinnJun 9, 2010. 6:37 AM
snag the gerber files from the circuit page.
dylanwinn in reply to woodspinnerJun 9, 2010. 4:27 PM
Those gerber files (on top of being improperly named) are not formatted correctly, and every PAB house I send them to rejects them. I am looking for the original cad files, so that I can make modifications and such.
edgarx29 says: Jun 9, 2010. 8:24 AM
which is the configuration of parallel port Kcam please I need it as fast as possible
Tom McGuire (author) in reply to edgarx29Jun 9, 2010. 2:18 PM
under the Setup tab in the KCAM program select Port Setup. You should see tables that look like the images shown in this step (above). I added another screen shot. I hope it helps. If your table looks like these you should get some action. Tom
samr37l says: Jun 8, 2010. 3:43 PM
Can this work for a motor at 3.15 volts, and 2.8 amps? Thanks so much, and awesome instrucatable! I really like it!!!! SamR.
edgarx29 says: Jun 5, 2010. 8:26 PM
amigos soy de panama estudio Lic en Mecanicá Industrial en la Universidad Tecnológica de Panamá este proyecto es para una materia que se llama Diseño de Maquinas II lo que me sucede es que como les conte mi circuito"ckt" ya lo desarrolle no le e conectado los motores porque el ckt no pasa de las prubas de entrada y salida porque ya verifique el ckt con el esquema y esta bien no cometi ningun error al hacerlo y los motores que tengo son unipolares lo que yo pienzo que puede ser es que la configuracion de Kcam no este bien porque lo que pasa en el ckt es que con la configuracion que tome de un comentario de este proyecto en: X hay pulso pero no varia como en termino digital solo hay 1 pero no 0 y por logica no hay pulso en la salida Y hay entrada 1 y 0 pero cuando en kcam presiono la flecha de Z y en salida no hay en Y pero en Z si pero no en todos los puntos de salida Z es similar a Y yo lo que digo nuevamente es que la configuracion de Kcam no es la correcta y lo que yo les pido es que me den la configuracion de Kcam para probar y esperemos que sirva y sino seguire probando pero que me muestren una imagen pero muestreme una una configuracion con la cual les funciona espero respuesta se los agradesco atentamente solo deseo la imagen de la configuracion del puerto paralelo en Kcam gracias y lo que peguire pidiendo es la configuracion
latino007 says: Jun 4, 2010. 5:09 PM
Dear Friend: First of all, I congratulate you on your big CNC project, I really find it surprising and practical; friend thank you very much for sharing. I want to tell I'm from Argentina, so my English is so bad, please apologize. I communicate with you, to see if it is so nice to share the electronics of the project I'm really very wrong with the electronics and I really have stopped the issue of the engines. I mention that I have a stepper motors taken from photocopiers: SANYO DENKI 103H6701-1142 (1) 103H548-0841 (2) 103H7126-2542 (4) and some others with similar characteristics. I advise that motor could use? It would be kind enough to spend the PCB board to make the circuit and materials?, If I could do it, I would be very grateful. The next day the father and my father wanted to give this wonderful machine you create. I tell him that I have 14 years and my father suffers a physical disability, their hooby is carved pieces and I think it would be very useful. Dude, congratulations again and hope to have his answers soon. Thank you very much: GUSTAVO ARGENTINA Estimado Amigo: Antes que nada, quiero felicitarlo por su gran proyecto sobre C N C, realmente me parece sorprendente y practico; muchas gracias amigo por compartirlo. Quiero contarle que soy de argentina, por eso mi ingles es tan malo, sepa disculparme por favor. Me comunico con usted, para ver si es tan amable de compartir el circuito electronico del proyecto; en realidad soy muy malo con la electronica y realmente me tiene parado el tema de los motores. Le comento que tengo unos motores paso a paso sacados de fotocopiadoras: SANYO DENKI 103H6701-1142 (1) 103H548-0841 (2) 103H7126-2542 (4) y otros mas de caracteristicas similares. Me podria aconsejar que motor usar? Seria tan amable de pasarme el PCB de la placa para poder realizar el circuito y sus materiales?, si podria hacerlo, le estaria muy agradecido. Esta proximo el dia del padre y quisiera regalarle a mi padre, esta estupenda maquina creada por usted. Le cuento que tengo 14 años y mi padre sufre una discapacidad motriz, su hooby es el tallado de piezas y creo que le seria muy util. Amigo, nuevamente felicitaciones y espero tener respuestas suya pronto. Muchas gracias: GUSTAVO ARGENTINA
jorgeneo560 in reply to latino007Jun 4, 2010. 10:29 PM
mandame un mial a jorgeneo560@yahoo.com.ar, yo tambien soy de argentina y te puedo sacar todas las dudas que tengas con el cnc
edgarx29 says: Jun 3, 2010. 9:05 AM
porfavor ayuda
yo desarrolle el el circuito lo conecto a la pc y use kcam y no no funciona bien lo configure en una forma que desia unos de los comentarios y de todas manera no trabaja bien

yo lo que les pido es que me muestren con imagenes cual es la configuracion real del puertos en KCAM es que lo estoy haciendo para un proyecto de nota semestral de la universidad y lo necesito lo mas rapido posible porque se termina el semestre en inicios de julio
jorgeneo560 in reply to edgarx29Jun 4, 2010. 10:28 PM
que es lo q te esta saliendo mal?, a lo mejor estas usando motores bipolares paso a paso, cuando compras un motor paso a paso generalmente te lo ofrecen como unipolar o bipolares, que estudias?
falling_rain says: May 19, 2010. 7:03 PM
does anybody know the specs of my motor?
i cant seem to find it in the internet. here is whats written on the motor.

astrosyn stepper
type 20LM-C355-P8W
number T8726
minebea co. ltd

thanks
OctpusGrabbus in reply to falling_rainMay 20, 2010. 5:47 AM
From www.eminebea.com/content/html/en/engineering/hybrids/index.shtml
and cgi.ebay.ch/3-St-Schrittmotor-23LM-C355-P8W-2-Phasen-CNC-Roboter-/220571961128

20 = NEMA size in 1/10 inch i.e. 20 10ths = 2"
L = Laminated Stack Stepping Motor ( same for P and K )
M = Step Angle 1.8°
C = Phase Hybrid( Same as M,Q,K,H,Z )
3 = Motor Length = 49.5 mm
5 = ?
5 = ?
P1-P9 = Custom with pulley ( 01-99 = Custom , G1-G9 = Custom with gear )
V = With connector ( W = Without connector , None = Without connector )

Nothing else as far as torque goes. You sure you don't mean a size 23? whats the diameter of the motor?
falling_rain in reply to OctpusGrabbusMay 27, 2010. 5:05 AM
wow thanks a lot sir that link is what im looking for
looking forward to completing this project
more power and godbless
ramiimar says: May 25, 2010. 2:38 PM
I have collected a bunch of steppers hoping one day to build a CNC. You have inspired me to tackle it with all this wonderful information. Keep it up. Also, some very helpful comments throughout. This is why I love the internetS.
[ReinventingYourExit] says: May 24, 2010. 10:48 PM
First off, Tom, this is a great circuit, went together flawlessly, and worked the very first time. Thanks again for sending me the board layout with SMT 4028s.

The step pin for the  axes are 2,5,and 8(that's X, Y, Z) and the direction pins are 3,6, and 9.
To access this in KCam, you go to Setup>Port Setup>LPT Setup, then select the Pin Setup button.
Of course from here, you can also set up the pins for your limit switches, spindle relay, and anything else to make your CNC more productive/safe. Hope this helps.
sxyuklad says: May 23, 2010. 8:33 AM
where should the 3 wires (direction, step and enable) from x axis driver be connected to the parallel port (what pins and data? and where they go from y and z axis? and are all these 3 wires all from one driver that must be connected to lpt? and what mode for lpt should be selected for it work (ECP, bi-directional or any other)? please explain as soon as possible, im stuck waiting for your answer and I can only go ahead when I am answered to all my questions for which I thank you so much in advance. And would the same driver work with mach2 or mach3?
sxyuklad says: May 23, 2010. 8:23 AM
and if I am hooking up 24v 1A/phase and 30v 0.75A/phase motors what should be the volts, ampere and watts of power supply and do I need to change any component values?
sxyuklad says: May 23, 2010. 8:20 AM
can i use 10n60l instead of 12n10l? please clearify. i cannot find them, 10n60l is what i can find. or tell me any alternative like power transistor like 2n3055 would work?
sxyuklad says: Jan 17, 2013. 10:45 PM
and if i have 7.5 step motors, what should be the settings for kcam or they are same as you illustrated for every motor?
sxyuklad says: May 23, 2010. 8:07 AM
I am building this... What voltage and ampere should the power supply be? Can it run 24-30v and 1A/phase motors?Where in the circuit the yellow, orange, brown and black wires from motor should go and what should be the sequence? Can I use power transister if I can't find fets? Because I can't find 12N10, what can i use instead, please help. I can't find the bulbs as well, what resistance they have and what is the wattage for them? can i use 5watt or 10 watt resistor instead and what value of them? Please help soon. I am dying to trying it out. Thanks.
belair190365 says: May 16, 2010. 5:08 AM
 Can someone tell me if the ground pins 18 to 25 have to be connected to the chassis of the 25 pin plug or just connected to eachother?
Is there a cirquit drawing of the 25 pin plug?
Some pins are connected but don't go anywhere.

belair190365 in reply to belair190365May 18, 2010. 12:36 AM
 I was a little to fast to put a comment. I found the answer in the pdf file of the top PCB. 
@Shaadmahmud:
Nice job!!!! Hope to get so far like you.
shaadmahmud says: May 17, 2010. 5:54 AM
here is a link to my cnc driver same as Tom macwire

http://www.youtube.com/watch?v=YSCpg1Hybnw
shaadmahmud says: May 14, 2010. 1:17 PM
thank u for helpin me out...its a great project... i have done thi n its really works
samr37l says: May 13, 2010. 5:42 PM
 What kind of stepper motors do yo use? Unipolar? Also what is the rating on your steppers, like how strong are they? And awesome instructable!
Thanks,
Sam
bobsmith760 says: Apr 4, 2010. 12:47 PM
When I click the yellow arrows the green number doesn't go up and my motors don't move. Any suggestions?
parasite66666 in reply to bobsmith760May 5, 2010. 11:00 AM
I´d guess you didn´t set up your pin map in kcam yet.
You need to set all the pins you´re using before the joging will work.
bobsmith760 in reply to parasite66666May 11, 2010. 4:31 PM
 Yep that was it, thanks.
Also to anyone else building this circuit, you can use a 4029ic counter instead. Just connect pin 9 to + power.
neutron7 says: Apr 4, 2010. 12:21 PM
you used 1n4001 diodes but the parts list says 1n4004, they are much fatter, will they fit ok, or can i get away with 1n4001s, i have lots of them.
parasite66666 in reply to neutron7May 5, 2010. 11:02 AM
1n4004 are just a higher voltage type of the 1n4001 (same size). Afaik the 4001 is 50V while the 4004 is 400V.
Both types should be fine, and don´t worry about space, there´s plenty to fit even fatter diodes.
Accentrix says: Dec 4, 2009. 11:46 AM
I could power my 4-wire 24V stepper motors with this board correct? (as long as the supply voltage is 24V)
cousinles in reply to AccentrixDec 5, 2009. 4:54 AM
No just five and six wire motors
woodspinner in reply to cousinlesMay 4, 2010. 3:46 PM
 and also 8 wire
Accentrix in reply to cousinlesDec 8, 2009. 1:56 PM
Sorry to beat a dead horse. What about 6 wire 24V?
cousinles in reply to AccentrixDec 8, 2009. 5:45 PM
I ran 36 volts with no problem.
ooda55 in reply to cousinlesJan 16, 2010. 9:59 AM
on a 6 wire, is there 4 step wires and 2 grounds? or 5 steps and one ground, and if there are 2 grounds can i just put them both together or do they have to be wired seperatley?

thanks
chris
cousinles in reply to ooda55Jan 16, 2010. 11:41 AM
 The step wires are  ground, if you have a five wire motor you will have one positive and a six wire has two, yes you can wire them together. the mosfets short each step wire to ground one at a time and that is how you get the motor to step. 
daffniles says: Apr 30, 2010. 8:34 PM
Just wondering what software you used to generate the g-code cut file. Have used it to make a board on my own CNC machine which worked great.  Now want to make some other boards similar, and looking for software to achieve this.
levonTech18 says: Apr 29, 2010. 3:07 AM
Hi? what is the step of your simple cnc driver >is this full step,haft step,Full/Half or  Microstepping.thanks
levonTech18 says: Apr 29, 2010. 3:06 AM
Hi? what is the step of your simple cnc driver >is this full step,haft step,Full/Half or  Microstepping.thanks
levonTech18 says: Apr 29, 2010. 3:05 AM
Hi? what is the step of your simple cnc driver >is this full step,haft step,Full/Half or  Misrostepping.thanks
levonTech18 says: Apr 29, 2010. 3:04 AM
Hi? what is the step of your simple cnc driver >is this full step,haft step,Full/Half or Misrostepping.thanks
dylanwinn says: Apr 25, 2010. 5:53 PM
(removed by author or community request)
zenitron says: Apr 22, 2010. 3:52 PM
Hi and thank you Tom for this great instructable,

I built the driver but I have a few issues.

I'm using 4-phase unipolar stepper motors (sm4202)
here are the specs:

12 vdc, 150 mA
3.6 deg/step
detent torque 80g -cm
holding torque 504g -cm

there are five wires: black, white, green, red, brown.

could you point me out the exact way of connecting this motor to the driver. 

Also I'm using a 24V adapter to power it up. When I go to Kcam and press on the controls it does not move. But when the motor is somehow hooked up to the driver, I noticed that when i accidentally  touched the 25-pin connector with one of the wires the light bulb lit up and the motor twitched (did one tiny step). 

Im using the Kcam on a WinXP sp2, if that can help..

other than that random twitch I cannot get any other controlled action through the computer.

Some help would really be appreciated, Thank you!
DAvid.
gelicker says: Apr 8, 2010. 12:23 PM
 Could you list the components this circuit?  
biffit says: Jan 7, 2009. 9:30 AM
What exactly are the servos that you are using?.
the_mad_man in reply to biffitJan 20, 2009. 8:33 PM
he's not, he's using stepper motors
thatonekid in reply to the_mad_manFeb 2, 2009. 5:05 AM
bipolar stepping motors
maclinfuehr in reply to thatonekidApr 4, 2010. 11:04 AM
 bipolar have more than 4 wirse and unipolar have 4
caustic4 in reply to maclinfuehrApr 5, 2010. 10:11 AM
I believe you're mistaken. Bipolar stepper motors have 4 wires and unipolar stepper motors typically have between 5 and 8 wires. This is a 5 wire unipolar stepper motor.
mackd7777 in reply to thatonekidMar 11, 2009. 4:47 AM
Its a unipolar motor beacuse it have 6 poles.
arzie2000 says: Apr 4, 2010. 7:23 PM
i would like to ask what is the output voltage and current of your stepper driver? I'm using a 36V 3A bi-polar motors, can i use this circuit?
vernonstien says: Apr 4, 2010. 6:32 PM
Hey all.
I have been looking at all if not most of the homebreww cnc projects, there are some very intersting and awsome ones out there. One thing that I have not seen as of yet is an automatic tool changer. That would be the next step in the homebrew cnc project, even if it only changes out 2-3 tools would still be an amazement. 10 years ago this was unherd of, now it's everyday biz. 
Amazing! just amazing.
AbuTarif says: Apr 4, 2010. 3:00 PM
You are the man Tom ...

I've built your circuit and it works from the first time for the three motors ,but I've noticed that there is some lose steps while jogging any of motors ?

So I've tried to change the Kcam application priority to Real Time instead of Normal or High and the result was smooth and perfect stepping but with program halt  while excuting any G-code till the end of the file !!

Another issue for the mach3 ,after setting the Pins map in program setting still not driving any motor ?!!

It means that the only program work with your circuit is the Kcam ... while the Mach3 is stronger than Kcam by far ....
nitro3551 says: Apr 4, 2010. 7:54 AM
Hi
What program did you use to create the pcb and convert it to code.
This is an awsome project, Great work.
sydios says: Mar 25, 2010. 4:40 AM
Hi,

i have some problems with the circut, when i disconnect the parallel cable the light of the channel where a motor is connectet turns on and the motor gets power and gripp, but when i connect the board to the pc the light goes off and the motor powers down.

And still having the problem that i can't use the manual control in kcam like shown here in the tutorial.

thanks for help
libed91 in reply to sydiosApr 3, 2010. 10:01 AM
 i have the same problem
libed91 in reply to libed91Apr 4, 2010. 5:03 AM
I hsve benn doing some checking of the circuit and i found out that voltage on Vcc  of the IC's falls from 5V when not connected to computer, to 1,8V when connected to computer and i do not know why this happens.
Any suggestions or explanations would be welcome.
medalhead says: Apr 1, 2010. 7:03 AM
Do i HAVE TO connect the light bulbs to middle pin of the coils and VCC or schould it work just without the lamps and the middle pin connected to VCC?

i readed something about current limiter for this. did i destroy my motors by not having the light bulbs in line?

yesterday they ran for a little moment.

first i had and led with resistor instead of the light bulb there, but i noticed that this dont work, because of the led, it limits the current, so the motors were not able to drive.

please help me! ;)
dantheflipman says: Mar 31, 2010. 12:12 PM
Hi,

I am about halfway through making this project, and was just happy that i finally got the cnc mill in one of my classrooms to cut out the PCB, the front side came out great but the backside did not so I will re-engrave it today. Thank you for putting so much detail into this project. My teacher is making this mill my final project for the class.

-Dan
065 says: Mar 28, 2010. 11:09 AM
Hi I'm currently trying to construct your machine but I'm having trouble understanding  how your machine works with out and limit switches?
sg1fan2 says: Mar 23, 2010. 1:47 PM
this sounds like a great build.  the only problem i can see for me are the boards for the motors.  is there anyone that makes the boards.  and what program would i run with them
ziggalo says: Jan 31, 2010. 4:03 PM
 hi

I thought stepper motors have four wires. but from the looks of these pics, they have six? or five? what kind of stepper motors are specified for this project? the parts list did not say. thanks
sydios in reply to ziggaloMar 23, 2010. 7:17 AM
The Control is for unipolar Motors these have normaly 5 wires.
For this driver unipolar works, you can google the schematiks, bibolar does't work.
BradyZ in reply to ziggaloJan 31, 2010. 6:45 PM
I'm pretty new to stepper motors (and instructables). But from what I understand, stepper motors can have either 4, 6, or 8 wires. I'm not exactly sure what the differences between them are though.
ziggalo in reply to BradyZJan 31, 2010. 9:30 PM
 yeah, i was wondering which ones are needed for this particular project. It just seems like, judging from the pics, that these are six wired ones,  but i'm not sure. Anyone have any input? also where would I get some motors? the ones i've seen online don't have specs on torque, and they look a little wimpy
hondaman900 in reply to ziggaloMar 21, 2010. 12:22 AM
Yes, anyone care to followup about the 4, 6 or 8 wire stepper motor differences? Is it possible to "adapt" any variation to this circuit?

I picked up 8 free printer and scanners this weekend from a local electronics recycling place and my kids and I had a blast dissassembling them. I was hunting for stepper motors, while they liked the springs, cogs, and any excuse to use Daddy's power tools.

I now have a great supply of stepper motors, but they're almost all 4-wire. Will they work with this circuit?
medalhead in reply to hondaman900Mar 23, 2010. 4:24 PM
This thing Rules and answers your question
http://electronics-diy.com/stepper_motors.php
cheers
 
balafekas says: Mar 22, 2010. 4:51 AM
test
16zzundel5 says: Mar 21, 2010. 2:39 PM
 How would I hook up a spindle to this? 
I know there are control pins, would I use a relay?
If so, how?
if not, how?
sydios says: Mar 13, 2010. 11:55 AM
Hi,

is the Pix where we can se the pbc mirror inverted ?
Becouse i mirror inverted the plan so the little "1" is readable on the 
board. What is right to do ?

thanks .,..
bobsmith760 in reply to sydiosMar 18, 2010. 9:18 PM
 Yes, you do need to invert it.
isozforever says: Feb 3, 2010. 11:34 AM
this board works with mach 3 cnc program? gcode?
medalhead in reply to isozforeverMar 17, 2010. 12:41 PM
im not sure yet, in test phase atm, but i think so, just have to get the right settings.
theres a very nice video tutorial on the devolopers site.
 
medalhead says: Mar 17, 2010. 11:00 AM
Hey guys, but mainly Tom McWire!
First of all, great project, that grea tthat im re-building it :)
Im almost finished with the hardware(z-axis is missing) but rest works fine.
and today i also finished with the "software" i did it the chemical way :)
I only have a problem with getting the motors working.
The software i use is Mach 3 and im already into it.
that means im so far, i can meassure the signals coming from the parallel port to the platine(with an oscilloscope). i got the good stuff :D
signals for direction and steps are fine (at 4516). and they get good as well to the 4028.
but i dont get any signals on the output of that ic, and its not defect.
this isnt a reason of a wrong connected motor?
btw, i should say that im using a supply voltage a little above 6V. otherwise it dosnt work that far, it does now...
I would be happy for some ideas to get it work :)
medalhead in reply to medalheadMar 17, 2010. 12:26 PM
EDIT:
maybe its also interesting, that i just connected 4 wires from the motor.
only hat one with the diodes before.
i know taht my motors run with only 4 pins connected, i ued them in another circuit.
cheers 
sydios says: Mar 13, 2010. 11:39 AM
Hi,

what program did you use to make the gc, gbr, drl files ?

thanks ...
dragonart777 says: Mar 9, 2010. 10:25 PM
i am a bs2 programer  so i have over 60  servo's around  im wondering
if servo's can be used for this  for a small project i like to try
servo's run by pulse  same as the axe motor  so i would thank
if so please send me a yes or no in my index 
the merog says: Mar 3, 2010. 9:58 PM
Anybody please help with a little info. The question is...

Am planning to make a 4' x 2' CNC Laser Machine. does this controller and those motors support that?

If not, any suggestions for the modification?

Awaiting replies...//MEROG
jobobeda in reply to the merogMar 8, 2010. 12:09 PM
The size of the step motors, axis screws, weight etc., will dictate the requirements for the controller.  if you first look at what is out there in the way of plans and what the plans call for in motor specs, then decide on what board to build or buy.

I hope to build a machine about the size you mention eventually but, for now a mini dremel  size mill will give me experience with the CNC learning curve.  Some one on one of the forums can tell you how to calculate it all out.

I have my 3 axis board functioning with 3 2amp steppers now on 12volts.  I plan on going up to 24 volts for the final version.  Tom had stated that he had his version running on 30 volts. (look in comments).

My only problem with the circuit at this point, is I for the life of me, can not get the Z axis light to shut down (go off) between pulses.  the darn light stays on all the time and pin 9 on the 25 pin printer port will only go low on the down movement of the z axis!  that light is drivin'n me up the CNC WALL!

This has been a great project, I would not have attempted to build a cct board and do a lazer print transfer if it had not been for the insructables.  Thank You Tom McWire (Mcguire) whom ever you may be!

JB 

ps;Help me get the light off!
Pyrotechnic-Robot in reply to the merogMar 5, 2010. 3:18 PM
 It should be able to control any 3 axis machine. 
there should not be an impact on weather you have a drill of a laser on the end.
the merog in reply to Pyrotechnic-RobotMar 5, 2010. 6:13 PM
Ok, but I mean, the Dimensions. Does these specific motors are enough for the dimension of 4' X 2' ?

Thank you.
Awaiting reply...//MEROG
disturbedreaper in reply to the merogMar 8, 2010. 9:17 AM
Im not quite sure what you are saying there are you asking about the size of the motors or can they handle moving something that big, please rephrase
the merog in reply to disturbedreaperMar 8, 2010. 9:13 PM
yup, I mean both. The Motor size as well as the movement of that big (4' x 2').
Can this board handle that?
Awaiting reply...//MEROG
disturbedreaper in reply to the merogMar 10, 2010. 1:57 PM
sorry for the wait. you should research the motors you need i belive this circut can handle 12 volts but im not sure how many ma im sorry i cant help to much but im stiill building this board so i cant test anything yet.
moire says: Dec 6, 2008. 10:01 AM
I found out the .stepconfig file is created when the wizard finishes, but still don't know how to load these files...
chaddcurtis in reply to moireFeb 26, 2009. 4:35 PM
Hi Moire, I have not been following this forum for a while, as you can see. If you still need help send me a PM and I can try and give you a hand. Best, Chad
GusPS in reply to chaddcurtisFeb 23, 2010. 8:29 AM
Hi chadd. I've build the circuit and connected to parallel port. Then I started LinuxCNC from liveCD, copied your files to emc2/config and when EMC2 starts, I select your config and.... next what? What is the best way to test the circuit?
I've seen that the author uses KCam and mention something about yellow arrows. Are there somthing similar in EMC2 to test the circuit?

Thanks!
GusPS in reply to GusPSFeb 25, 2010. 7:47 PM
I've been able to found the similar to yellow arrows of KCam: After emc2 has started, press the red "power-on" button. And on the tab "Manual Control" are buttons to move the X Y and Z motors.
BUT... I could only make one motor to run. It's the Y axis. The X and Z I wasn't able.
I've notice that the chad files are not for the Tom driver. I tried to reconfigure the PINs, but no luck. Here are my changes:

linksp Xen   => parport.0.pin-10-out
linksp Yen   => parport.0.pin-07-out
linksp Zen   => parport.0.pin-25-out

###
### If you want active low for this pin, invert it like this:
linksp Xstep => parport.0.pin-12-out
linksp Xdir  => parport.0.pin-11-out
linksp Ystep => parport.0.pin-09-out
linksp Ydir  => parport.0.pin-08-out
linksp Zstep => parport.0.pin-06-out
linksp Zdir  => parport.0.pin-05-out

The problem is that emc2 expect as a PIN IN the numbers 10,11,12, and the 25 is not expected at all. So, when it starts, it crash. If I comment out those lines, emc2 starts but only Y axis works.

Any sugestions?
GusPS in reply to GusPSMar 1, 2010. 10:45 AM
Well, I've all axis running OK. What I did was to create a pin-map from the emc2 expected connection to the driver connection.
So, for example, PIN 5 from the driver goes to PIN 2 of the parallel port.
Here is my map:
25 -> 1
5 -> 2
6 -> 3
7 -> 4
8 -> 5
9 -> 6
10 -> 7
11 -> 8
12 -> 9
All GNDs to the same PINs.

And the configuration file goes acoordingly to this map.

Now, I'm going to build the frame. :D
wpflum says: Mar 1, 2010. 9:38 AM
I'm baaaaccckkkkk!  After a 2 year hiatus I'm finally able to get back on building my machine and I've run into a head banging problem.

I've made up Tom's pcb of his circuit and have two of the driver circuits running.  The ones on either end of the board work, the middle one does not.

I can trace the signals with a scope up to the mosfets and all three circuits look the same.  On the circuits that work I get the power supply voltage, around 16 volts, on the output which pulses to zero when stepping but on the circuit that does not work I get around 7 volts and it just goes to zero when stepping no pulses at all.  I've double checked the traces and components and replaced everything with new parts except for the diodes which I tested out of circuit and seem ok.  I'm hoping that it's something stupid I did and maybe someone else has had this happen who could point me in the right direction to fix this.  

I'm really at a loss here!!!

HELP!!!!!!!


BIll 
wpflum in reply to wpflumMar 1, 2010. 10:13 AM
All it took was another set of eyes on the circuit!!!

I decided to call a friend who designs circuits for a living and went through the circuit over the phone.  While I was measuring the power supply voltage at the rail where the bulb socket hooks to I was measuring 7 volts at the actual pad on the socket!!!  Turns out to have been a bad trace but it was right under my crappy soldering job so I couldn't see it. 

Now I really feel stupid,

Oh well, now at least I can get back to putting this together.

Bill
falling_rain says: Feb 1, 2010. 8:09 AM
 my y and z axis is not working is this pin set up right?

falling_rain in reply to falling_rainFeb 1, 2010. 8:11 AM
 forgot the picture.
untitled.JPG
falling_rain in reply to falling_rainFeb 1, 2010. 11:02 AM
 got the y axis working now! whew! now the last motor not working is the z axis motor. here is my port set up in kcam. where did i go wrong? when i jog on the z axis the motor made small back and forth movement.
kcam.JPG
calphool in reply to falling_rainFeb 26, 2010. 7:56 PM
I'm getting the same behavior out of my Z circuit.  When I attach the LED to the Z STEP line, it flickers off and on, even when the "SINGLE STEP" button is pressed in KCam.  When I use a generic parallel port output tool and send 255 (which would translate to 'all on' for pins 2 - 9), the LED lights up steady.  So this seems like some kind of software problem in KCam -- it's oscillating the Z pins off and on in rapid succession.  Anybody have any ideas?
calphool in reply to calphoolFeb 26, 2010. 10:57 PM
Figured it out.... there's a setting in the Table Setup menu to allow the Z Stage to single step.... no idea what it's not defaulted to checked.

HEY!! I'm machining stuff!!  It works!!
naren309 says: Feb 25, 2010. 10:32 PM
i have successfully build the stepper motor driver for 3 axis. it just works beautifully with good torque. i want to share some of my observations. i am using sanyo denkin 140oz 3v 2.5 A motors. i am not using any lamps but wire wound resistors of 3 to 5 ohms and 10 watt . my advice to you all is use power supply voltage 3 volts above the motor voltage so that there is less voltage to drop and less heat to dissipate. my powersupply voltage is 7.5 volts Dc. the mosfet s dont get heated up and also the motor is absolutely cool. thanks to  Mr. Tom for a wonderful and cost effective driver. i wish him all the sucess in whatever he does.
calphool says: Feb 22, 2010. 12:43 AM
I seem to be having troubles with this circuit.  I was unable to find CD4516 and substituted a HEF4516BP, which in theory is compatible.  However, when I notice when I use my LED tester is that the LED flickers off and on several times whenever I press a key in the key jogger.

Also, going over to the MC14028BCPG (also in theory compatible with the CD4028), I see that all the outputs to the FETs seem to be stuck high.

Any ideas?

calphool in reply to calphoolFeb 23, 2010. 11:57 PM
I figured out my problem, so I decided to post it here in case someone else runs into it some day.  My problem was that I had fried my mosfets by accidentally connecting the +12v to the gate and the logic level (+5v) to the drain.  So the symptom when you do that is described above (the FETs basically do nothing -- they don't respond to the trigger signal from the counter/demuxing chips.  So now I've got to go buy some more mosfets.... I should have ordered extras....duh.
cousinles says: Dec 1, 2009. 6:19 PM

This is my board I just finished. I removed the light sockets and did some reworking to the top of the board so I could mount some lugs for the motors. I built a current limiter to put in the place of the bulbs.

circuit.JPG
Accentrix in reply to cousinlesDec 8, 2009. 1:59 PM
Very Nice work! what exactly did you use as the current limiter?
cousinles in reply to AccentrixDec 8, 2009. 5:49 PM
I used the current limiter from this site it works really good. http://www.pminmo.com/3axisPIC/3axisPIC.htm I also built the driver but it requires the pics to be programmed and I could not get them to program.
naren309 in reply to cousinlesFeb 19, 2010. 1:46 AM
I am also developing this driver board and need your help.
can you please tell me if this driver will drive stepper motors 0f 400oz. i need good torque . also can you give me the current limitor details. thanks in advance.

my email: naren309@gmail.com

naren
cousinles in reply to naren309Feb 19, 2010. 5:07 AM
 Would need to know the specs on the motor. why do need a motor that big? I know the current limiter wont drive them. 
naren309 in reply to cousinlesFeb 23, 2010. 10:31 PM
i need your help. i have assembled the driver circuit . i am using 12 v supply and 5 ohms 10 watt resister instead of the lamp. i am giving the signal thru K cam software. the motors just hum . also i am using sanyo motor 140 oz . how to connect the wires. any which way i connect the motor just hums. also if i hold the motor there is good torque. please let me know where i am going wrong. how yo get the right wire connection?
GusPS says: Feb 23, 2010. 10:20 AM
Is there a way to test the driver without KCAM?
I guess it could be possible to emulate signals in the STEP and DIRECTION pins, but how?
Anyone know?
Thanks!
ziggalo says: Feb 20, 2010. 4:28 PM
 Kcam looks like pretty expensive software. Is there like a demo version or something? What other software is available for free for me to test my hardware before spending the money on software?
ziggalo in reply to ziggaloFeb 20, 2010. 4:28 PM
 Right now i'm just really confused with the software
calphool in reply to ziggaloFeb 22, 2010. 5:09 AM
I've been using it.  It's not really too bad.  Basically you just need to set up the port settings according to how you've wired up the circuit.  That was the one step that seemed to be missing from the instructable (or if it was here, it was only briefly referenced).
ziggalo in reply to calphoolFeb 23, 2010. 8:30 AM
 Ya, the big problem for me now is the software. My friend has Mach3, the post processor, but i don't know if that is compatible with my machine(which is not quite finished but almost there). Is kCam worth the $95? Also, if anyone has done any designing, what software do you guys use to make the 3D models and export the .DXF files? Any other CAD/CAM software that offer's a free trial as a temporary substitute for kCam?

 thanks guys
gee12 says: Feb 22, 2010. 8:59 AM
hi all,, glad to meet you all,,,

honestly I am still newbie in electronics and microcontroller,,
And I'm still confused about making the motor drivers for my STEPPER,,

This is the specification of my STEPPER:

Step Angle: 1.8 Degree
Positional Accuracy: 5%
Number of phases: 2
Temperature rise: 80 degree max.
Dielectric strength: 500 VDC
Insulation resistance: 100 Mohm (500 VDC)
Insulation class: B
Radial play: 0025 mm (450 g load)
ohm: 0.76
Ampere: 1.25
Volt: 0.94
wire: 8

Any one!! please help me to  find a controller for this STEPPER??
nammobile17 says: Feb 18, 2010. 8:09 PM
hi
how much are driver"s max speed?
thanks
disturbedreaper says: Feb 14, 2010. 6:11 AM
how man volts go to the bulbs and could i replace it with LEDs or somthing like that ? sorry im new with more complex circuits.
falling_rain says: Jan 29, 2010. 11:26 AM
hi,

good evening
how can i connect the driver to the pc? i dont know whether my pc is reading my driver or not. any ideas? thanks!
cousinles in reply to falling_rainJan 30, 2010. 6:55 PM
 You just install kcam and plug the driver to the pc and away you go. Did you watch Toms video on how to test the signals with an led?
falling_rain in reply to cousinlesJan 30, 2010. 7:26 PM
 ok thanks! got the x axis motor working now. but i think there,s a problem with my y and z axis circuits. the y and z motors dont move when i jog on the kcam. any suggestions where i should start looking errors? thanks!
cousinles in reply to falling_rainJan 31, 2010. 6:34 AM
 All I can say is read step 4. tom tells you exactly how to do all of the testing. if you are getting the right step and direction signals on y and z but do not have any movement then try moving the ic's from x to y or z and see if you have any movement then. if you do then you have a bad ic if you still have no movement then there is a different problem. did you set up your ports in kcam?
I am new to this driver as well and ran into many problems building it. once you get it right it works well, just dont give up you will get it.
falling_rain in reply to cousinlesFeb 1, 2010. 7:14 AM
 i still cant get the y and z motors to work. here is what happens:

in my y axis when i jog in kcam the lamps go on when i jog up and goes off when i jog down. it acts like a light switch. no reaction from the motor. i have brand new ic's on y axis.

in the z axis the light remains lighted all the time despite anything i push on the kcam. no reaction from the motor.

i really dont know what is the problem because i have minimal background on electronics. im a mechanical engg student >.<
Sergej in reply to falling_rainFeb 13, 2010. 3:18 AM
Hi, i have the same problem with z axis . Did you resolve this problem ?

mrs2h says: Feb 12, 2010. 8:06 AM

some of those things on the mobo look like flash chips, is there any programming involved in this circuit?

the gamer 579 says: Sep 11, 2008. 5:44 AM
what programe did you use to make the .gbr files .drl files and .gc files
bobica257 in reply to the gamer 579Oct 11, 2009. 1:33 AM
Probobly Corel.

Can you tell me can I use 3 LEDiodes with resitors on  place 3 light bulbs?

Sorry about my English.
calphool in reply to bobica257Feb 6, 2010. 9:21 PM
No, LEDs would not work very well.  He's using the bulbs as RESISTORS.  LEDs are diodes, and are not linear devices like resistors.

Read:

http://cr4.globalspec.com/thread/4943/Resistance-of-LED-s
DrKhaos in reply to calphoolFeb 8, 2010. 6:47 AM
Wouldn't bobica257's use of resistors in series with the LED's give you the same effect?
calphool in reply to DrKhaosFeb 8, 2010. 9:18 AM
If he uses both resistors and LEDs he may be able to get "close" the same behavior as a lightbulb, but LEDs are diodes after all, and have a breakdown voltage that they must reach before they pass anything (they're non-linear -- unlike an incandescent bulb or just a resistor), so that might have some unwanted side effects in a circuit that's driving a precision motor winding.  I'm about half way done building one of these right now, so maybe I'll give it a try and let everyone know what happens.
random123 says: Feb 1, 2010. 7:09 PM
 Maybe I need to rephrase this.  How do you connect the motors?
falling_rain in reply to random123Feb 2, 2010. 12:21 PM
 i bought a 6 pin connector to connect the wires of my motor to the circuit. 
random123 says: Feb 1, 2010. 2:51 PM
 Where do you connect the motors?
falling_rain in reply to random123Feb 1, 2010. 3:39 PM
 connect the two tap wires next to the lamps and the four remaining wires alongside the diodes. gudluck!
falling_rain says: Feb 1, 2010. 3:52 AM
 i have another question
what type of drill and drill bit can i use?
any suggestions. Are small hand drill used in making holes in pcb enough?
thanks guys!
falling_rain says: Jan 29, 2010. 11:18 AM
 good evening!
i recently finished the circuit. im just wondering on how will i know if its works. also i tried connecting it to the pc through a 25 pin parallel port connection but i dont know whether the cpu read my connection or not. here are my questions.

-im using KCam on a windows XP SP 3. is this ok?
-when i look at printers and faxes at the control panel i dont see any connected hardware, is this normal?
-im also using a minebea PM42L-048 stepper motor. will this run from a 12 volts power supply? and more importantly, does this controller circuit support this motor? here is the link

http://www.eminebea.com/content/html/en/motor_list/pm_motor/pm42l048.shtml

-its 6 wires are arrange like this(pinion side facing ground)

red        white        grey
flesh      black      orange

how will i know the right configuration?
-ive read the kcam tutorial but how can i test my motors using kcam?
lots of thanks for you guys. ive invested so much time and energy (and money too) so i really (and badly) want to finish this project)
this is a great website with a great community! 
more power and godbless.
ziggalo says: Jan 27, 2010. 5:47 PM
 how do you punch out the holes for the leads? and also, from the pictures, these are 5-wired stepper motors? thanks
ziggalo says: Jan 26, 2010. 1:37 AM
 one the parts list, it sa to get one IC BCD Up/Down Counter. However, judging from the pictures, it seems that there are three. do you need to multiply everything on the parts list by three, one for each axis?
thatonekid says: Jan 21, 2010. 6:06 AM
i like your instructable and would like to build my own however i am looking at your schematic and it does not show how the circuit connects to the 25 pin d-sub connector\
please elaborate
CMNDR says: Jan 19, 2010. 11:27 AM
 Good Project. Though this is the first post in a while for this project, I was wondering if for all three circuits I use the same pins on the cable connector?
Thanks
ooda55 says: Apr 22, 2008. 5:27 AM
hi ther i am building this project at home at the moment and its working out pretty well but i have a laptop that doesent have a parelell port on it so will a parallel pcmcia card work? thanks chris
amitsharma2904 in reply to ooda55Oct 30, 2009. 9:29 PM
 Hi,

you can try usb-to-parallel port connector even though i have not tried it.

thank you

 
pfred2 in reply to amitsharma2904Nov 21, 2009. 9:24 AM
These people have:

http://www.tormach.com/document_library/SB0012_Control_Computers.pdf

They don't seem to like them very much, or laptops in general.
ooda55 in reply to pfred2Jan 17, 2010. 2:36 AM
I tried a usb paralle adapter but it turns it it was only for use with printers, its worth double checking that they will work with cnc before buying
instead dad salvaged me a old laptop from work that they were going to throw out which had a paralel so i will see how that works,if the worst comes to the worst my desktop has a parallel header on the motherboard i could wire up
ziggalo in reply to ooda55Jan 18, 2010. 3:25 PM
 would a usb/parallel adpater work with the proper driver installed?
ooda55 in reply to ziggaloJan 19, 2010. 8:18 AM
I have no idea, sorry
but most of them say in their manuals that they are only for use with printers
ziggalo in reply to ooda55Jan 19, 2010. 10:28 AM
a printer uses stepper motors, so does that mean i can just treat the cnc as a "printer"?
ooda55 in reply to ziggaloJan 19, 2010. 11:18 AM
i would not rely on it, and i also have no idea how you would do that, but you could give it a shot
salalas in reply to ooda55Apr 12, 2009. 2:07 PM
My friend can you please send me the list with what i need???
ooda55 in reply to salalasJan 19, 2010. 8:26 AM
Look at the word doc attatched to step 1
optiontrader53 in reply to ooda55Dec 28, 2008. 9:07 AM
If you have a USB port, you can get a USB to Parallel adapter from Belkin Components (www.belkin.com). I have a USB to Serial adapter that I use with some HAM radio software to control my Kenwood TS-440S/AT radio. It works great! Recommend you check them out. Price varies from different stores, but the best price I could find was at Newegg.com. Staples Office Supplies also carries them.
epo in reply to ooda55May 28, 2008. 8:25 PM
Hi!

I built a cnc based on stewart's plan. Control is provided through mach3 run from my notebook. I also do'nt have a parallel port so got a pcmcia from http://www.transdigital.net/info.htm

Cheers.
ooda55 in reply to epoMay 29, 2008. 11:39 AM
sorry ti tell you but the card you gor was a bit of a bad deal i got mine from ebay for 20 quid wich is like 40/50 dollars compared to your 125 one. the only bad news for mine is that on thrying to insert it into my laptop i found it didnt fit because my pcmcia port is infact a express card port :S so i think ill just get my own driver board that works on usb or serial and DO NOT use a usb to paralell port because 99% of them only work for printers
epo in reply to ooda55May 29, 2008. 9:59 PM
Hi! I was starting to feel bad about the price difference but then again it worked! Did see those other cards at ebay but they didn't have the spec (i.e., works only on printers!) I need to run my cnc from my notebook. Cheers.
de sasmito in reply to ooda55Apr 23, 2008. 2:03 AM
hai all i have some problem about this video , ican download this video maybe someone sent me Easy to build CNC Mill Stepper Motor and Driver circuits video to my email thank you very much
ooda55 in reply to de sasmitoJan 19, 2010. 8:29 AM
the link to the vid is http://www.youtube.com/watch?v=ZUyqscxLJ4k
if you cant see it try using zamzar.com or movavi.com and use their online youtube download applications
ammo8600 in reply to ooda55Mar 16, 2010. 11:14 AM
 Can you tell me the values of the C3,C4,C5 and C6??

I cant find it on istructables.
jrhogan58 in reply to ammo8600Jun 8, 2010. 8:42 PM
I'm not certain (trying to find out myself), but I believe I saw a image of the pcb with each piece identified...showing 0.1uF for C3, C4, C5 and C6. It was really small so I'm not for sure. Trying to find that out is exactly why I've been looking at all the post. Anyone know for certain??? please post. I've got my pcb etched, drilled and ready to start soldering. I have Ubuntu and EMC2 ready and waiting. I can hardly wait.
jrhogan58 in reply to jrhogan58Jun 8, 2010. 8:53 PM
Just to follow-up with my previous post. I found the following comment from Tom on the post for the first step: "I'm glad to see you are experimenting with the circuit. I wish more people would do that. I looks good. The only thing I see is you show the yellow things as Zener Diodes and I think you meant to say Capacitors. The larger one could be 1uf and the smaller ones .1uf. Tom" This confirms the C3, C4, C5 and C6 capacitors to be 0.1uf.
ooda55 says: Jan 19, 2010. 8:33 AM
Hello again everyone,
i have a few questions about the bread board layout:
1) is the black bit (negative terminal i belive) pointing upwards?
2) what is the big white wire coming out of the top of the far right hand diode in the photo?
3) how are the power rails connected (which ones are negative and which are positive)
4) how is the bulb connected (is it between the motors common and positive?)

thanks alot
ooda55 :)
ziggalo says: Jan 18, 2010. 3:26 PM
 Is this circuitry compatible with any CNC software/post processor? or just KCam?
electronic boy says: Jan 10, 2010. 4:02 AM
i have a question please dont laugh as i am new to this sort of stuff are the stepper motor drivers connected to the output lines of the printer port or is there a sepperate chip to control them
ooda55 in reply to electronic boyJan 16, 2010. 9:50 AM
I thought the same but i THINK that:
as the stepper motor has 5 wires (1 ground and 4 steps)
the parralel port pulses for a step, the chips count up to four steps incrementing from wire 1 to 4
then on the fifth pulse it returns to the first cable
im not sure exacly what the IC's do but i belive that is the basic princible, please tell me otherwise if im wrong :)
electronic boy in reply to ooda55Jan 18, 2010. 10:17 AM
oh thats how it works i was wondering but yes thanks
ooda55 in reply to electronic boyJan 18, 2010. 11:19 AM
upon checking the common wire (which i called ground) should actually be positive, and the step wires should short (connect) to negative throught the MOSFETS to step
ydeardorff says: Dec 9, 2009. 10:35 AM
Thanks for this.
Im hoping to have this working soon.
Will motors from scanners and printers work, or should I look for something beefier on ebay?
vernonstien in reply to ydeardorffJan 17, 2010. 2:21 PM

I salvaged some motors from an old epson track feed printer they had thown out at work. Two of the motors are the same about 2.5 in squared, not sure of the specs but they look beefy enough for what i want to do. the other one is like a servo motor, has an encoder built in on the backside of it. Looked up the numbers, said it was 30vdc 60w. Have not used any of them yet but do plan on it soon. try and find a scap printer, one like what they use for shipping, printing invoices, purchase req, ect.ect...you know those big track feed printers. Hope that helps you find something to tinker with.

ooda55 in reply to ydeardorffJan 16, 2010. 9:57 AM
hmm, my scanner has pretty tiny motors.
i got some insanley geared down motors off ebay for mine and i think they are actually to small and geared down (unless i want to wait 24 hours to drill a few holes :P )
go for the beefy motors, then at least you know you are guarenteed enough power for most tools
ziggalo says: Jan 17, 2010. 12:51 AM
I'm using bmp2cnc to create the .nc file. but how do I run these instructions? The program only shows a simulation. does that mean that if I hook up the ports, the machine will run with the simulation? software help please. thanks

ziggalo in reply to ziggaloJan 17, 2010. 1:48 AM
 also, what post processsor do you have?
ziggalo says: Jan 16, 2010. 11:51 PM
 What software are you using? I've been looking everywhere, but can't find one
stewie0056 says: Nov 23, 2009. 4:41 PM
hi can omeone help me.
can i use a MC14028 decoder instead of a CD4028 for the decoder.
and can i use a B8145 up/down binary counter instead of a CD4516 for the up/down counter?

thank you

ps i bought those ic from www.allelectronics.com

decoder- http://www.allelectronics.com/make-a-store/item/4028/DECODER/-/1.html

up/down counter- http://www.allelectronics.com/make-a-store/item/74LS191/UP/DOWN-BINARY-COUNTER/-/1.html
ooda55 in reply to stewie0056Jan 16, 2010. 10:00 AM
Hmm you might be lucky
but i tried mathcing up components and found it didnt work
you are probably better getting the exact components (try ebay and farnell)
Hasersys says: Jan 13, 2010. 9:58 PM
Hello, I am horrible when it comes to circuits. I want to build a small cnc just for some thing to do. I Have echted Toms board out, and it seems to be nice. I am going to build the circuit on a bread board soon as well for testing. I have a small stepper out of a printer that is 5 wire, and I plan on testing it on the board before I move to a more suitable motor. If anyone could run by this drawing that I am using as a guide for myself and check it to see if it is messed up or missing some thing I would be very thankful. I could just buy a controler but where is the fun in that?

I took the parts list and meshed it with the board. I am not sure if I even have one thing right on it, but I thought it can't hurt to ask. I have never built anything like this. I have been readin up on it a lot. So if I got some thing wrong can I get it corrected thanks

http://farm3.static.flickr.com/2761/4272846177_a705393621_o.jpg
Tom McGuire (author) in reply to HasersysJan 14, 2010. 9:48 AM
I'm glad to see you are experimenting with the circuit. I wish more people would do that. I looks good. The only thing I see is you show the yellow things as Zener Diodes and I think you meant to say Capacitors. The larger one could be 1uf and the smaller ones .1uf.
Tom
Hasersys in reply to Tom McGuireJan 14, 2010. 12:57 PM
Oh thanks a lot I will change and update c3 and c6. I know it is a bit rough but drawing it out like this helps me out since this is my first board I am making. Witch I may say I really give you props on this instructable. I have been a tad addicted to it. I just have a little more to learn about circuits.
falling_rain says: Jan 1, 2010. 10:40 PM
happy new year guys!
i have a problem
the port on the driver port is a 25 pin male and the port on the back of my cpu unit is a 25 pin female
how can i connect them? i cant seem to find a male/female printer cable.
any ideas? thanks!
electronic boy in reply to falling_rainJan 13, 2010. 7:21 AM
extend the male 25 pin conector with some wire
007Astorga says: Jan 12, 2010. 7:54 AM

Interesting project

Fred82664 says: Jan 9, 2010. 5:29 PM
Thank you for the Linux info ! not a lot of people gives Linux much respect on this site. Ubuntu has a  distribution just for smaller do it your self CNC    
supermuzzles says: Jan 4, 2010. 4:59 AM
Just one question, is this hooked up to DC or AC power? Thanks
bobsmith760 in reply to supermuzzlesJan 7, 2010. 10:02 PM
 DC at your motors voltage.
kareden says: Jan 6, 2010. 1:58 PM
For OLD PSs find out to: www.thecooltool.com/downloads.php for more information. There is a iso image coll CoolCNC Linux (~50MB). This distribution is a Puppy Linux with EMC2. :))
gettingitfirst says: Jan 27, 2009. 4:51 PM
Yeah, Where's the parts list?
Carsen55 in reply to gettingitfirstJan 2, 2010. 5:04 AM
The parts list is on the intro page when you scroll it down you,ll find a Words document, open it.
falling_rain says: Jan 1, 2010. 11:23 PM
also i plan to use eagle for designing pcb and mach3 as a cnc software.
are these softwares ok? willthey work with this project? thanks again
ii_awesum says: Dec 29, 2009. 6:46 AM
This looks like a very cool project, I'm messing around with old scanners which have great parts for making a lightweight table (unipolar stepper, axis rod, timing belt/pullys).  Old printers are abundant and a great supply for 2 axis worth of parts too. I can manipulate a stepper axis with a Basic Stamp (BS2-IC) micro controller via a ULN2003 Darlington array but it's not user friendly outside of that.

Has anyone successfully made this parallel port controller and interfaced to a program to run it?  What works best?
gimmelotsarobots says: Oct 22, 2009. 7:04 PM
Tom, I have a problem with your controller.
I spent the money, and took the time to build it, but it doesn't work.
When I send data from the PC to the controller my motors just jitter around.
I have gone over my circuit 5 times and found no errors. Do you know
anything about this problem? I used the parts specified, but it just won't work. I even used a 5V regulator in place of a diode, still no luck. Do you have any advice?
cousinles in reply to gimmelotsarobotsDec 10, 2009. 4:19 AM
are you testing your motors with kcam set to single step with you steps per inch set to 1000? try that if your motors take one step foward an two steps back then your wires are reversed.
gimmelotsarobots in reply to cousinlesDec 22, 2009. 8:34 PM
I use a version of Linux called EMC^2 Linux. It is a modification of Ubuntu designed for CNC machines. It handles lathes, 3-axis, 4-axis, hexapods, and I think 5-axis machines. It also has unlimited lines of G-code so my parts can be very elaborate. The best part is that it is all free!
zoot686 in reply to gimmelotsarobotsDec 9, 2009. 9:30 PM
If the motor just jitters, then the motor is wired to the board wrong, and it's taking a single step, but can't take the next step, and maybe it's taking that next step back to it's original position before it took that first step.

And yeah, I've been there done that too.
gimmelotsarobots in reply to zoot686Dec 22, 2009. 8:31 PM
I toyed with switching the wires, but maybe I didn't switch enough of them. The thing is, I tested the order of the wires with a battery by lining them up and brushing them against the contacts, they worked then. I hooked them up in that order to the binary counter (or whatever the 2nd chip is) and it should have worked. Wish I had some connectors, would make switching the wires easier.
mossy173 says: Mar 26, 2009. 7:36 PM
I have a basic, but glaring question. I did a bit of looking around, and I found an IC version of something called a Darlington Array which, as I understand it, can replace the entire circuit and go between the parallel port and the motor leads. It also costs about sixty cents. This seems like it would be a much, much easier, cheaper and simpler solution than the given schematic. Am I missing something, or is this a way to go?

The datasheet for this IC can be found at http://pdfdata.datasheetsite.com/web/233949/ULN2003.pdf
mossy173 in reply to mossy173Mar 26, 2009. 8:00 PM
I partially rescind my question--I did a bit more lookin' around, and i understand a couple things now. The schematic I was looking at assumed the parallel port's logic pins were taking care of which poles need to be high in order to step--in this 'ible, the parallel port is only telling to step, and the two IC's take care of which poles need to be high. So this leads me to my amended question: The whole schematic can't be replaced by a darlington array IC ULN2003, but the transistor section can, reducing the whole circuit to three IC's and the stepper motor. Might this be a valid improvement, or am I still missing something? Thanks for the great introduction!!
zoot686 in reply to mossy173Dec 16, 2009. 2:34 AM
Yeah it'll work if the stepper motors are only pulling 500ma per phase
morphious69 says: Dec 10, 2009. 10:45 PM
hello I am wishing to try this out but I need to know if the end code on the IC's matter? I have found cd4028cn can this be substituted for the cd4028be?
likes56 in reply to morphious69Dec 14, 2009. 3:32 AM
hi, is it possible to use CD4510 instead of CD4516?
 
bluumax in reply to morphious69Dec 13, 2009. 12:10 AM
where do you get this part # from? CD4028CN.
n9xwp in reply to bluumaxDec 30, 2009. 9:49 AM
Bluumax,    I got all my componets from Mouser Electronics with no prob.
morphious69 in reply to n9xwpApr 21, 2010. 12:15 AM
so there is not enough difference between the two (or is the end just a company marking difference thus just a different company making the exact same part) ??

here is the link I have for less expensive parts

http://www.goldmine-elec-products.com/prodinfo.asp?number=G5014A

place is called electronics gold mine
bluumax in reply to morphious69Apr 21, 2010. 7:55 AM
It is just a company marking difference.
I just couldn't find that exact part number in a search.
Just make sure whatever part you get is a DIP (with pins)
like the one in the link.

Shawn.
bluumaxcnc.com



morphious69 in reply to bluumaxApr 22, 2010. 4:42 PM
cool thanks for the info.
ooda55 in reply to n9xwpJan 16, 2010. 7:46 AM
I was just checking out Mouser Electronics, and found their postage is £12 (same price as digikey)!!
I was looking for the CD4516BE and three of them only cost £0.77
are there any cheaper places people have used?
thanks alot guys, this is a brilliant instructable
ooda55 in reply to ooda55Jan 16, 2010. 8:02 AM
I just got the CD4516BE chip from
http://uk.farnell.com/jsp/displayProduct.jsp?sku=1607655&action=view&CMP=e
Reasnoble price (about £1.90)
Free UK postage (beats the £12 mouser and digikey wanted!)
bobica257 says: Oct 11, 2009. 1:34 AM
And  is that 3 Light bulb are motor indicator?

Sorry about my English.
isidoro.maich in reply to bobica257Nov 25, 2009. 7:26 PM
No, the light bulbs are used as high power resistor (limiting current), this is because is more cheap than power resistors. Read the text, is well explainded.
chaddcurtis says: Feb 15, 2008. 10:48 AM
These Linux CNC files are for running the Easy CNC driver board. Here are a few details that might be helpful:

To use the Linux configuration, first download and install the latest release of EMC2. The easiest way to do this is grab the live cd from the site (see installing Linux CNC link below). Once Ubuntu and EMC2 are installed, place the attached folder in ~/emc2/configs/, where ~ is the user name. It has been a while since I set this up, but it should run out of the hole with this configuration. Minor details will need to be adjusted to customize it for the particular setup: home position location, feed rate, table size, and the Z axis. I have the x and y axis setup for a 1/4-20 rod, but I used a 10-24 rod on the Z axis. All of these adjustments are made in the 'stepper_inch.ini' file using a text editor. For more details, take a look at the documentation. See Chapter 5, page 31 of the PDF manual for help. Also, I would not alter any of the file names, including the 'stepper' folder, unless you are willing to edit the file directories so EMC can find the associated files.

Installing Linux CNC
Documentation

I hope this is useful to others for getting EMC2 running.

carlospina in reply to chaddcurtisNov 23, 2009. 9:55 AM
Hi Chad, thank you for the emc2 configuration set but it seems to be missing the "stepper_mm.ini - metric setup for a stepper machine" file. Would you kindly re-post it, thank you.
falling_rain says: Nov 21, 2009. 4:52 AM
hello everyone!
i just want to ask if this project is compatible with EAGLE pcb lay out editor as the CAD software and  MACH3 as the CNC software. please help. thanks!
ydeardorff says: Nov 17, 2009. 9:49 AM
any possibility of getting this as a assemble it your self kit? including the motors?
I have a laser etcher/engraver at work, and I bet it would etch out a nice circuit board.
PM me if you would on this! Thanks
Aiden1015 says: Nov 16, 2009. 6:55 PM
I may have missed it, but how do i connect the parallel port? What's the pinoout of the parallel port in terms of the controller's inputs?
buddace says: Nov 3, 2009. 1:26 AM
Which Lamp Type (voltage and power) are You using ?
amitsharma2904 in reply to buddaceNov 12, 2009. 8:52 AM
 you can use a dc bulb of 9v 2-4watt.
thank you
lunuwaththa says: Nov 3, 2009. 6:22 PM
how many input voltage can use for this circuit
Tom McGuire (author) in reply to lunuwaththaNov 4, 2009. 4:57 PM
I have run it up to 30 volts with no problem.
amitsharma2904 in reply to Tom McGuireNov 12, 2009. 8:48 AM
what about amp???
amitsharma2904 in reply to Tom McGuireNov 12, 2009. 8:47 AM


It was awesome working on the circuite after many misses i hit the mark ,now my nema23 is moving but the smaller nema14 is just humming even though the wire sequence is appropriate.
  The bigger one is moving but at times even it stops & humms ,the motor is not providing enough torque to move the machine either.

Plz help   
lunuwaththa in reply to Tom McGuireNov 5, 2009. 1:28 AM
thank you for your kind request tom
If you can please tell how many torque required from stepper motors?
thank you again Mr Tom
amitsharma2904 in reply to lunuwaththaNov 12, 2009. 8:51 AM
Hi lunuwaththa,

torque is the force which a motor generates, the amount of torque you need depends upon the mechanical requirement of ur machine/job.
Thank You
  
bombmaker2 says: Oct 25, 2009. 2:53 PM
what kind of stepper motors is this designed for? unipolar
amitsharma2904 in reply to bombmaker2Nov 12, 2009. 8:42 AM
 unipolar only.
pfred2 in reply to bombmaker2Nov 9, 2009. 6:19 PM
6 leads used would be unipolar. Bipolar can be a lot harder circuit to make. I've made a motor driver similar to this one and it can run OK. PWM choppers do run a lot better though. Circuit like this one is in the back of the picture, PWM in the foreground.

What I cannot make out yet is what phase excitation this is. Probably single stepping. I can get better performance with half stepping (1-2 phase excitation) than I can with full.
Stepper_Drivers.jpg
amitsharma2904 in reply to pfred2Nov 12, 2009. 8:45 AM
 Hi fred ,

will you plz share the information like schematic/copper/bom etc.

Thank You 
pfred2 in reply to amitsharma2904Nov 12, 2009. 8:02 PM
The circuit in the foreground is my final version. It is an SLA7026M being driven by a half step sequencer I made from a schematic I found on the Internet.

http://pico-systems.com/images/stepdirh.pdf

I did add two large electrolytic capacitors to squelch noise that came from the SLAs PWM. But other than that, that is about it. I'm going to point to point  construct the drives for my machine.

I hope that information helps you out.
amitsharma2904 says: Nov 12, 2009. 8:42 AM


It was awesome working on the circuite after many misses i hit the mark ,now my nema23 is moving but the smaller nema14 is just humming even though the wire sequence is appropriate.
  The bigger one is moving but at times even it stops & humms ,the motor is not providing enough torque to move the machine either.

Plz help   
lidak4 says: May 6, 2009. 11:00 AM
There is 25 pins on LPT , how can I know what pins numbers for step , direction and enable of the every axis.
paintballerf12p in reply to lidak4Sep 27, 2009. 6:36 AM
I have the same question, have you found an answer? Does anyone know what the pin connections are? Thanks
amitsharma2904 in reply to paintballerf12pOct 30, 2009. 9:27 PM
 Hi Jason,


Friend the parallel port male connector which you will solder on ur pcb do consist of 25 pins, facing the connector on your side the left most is 1 & the right most is 13 , just below  that 13th pin is 14 i.e in the lower line & left most is 25.

which means top 13  are left to right & bottom/lower 12 are right to left, pin 18 to 25 are ground.

if any further information you need feel free to mail on amitsharma2904@gmail.com
 
Enjoy 
pfred2 in reply to amitsharma2904Nov 9, 2009. 6:05 PM
If you look really closely at connectors don't most have tiny numbers molded into them? Most (all?) I've seen do.
muh says: Oct 29, 2009. 9:18 AM
hi, thanks for this project , I need to know which free software used with it and how can I match them , please I 'll be most great full if you kindly replay on my e-mail directly   
                  muh_sabri1967@yahoo.com
thanks alot
lunuwaththa says: Oct 28, 2009. 9:20 AM
please give a tutorial about how connect this circuit with computer & how to setup k cam software
my E-mail lunuwaththa@ymail.com
the mask says: Oct 27, 2009. 7:32 AM
please help me
hi all
i build same circuit and same software
but i have problem when i try move the stepper motor i try to measure the voltage in pin direction but it very small change its maybe 50 m volt and i think it must 5 volt any suggest
purecnc says: Oct 20, 2009. 7:27 AM

What program do you use to open the GBR,GC,and DRL files

lunuwaththa says: Oct 19, 2009. 11:19 PM
i made this stepper controller & supplied 6v 1A then connect with computer
are there any setting with kcam software ? I can't control stepper motor
please please give some tutorial for it
stewie0056 says: Oct 19, 2009. 4:28 PM
i am making the circuit for the first time and i am building it on a bread board. in this instructable you only have one picture of your bread board. if possable can you post some more pictures of the breadboard setup or if anyone else can post some pictures of their bread board that would be a big help
samr37l says: Oct 18, 2009. 2:13 PM
Hello. I was woundering.. the parts list is for only one stepper motor control, correct? 
king5star says: Oct 16, 2009. 5:03 AM
Hi  Tom  I'm Karim of Egypt on this last effort and mental characteristics and I have decided to use this circuit in the work is my graduation project, but a problem

I use the Proteus in the design of a pcb , but when I transfer circuit file to (dxf ) and open the program the machine kcam unloaded path Copper I hope you to let me know the program that you use in the design of printed circuit, which you empty copper around the track and you very much

And to excuse twice in the use of English language
king5star in reply to king5starOct 16, 2009. 5:17 AM

c.bmpuntitled.JPG
Tom McGuire (author) in reply to king5starOct 16, 2009. 10:28 AM
Try exporting from your Proteus as a gerber file (.gbr).
Then in KCAM import file /gerber file.
If you don't  see your files select All file types.
Tom
luifer_9d9 says: Oct 16, 2009. 7:42 AM
 Hi Tom, i really like to built your controller, i found a few stepper motor laying arround my house but im not sure if this controller will work with them: i have found two EPSON EM-234, 4 wires, so i think they are bipolar and one MITSUMI M42SP-7, 5 wires so probably Unipolar right? Well i would like to know if i can used them with your controller. I really apreciate you help. Thanks. (by the way, excuse me for my English too)
amitsharma2904 says: Jun 6, 2009. 5:43 AM
hi tom, i have constructed the circuite & am using a six wire stepper,as per the supplier the first coil is of brown-white-orange,second one is red-black-yellow ,according the circuite we have connected the brown with pin-1,red with pin-6,orange with pin-7 & yellow with pin-4. Still the motor is humming & just jumps forward & backward 1step.
paintballerf12p in reply to amitsharma2904Oct 7, 2009. 9:09 AM
From what I have read it seems like you need to play around with the motor connections untill you get al forward or reverse movements.  He says in the video your lucky if it goes forward every click the first time... hope that helps.
coolblue says: Oct 7, 2009. 7:22 AM
i have a unipolar motor.can someone send me a circuit for the unipolar motor with six wires? thanks
andymills says: Oct 2, 2009. 2:47 PM
Hi, I have got some step motors from an old xerox phaser 6250 printer, they say 2.2A 3.75 degree step on them but they only have three wires connected. Inside the casing there are 6 terminals and six coils. I have measured the resistance between each terminal and can't work out what type of motor it is. Heres what I got. 0.5 ohm between 1+3,3+5,1+5 1.1 ohm between 1+2,2+3,3+4,4+5,5+6, 1.8 ohm between 4+2, 6+2,6+4 I have spent hours trying to find datasheets with no luck. If anyone can help or point me in the right direction I will eventually be able to build this desktop CNC machine. Thanks Andy
Rick_kap says: May 10, 2009. 4:08 AM
Hi, I'm just starting out wih building this circuitry, but i can't find the diagram for the connections to the parallel port. Am i missing something?? Regards Rick
amitsharma2904 in reply to Rick_kapJun 12, 2009. 8:36 PM
Hi Rik, The x-step i.e 15th pin of ic4516 cable will go to pin-2 of parallel port,pin10of ic4516 to pin-3 of parallel port & pin12 of ic4028 to pin-4 of parallel port. Enjoy
paintballerf12p in reply to amitsharma2904Sep 21, 2009. 10:28 AM
Hey, Do you know what the pins are for the y-step and z-step? Thanks, Jason
amitsharma2904 in reply to paintballerf12pSep 27, 2009. 11:42 PM
Hey Paintballer, There are two arrays/sets of 4516 & 4028 along with 4 mosfets for each axis are there, so on the copper side middle one is y & lest most is z. If face some other problem plz let me know. By
paintballerf12p in reply to amitsharma2904Sep 30, 2009. 11:49 AM
HEy, Thanks so much for the reply. I have been able to figure that part out!. I got everything together today to try it out. When i first plugged it in a got a slight humming noise from the x-axis motor, and then nothing again no matter what configuration or axis controller i used. I'm not sure where to go from here. when not plugged into anything besides the computer i'm getting a voltage of 3.35v off each pin of the parallel cable. This number does not change when I click x, y or z steps in kcam.... any ideas? Thanks, Jason
amitsharma2904 in reply to paintballerf12pSep 30, 2009. 12:21 PM
Hi Paintballer, Friend seems like u r using a small motor or the wiring is not appropriate first tell me ur stepper description & wire colors ,after going through it i will try to help u. Thanks//Amit
paintballerf12p in reply to amitsharma2904Oct 1, 2009. 11:12 AM
Hey, Yes, I am using a small motor. The rating is 4v and 1.2 A/phase. The wires are Black yellow green and red white Blue. Here is a link to the data sheet http://tamagawa-seiki.com/pdfe/1648n1ej.pdf. If you do a search the motor is type number TS3617N2E4. All the specs along with wiring is shown there as well. Thanks so much for your help, Jason
philwaud in reply to Rick_kapMay 30, 2009. 4:16 AM
The connectors on the left hand side of the circuit are the parallel port. (ground, direction, step, enable) Personally, I hooked it up to an Arduino and used that to drive it.
paintballerf12p in reply to philwaudSep 22, 2009. 6:14 PM
Yes, I understand that the connectors on the left side go to the parallel port. What I'm wondering is which connectors go to which pins on the parallel port. amitsharma2904 shared which pins are used for the x-axis. I'm looking for the connections for the y-axis and z-axis. Any help would be greatly appreciated. Jason
amitsharma2904 in reply to paintballerf12pSep 30, 2009. 12:31 PM
2,3,4 goes to x,5,6,7 to y
amitsharma2904 in reply to paintballerf12pSep 30, 2009. 12:27 PM
r u online???
cassiorichiniti says: Jun 5, 2009. 10:51 PM
ehh . . . i googled KCAD and got a screensaver for liux and on wikipedia i got a country radio station can any one point me in the rigjt direction?
paintballerf12p in reply to cassiorichinitiSep 16, 2009. 6:09 AM
Its Kcam, should be the first google result. You can dl a trial for free or pay $100 for the license.
JohnnyVegas says: Sep 15, 2009. 7:47 AM



JohnnyVegas in reply to JohnnyVegasSep 15, 2009. 11:01 AM
http://www.rockstarcnc.com/
If you go to the link above you can see pics of my version. It looks like a flag :). Flip through towards the middle.
eaon says: Sep 14, 2009. 6:08 PM
has anyone has this problem with kcam the motors all work fine forward and reverse but, when i jogg on the diagonal for two of the angles the motors go the same direction. ive tryed playing with the true and false on the ports but that just moves the problem to a different angle thanks
Jahguleth says: Sep 14, 2009. 12:11 PM
If i want to run the motors manually (without a PC) do I just have to add switches to the Step and Direction pins on the 4516 and connect them to 5V? Or does the PC signal have a specific voltage/frequency required to run the 4516?
JohnnyVegas says: Aug 4, 2009. 1:03 AM
(removed by author or community request)
wlewis in reply to JohnnyVegasAug 8, 2009. 9:35 PM
I forgot to mention in my previous post - To use MACH3 (WHICH IS EXCELLENT!) Connect each and all XYZ enables and accompanying resistors in parallel to pin 15. Lose the Caps. Separately: Is anybody out there using AutoCad Inventor 2009 - Im extremely dissapointed with it - I couldnt find a most basic command which equivalent in 3ds Max is called GROUP allowing you to Group several objects and rotate them on a given axis. Then when I realized I could maybe design in ASSEMBLY mode I couldnt get extrude to work AT ALL. And this retails for $999 bucks? Anyway, until I hear otherwise Im heading over to Solidworks. I'll try out inventor 2010 later on - I had to order trial by mail - one of the first things im gonna look for is GROUP. Hopefully Autodesk High Command Black Ops Division will have had the presence of mind (or what have you) to have included an angle option on the hole function. I mean you have to ask yourself why if 3ds MAX and Inventor are made by the same company do they not take the best functions from 3ds Max and lob them into Inventor??? Or, for that matter, take the best stuff out of inventor put it in 3ds max and call that Inventor. Doesnt make sense AT ALL. The fact of the matter is that where 3dx Max fails miserably (like in Materials and Dimensioning) - Inventor excels at and VICE VERSA. Of course you dont find all this out until youve 4 DAYS DEEP INTO tutorials. Oh sure.. no doubt you CAN get that bearing onto its support but the solution is so circuotous with reference to the other functions it brings you to dead halt. WILL SOMEONE PLEASE RECOMMEND A GOOD CAD PROGRAM. Still.. despite CAD defficiencies Im so high from having gotten this driver running that Im on to the MILL "YIPPEE KIYAAAA MOFO'S". THANKS AGAIN TOM.
92zx6 in reply to wlewisSep 11, 2009. 7:48 PM
I would recommend Solidworks, Having used Autocad for the last 16 years, and solidworks for the last 5, what you can do and the quality of the information in solidworks is awesome, I use it at home on a regular basis also, there is not much that I can't design using it. Just my opinion...also with solidworks you also get their dwg editor thats almost exactly like autocad, it can do it all John Perry
Taylornator in reply to wlewisAug 12, 2009. 12:03 PM
When you say connect the XYZ enables and resistors in parallel to Pin 15 do you mean Pin 15 on the printer port or pin 15 on one of the chips? Also after doing that what are the port settings in Mach3? Thanks
JohnnyVegas in reply to JohnnyVegasAug 4, 2009. 8:02 AM
So after some more testing and thought I have come to conclusion this circuit will not remotely begin to produce enough juice to power my motors. I like do like the concept that TOM came up with. Really clever cheat. I am moving on to a more beefy solution involving PIC's and LMD's more situated for my motors. It was fun.
wlewis in reply to JohnnyVegasAug 8, 2009. 8:21 PM
Dude... TAKE HEART! YOU KNOW IT WORKS. I had (UP UNTIL A FEW MOMENTS AGO) the exact same problems and system as you 12v 12A PC power supply / 3 NEMA 23 motors rated at 3A max no voltage rating though - had to find that trial & error. Then the bulbs would either flash and shut off or would light and motor wouldnt run. Translate to 1 whole day chasing down bulbs. Exhasperting!!!! If the motors got too little or too many amps it wouldnt work so I hooked up 2 x 4watts bulbs in parallel per channel and it worked - premise: bring the resistance down. Then I was confounded cause I could get 2 channels to work with 1 bulb hooked up in serial to x and y but no still no Z channel. So back to the drawing board. Upon inspection.. I realized "to my disbelief" I put the Z CHANNEL IC'S IN BACKWARDS! How the hell do you do that??? Ok.. took'em out put em back in figured I had to do that anyway.. I had uhmmm ehrrr accidentally drilled a hole into one of the IC'S - the 4028 to be exact. Anyway hooking up 4 watt bulbs in parallel brought the resistance down and it did the trick. Using a PC (computer) power supply rated at 12v 12amps was necessary. Using a 12v .5amp didnt get enough juice to the motors except for 1 channel. Furthermore, I was plagued by pcb problems cause I used hewlett-packard inkjet paper on a laser printer - wrong - this paper got spunk all over my neighbors iron - uncool. Also, when I went back to the copy center the laser machine they used to print the artwork on was "out of commission" Hmmm interesting... I managed to levitate and spin and got the hell out of there. By the way, I had to sand the spunk off my neighbors iron with at least an 60grit sandpaper but it was worth the expression on my neighbors face to see their iron looking so "oddly different": Chalk that up to Collateral Damage. Anyway.. despite this I managed to get most of the tracks on the board but had to use a permanent magic marker to make up for missing tracks. Note: Next time do the National Geographic trick. Ok then the problem was getting the motor cables in the right sequence. After hundreds of combinations owing TO LACK OF DATA!!!! I hooked up the cables so that IC4028's pin 1 and 4 (as if making a big loop) are connected to the outter ends of the motors A and A - Then B and B to pins 2 and 3. Referencing Bazooka's bipolar setup caused me some delays in my approach thinking it was 1234.. I had to go back to the schematic.. its definitely a 1-3 / 2-4 using unipolar motors or 1-4 / 2-3 setup which is how its working now. I'll try 1-3 / 2-4 again combo nonetheless. Keyword: Combo. Next... I couldnt get this driver working using KCAM v4. So I switched over to MACH3 and VOILA!!!! HAPPY JUMPING JESUS it ran like a chimp on steroids. HELL YES SHERLOCK!!! IT WORKS. Anyway.. seeing as how your pcb checks out and you evidently have enough power... your problem is either your bulbs or your cable combination. STICK WITH IT.
eaon says: Aug 14, 2009. 9:34 PM
i have a query. i made the circuit and it works, but it only works with a PC power supply and using the 12v were its needed and replacing the 6vzenner part with the 5v from the power supply, but the circulate need a little more power oomph for steppers so.... would it be best to get a. 24v - 5v dual output power supply that's around 120w - 4A or a new PC power supply with more Amps say the ones that have 2x 12v outputs that are 18Amps each thanks
JohnnyVegas in reply to eaonAug 15, 2009. 7:00 PM
This is the issue I had also. My mortors won't even begin to move till they recieve 24v and the ideal is 36v . When I pumped this into the first cuit it fried. I forgot to increase the wattage on the powerline resistor. So I built a second one to better spec but it's just not the best circuit for big steppers. My next test was going to to do just that, direct feed the power to see what happens.
eaon in reply to JohnnyVegasSep 11, 2009. 2:21 AM
the way i fixed mine was i got a new pc power supply that's around 24amps and as pc power supplys only let out the amps being consumed i used 40watt bulbs which draws more juice into the motors :).
eaon says: Sep 11, 2009. 2:16 AM
has anyone has this problem with kcam the motors all work fine forward and reverse but, when i jogg on the diagonal for two of the angles the motors go the same direction. ive tryed playing with the true and false on the ports but that just moves the problem to a different angle thanks
hanscordoba says: Aug 21, 2009. 8:24 AM
The concept is brilliant. However, my question is: how is the board connected to the pins of the 25 pins parallel plug? I would appreciate if you could answer as I'm a novice. I'm using the IRFZ44 fets because of the very low Rds(on) of 16 mOhm Thanks Hans
omnibot in reply to hanscordobaSep 9, 2009. 1:43 PM
Hi, Step 1 says "You just jam the PC board between the two rows of pins and solder it." :)
elnaz laklari says: Sep 7, 2009. 10:32 AM
hello Can someone tell me the values of those capacitor which are near diodes c6 and c5 and so on. Can't find them anywhere.please send to leila_laklar@yahoo.com thanke alot.
BigRedRocket says: Aug 13, 2009. 7:41 PM
I have an odd problem. I got the circuit built and the interface from KCAM works perfectly. I've checked all the pin outs throughout the circuit and everything seems to work great. The problem is that the servo motor takes full steps when going in one direction and then when reversed it first takes a half step, then full steps. Strange. I am guessing it is a problem with the servo motor. Any Ideas? The servo is 12V and it is only pulling .11 Amps. The lightbulb doesn't light.
joro says: Aug 7, 2009. 7:57 AM
Hi,this shematic can we go without controler or he need a maxsteper controler?Sorry for my bad english.
terabyte000 says: Jul 21, 2009. 2:10 AM
i first would like to thank you for posting a wonderful guide to cnc your Instructable is what first inspired me to make my own cnc, and i would like to say that guys like you are what makes Instructables such a good website. and lastly i had a question for you guys, i am new to building circuit boards so please forgive me if this is a stupid question, i am going to be using three 3.5v 1.5 amp six wire stepper motors. and i am not sure if i need to modify the circuit at all in order to support this much amperage as i believe this will draw a total of 4.5 amps. the other question i had is the light bulb socket is no longer stocked by digikey do i need it or can i just leave it out of the circuit?. P.S i forgot to mention i am including a picture of the stepper motor i am not sure if it will be of any use but seemed appropriate. Thank you in advance for taking the time to read this Best regards Mike.
p_00136.jpg
JohnnyVegas in reply to terabyte000Aug 4, 2009. 7:59 AM
I an using 3v - 3amp motors with no luck. I believe you would need to modify this circuit and also place proper "ballast" resistors in place of the light bulb. This is for little motors. Nothing serious. Anyone correct me if I'm wrong.
n9xwp in reply to terabyte000Jul 22, 2009. 6:01 PM
mike, Good looking motors. I am using motors of almost exact specs. Should work just fine. In answer to your question: If you are using a 12 volt dc supply as per schematic , then you do need the light bulbs to limit the current the motors can draw. I am using a 5volt supply for test purposes. When i go up to 12-13 volt I will add bulbs. The bulbs simply act as a big honking high wattage resistor. By using higher voltage but holding current within safe limits you increase rpm and torque without damage. g
terabyte000 in reply to n9xwpJul 22, 2009. 8:34 PM
thanks for the help i think i understand how it works now :) . out of curiosity i have yet to find a data sheet for these motors fortunately the power requirements where printed on the bottom. do you have any idea what the torque/rpm output of these things are going to be?. Thanks again. Best regards Mike.
hector1661 says: Jul 29, 2009. 12:08 PM
Hi, im new at the forum and really liked this project. However i have 2 questions. 1) What are the technical characteristics of the step motors? 2) do u have a blueprint with the dimiensions for the acutal tube frame? If it helps im building this to helkp me cut balsa wood for rc airplanes thks Ruben
Asmodeo says: Jul 28, 2009. 8:06 AM
Ecxuse me for the question, but....which transistors (part number) and clamping diodes (D1 to D4) are You using ? I have etched the board, an I'll buy the materials this saturday. It'll be a test for some Stepper motors I have lying around. If they succeed, well....perhaps another CNC router will be born! Thanks a lot
16zzundel5 says: Jul 26, 2009. 6:51 AM
Futurlec has Incredibly sheap components you just have to be patient!
gtteclsf says: Apr 16, 2009. 10:50 PM
Hi, Please can someone tell me for the pcb 2 and 3, what pins to use on the printer port. I understand the first one as it is on the cct diagram but cannot find the table for the orther (y, z axis pinouts) Thank you
16zzundel5 in reply to gtteclsfJul 26, 2009. 6:07 AM
this is the whole pcb it controls all three steppers.
paleltuma says: Jul 25, 2009. 3:33 AM
Hi, I got now three bipolar stepper motors. I can't find good controller with D-sub... HELP? Motors are 12V, 1.8Ω and 7,5° steps
paleltuma in reply to paleltumaJul 25, 2009. 5:10 AM
paleltuma says: Jul 19, 2009. 6:24 AM
hi i got parallel cort where another end is 36 pin and other 25.. Can i use this http://www.cknow.com/cms/images/parallelcableends.gif
Or should I try to find 25-25? Anyways... if i can use 36-25 pin cort how that should be connected on circuit?
pickeringkevin says: Jul 14, 2009. 5:25 PM
the capacitors c3-c6 look like non-polarized caps and the value would probably be in the pF range. they are only there to level out the dc voltage. the value is not all that important.
pjs2004 says: Jun 30, 2009. 3:34 PM
Johnny, Nice job on your driver build! I also just built one, and fab'ed everything from scratch, and it looks almost identical to yours! I did the double sided etching as well. I love the way that turns out when you get everything lined up right :) I also have 1 strange problem that I can't seem to fix, so maybe we can help each other out. I got my parts from digikey based on the parts list. I'm using 1/4 watt resistors because my voltage is 12v. I have two power supplies I have been trying -- 12v 350mA and 12v 1A. My motors are from All Electronics. They are four phase, unipolar stepper motors with 6 leads -- 20 Ohms, 7V and 350mA. They're small but I thought I would see if it worked before buying larger more costly motors. Using Kcam, my x and y motors work perfectly, but for my z motor, when I click the direction arrow, it steps forward once then on the next click it steps back once and repeats this way as I keep clicking. Both my x and y motors are wired up the same way and work great, so I wired the z motor the same way and that's what I get. I even tried all combinations of wire configs on the z motor with no luck. With other combinations, it moves differently (ie, only in one direction no matter what direction I click) but it's still not correct like the x and y. When I did the resistor/LED check like Tom shows in the video, I did see something odd. When checking pin 11 on the 4516 chip, I get the correct results for the x and y. For a series of four direction clicks, the LED status is OFF-OFF-ON-ON and repeats. This test and the other tests work for the x and y. However, for the z, the pin 11 test on the 4515 has a slight problem. It goes OFF-OFF-ON-ON, but for the OFFs, the LED is very dimly lit, it's not completely off like it is for the x and y. Also the pin 1 check on the 4028 chip is supposed to turn the LED on for every four clicks. It works for the x and y, but for z, the LED never comes on for any number of clicks. Do these tests work for you on the x, y, and z chips?
pjs2004 in reply to pjs2004Jul 14, 2009. 4:14 PM
Well, I resolved my problem. I ordered extra parts from digikey (I should have done that with the first order) and I replaced the FETs and the ICs on the the z axis part of the circuit. I also used IC sockets. After I did that, the z axis worked just like the x an y. I'm still not sure if it was the FETs or the ICs, but it was one of the two. Man, that was a pain. :-/ I knew not ordering extra parts was gonna bite me. It's one of the few times I've done that.
pjs2004 in reply to pjs2004Jun 30, 2009. 3:50 PM
Picture of my build...
IMG_0252.JPG
the mask in reply to pjs2004Oct 27, 2009. 10:00 PM
hi can you help me i do the circuit but when i try test the parallel port by voltmeter i found .5 volt of change are this true

my email
khaled.malliaty@integratedwood.com
JohnnyVegas in reply to pjs2004Jun 30, 2009. 4:54 PM
That's great! Ours turned out almost the exact same!
JohnnyVegas in reply to JohnnyVegasJul 21, 2009. 4:44 PM
I know I am ordering more myself. Trying again this week. BTW what kind of steppers are you using? Thanks
pfred2 in reply to JohnnyVegasNov 9, 2009. 6:33 PM
If you're really getting into it you should try something like these:
http://www.sanken-ele.co.jp/en/prod/semicon/pdf/data_sla7070me.pdf

What that can do will blow your mind compared to the drivers in this Instructable. Might even be cheaper than buying all  the parts this driver needs too. One module goes for around $14 USD.
Lede says: Jun 30, 2009. 9:44 AM
Can someone tell me the values of those capacitor which are near diodes c6 and c5 and so on. Can't find them anywhere. Are those light bulbs essentials to get this work? is there home switches in this circuit, are those unused holes near d-sub connector for them, if not what for they are. May include bad English, sry :)
tombuss2000 in reply to LedeJul 9, 2009. 7:00 PM
Tom Mcwire used .1uf capacitors
JohnnyVegas in reply to LedeJun 30, 2009. 10:07 AM
Any will work they are not needed. They are just there as the author says for proper procedure. You can leave them out. If you look far back in the comments your answers are there.
fallingrain says: Jul 4, 2009. 9:10 PM
hi! i just want to ask if i can make PCB lay outs with CATIA V5? also any pcb designing software that works great with KCAM? thanks everyone!
rahilm says: Jul 2, 2009. 11:00 PM
Wow...so I put together the circuit today, and decided to test it before putting in the motor and lamp. I ended up blowing two of the rectifiers and two of the transistors got really hot. Any idea why this happened?
pjs2004 says: Jul 2, 2009. 2:51 PM
Can anyone verify that they got the z axis working on a complete build of this circuit? My x and y works but z has a problem. I just need to compare mine to someone who has it working.
kb3guy says: Jul 1, 2009. 11:35 AM
Nice job on the project, I think this will be very useful. Could you perhaps add a mirror-image version of either the top or the bottom layout? This is necessary for the way most people seem to do home made printed PCB's.
JohnnyVegas says: Jun 19, 2009. 9:58 PM
Tom, Excellent tute. What would be the easiest way to add an limit switch(s).
rahilm in reply to JohnnyVegasJun 30, 2009. 7:17 PM
Most limit switches can be wired such that they are always on (leads connected) or always off (leads not connected), and then they reverse when the limit is hit. You can wire it to be always on, and then directly to the power on that axis.
JohnnyVegas in reply to rahilmJul 1, 2009. 4:08 AM
Ahh yes. Very nice. Simple. Now how would I tell the motor to reset to a default point if the limit is clicked.
rahilm says: Jun 24, 2009. 11:45 AM
I purchased 3 of these 12v stepper motors: http://www.mpja.com/prodinfo.asp?number=17757+MS

If I have the 12v power in, do I need to use the light bulb? If so, what kind of bulb do I need to use? And can the bulb be replaced with a power resistor?

Thanks
rahilm in reply to rahilmJun 30, 2009. 7:17 PM
Can anyone please help me with this?
pjs2004 in reply to rahilmJun 30, 2009. 8:22 PM
I have 12v on mine and I'm using the bulbs. I got the wedge base style bulbs at an automotive store, like autozone. Mine are 14v 4.9W and seem to work fine. I also got some 15W ones in case I needed them. Not sure about the powered resistor. I thought that a variable resistor would be easier to use when I first saw this design, but I wasn't really sure what kind to use, or if it would work since I'm not an electronics expert. Also, I wanted to get it working first before I started modifying it. So far it's 75% working correctly.
JohnnyVegas says: Jun 27, 2009. 8:38 PM
Built this board and have been testing. I have a 2 strange issues if someone could kindly suggest something. I have 8 wire 3v, 3a steppers. They seem to be wired correctly after trial and error. I modified a PC power supply to power the board. When I use 5v and 12v power a 5.98w bulb goes very bright and burns out. I put in a 14w and it seems to be OK but no reaction from the stepper motor. If I bypass the light bulb and run the system on 3.3v the stepper steps nicely but only take 13 steps to complete and full rotation. Humm. No idea why. Setting in KCAM??? Am I missing something obvious? Is this circuit correct for my stepper motors? Looking for any insight or suggestions.
pjs2004 in reply to JohnnyVegasJun 30, 2009. 3:35 PM
Are your motors unipolar? Are you sure they are wired up correctly? Does it step forward and backward? I did trial and error without success, then looked at this website to get the correct configuration:

http://www.stepperworld.com/Tutorials/pgUnipolarTutorial.htm

It helped me find the center tap wires which get connected to the one side of the lamps. Also, did you set up Kcam the way Tom shows in the video? After I did this, I then had to go to the ports setup and manually select the step and direction pins for each motor.
JohnnyVegas in reply to pjs2004Jun 30, 2009. 4:51 PM
Yes. My motors came with a wire layout. 8 wire and the 4 commons where marked. I set up Kcam just as the tute shows by tom and went through the settings for the port pin-outs. I did make my own cable from an old one so I'm waiting on a real one to be delivered this week. There are no store that carry and good old fashioned Parallel cable anymore. BTW - I grabbed a $30 BERKLIN USB to parallel and it did not work. I did notice the supplier of my steppers suggests a min of 24VCD and 10 Amp. As I am new to this it may just come down to my power supply. As for you issue did you try reversing the signal in KCAM for your Z Axis? Far back in the comments I think someone had this problem and it can down to a KCAM setting. If I find the comment (as I'm reading through them again) I will post again.
pjs2004 in reply to JohnnyVegasJun 30, 2009. 6:14 PM
Yeah those cables are hard to come by. Too bad the usb to parallel didn't work. That would have made things a lot easier. I had to dig up an old computer for the parallel connection.

I think I read that also about reversing the signal. So I tried changing the "Inverted" setting under the port settings in Kcam for the z axis. The default setting is Inverted=False. So, first I tried Inverted=True for the z step, then Inverted=True for the z direction, then both true. Nothing changed :(

BTW, another setting that I figured out for a different z axis problem I had was to enable z axis jog step, under table settings. Otherwise, it will try to spin the motor instead of step it. So, make sure you do that when you start testing with the new cable. Unfortunately that didn't solve my current problem.

Another weird think I forgot about...In trying to fix this problem, I tried adding the capacitors that people said didn't matter. The ones I used are 1.0uF tantalum capacitors. It didn't fix the problem, but it kind of created another one -- well at least one of those capacitors did (the one at the end, near the big cap). When I added this one, and powered the board up without connecting to the computer, it would make the x motor spin and the y motor would jitter and sometimes move randomly. The z motor did nothing. When I connected the board to my computer, they stopped, and the x and z motors were controlled perfectly with Kcam. If I remove that capacitor (and leave the others), I can power the board w/o the computer and the motors do not move and are fine. I think people were right about all of those capacitors. I only added them to see if it would fix my problem. The board worked the same way w/o them.

One other thing...I think I read somewhere that the 6.2v zener diode should be a 5.1v zener diode, so I tried changing that, but I still have the same problem.

About your power supply, it sounds like that could definitely be the problem. Try that voltage, but I think I read that you have to put the higher wattage bulbs in and also use the 1/2 watt resistors.
JohnnyVegas says: Jun 30, 2009. 5:06 AM
OK, seems this is not the most active Instructable.. :) OR no one wants to answer.
either way my next project is to design a custom driver from scratch. Sounds fun huh??

Here are a few photos of the board I made from this instructable. I have a few small issues to iron out as stated in my last post.

Everything fab'ed from scratch.

I also, fixed the transfer layout. I reversed the top as the one posted here was backwards for a toner transfer. I placed them with enough distance apart so that you can fold it over your copper plate and get a very nice result.
FY I - USE the PDF file attached:

NOTE: It was mentioned before but when ordering off the parts list save yourself time by getting a FEMALE D-SUB port and NOT a MALE.

Digi-key part:
CONN DB25 FEMALE DIP SLD NICKEL - # 4225FE-ND
6-29-09 174.JPG6-29-09 172.JPGDO_NOT_TONER_TRANSFER_THIS.jpg
Final Double.pdf(612x792) 544 KB
dnflowers says: Jun 28, 2009. 11:40 AM
Thanks a lot, you were very helpful.
akun2500 says: Jun 26, 2009. 1:31 PM
i resolve my first problem, in the port setup, i check "always on" and it work....but, not for long time, about 5-6 minutes, after that the 4028 give me 101010, not 100010001 (at pin 1,4,6 and 7).....what is the problem ? ps. sory for my bad english...
gimmelotsarobots says: Jun 20, 2009. 4:08 PM
I built this circuit on a proto PCB and have had nothing but problems after I finished it. The Stepper motors never work consistently. I triple checked the circuit and it is all wired correctly. The motors only work sometimes though. I did all the checks and everything looks like it is working, but most of the time the steppers just jitter. I know for a fact the steppers are wired correctly because they sometimes work. Do you have any suggestions as to why the steppers barely ever work?
routingrog says: Jun 14, 2009. 9:12 AM
I have built three of these on Veroboard and they work a treat HOWEVER, I can't get anything out of them when connected to the parallel port. I tested the boards using a pulser which features in "Easy Steppin'", and there are no problems. I checked the signal from the parallel port and it is a square wave, which will not trigger the 4516. I've not looked at the parallel port before, so does anyone know what the output waveform should look like?
dudeski360 in reply to routingrogJun 14, 2009. 6:34 PM
i believe parallel port is binary witch usually is a square wave
routingrog in reply to dudeski360Jun 15, 2009. 4:31 AM
Yes, but not all square waves are the same. Forgive me, I should have said it was a symetrical square wave which has a negative component and a positive component. What stepper motor drivers need is one which is all positive or all negative. So in the diagram below: the bottom line would be 0 volts and the top line would be +5 volts or the invert of that. What's coming out of my parallel port is top line positive, bottom line negative, so zero is through the middle. That adds up to zero movement. _ _ _ _| |_| |_| |_ The other driver sources I have produce a wave form more like: | | | | | ___|___|___|___|___|___ or the inverse of this. The bottom line is 0 volts and the top of the spikes (which are very narrow possitive going square waves) are 5 volts. When they get to the stepper motor, they will be of higher voltage. That's because the 5 volt peak signal is used to switch a higher DC voltage supply using the MOSFETs. The wider gap between the spikes, the slower the stepper motor rotates, the narrow the gap, the faster it rotates. Sorry for the long explanation, but I noticed there are folks saying the don't understand electronics, so hopefully this will help.
dudeski360 in reply to routingrogJun 15, 2009. 7:50 AM
ah yes this dose help im kida newish to electronics... the only real reading that has talked about the a square wave was breaf and mixed in with other wave forms info i never thought a bout what you described but it makes sense now that you pointed it out
routingrog says: Jun 15, 2009. 4:37 AM
It seems this website's output text capabilities are different to that of the comment box's. The tops of the square wave in the top diagram have been concatenated and the interveneing blanks removed. The top of the spikes in the bottom diagram have had the same treatment. I hope you can figure it out.
Pyroflea says: Apr 18, 2009. 1:04 AM
I'm interested in building one of these. The one question I have is, would I be able to just replace the bulbs with Variable Resistors? (I don't have any experience with building Circuits)
routingrog in reply to PyrofleaJun 14, 2009. 6:13 AM
Why do you think want variable resistors?
b_animal says: May 20, 2009. 1:17 AM
did you have to program the chips ? or are they preprogrammed
millouzzz in reply to b_animalJun 12, 2009. 3:44 AM
NO PROGRAM REQUIRED FOR THIS CHIPS ::: JUST SOLDER AND RUN HAVE FUN !
philwaud in reply to b_animalMay 30, 2009. 4:12 AM
They are logic chips, the first one is a simple counter, and Tom has used it to generate logic 00, 01, 10 and 11 on two of the outputs. This is then fed to the second chip which converts it to 1000, 0100, 0010, 0001 which feeds the MOSFET transistors so turning each phase of the motor on in sequence.

Have a search on Google for the data sheets and try to understand how the circuit works. I wouldnt advise anybody to try to build a circuit like this unless you are prepared to experiement.

Here is my attempt:-

http://www.copperrap.blogspot.com
amitsharma2904 in reply to philwaudJun 8, 2009. 3:10 AM
hi phil, i have constructed the circuite & am using a six wire stepper,as per the supplier the first coil is of brown-white-orange,second one is red-black-yellow ,according the circuite we have connected the brown with pin-1,red with pin-6,orange with pin-7 & yellow with pin-4. Still the motor is humming & just jumps forward & backward 1step. The Motor I'm using is a 3.5v-0.7amp rating, seems the circuit will quench motors thirst??
philwaud in reply to amitsharma2904Jun 8, 2009. 4:29 AM
You have to experiment a bit. A unipolar (usually six wire) stepper has two "sets" of coils, each with a wire at each and and a wire in the centre. Measure the resistance across the wires and you should be able to find the centre tap (its the one that shows half the resistance when connected to two of the wires. The two centre taps need connecting together. That leaves four more wires. With my set up, I could physically inspect the motor and see where the wires went so it was easy to work it out. If you arent that lucky its just a case of methodically checking. Ive actually given up on this circuit after a bit more experimenting. Because it only energises one coil at once, the torque isnt great and it isnt possible to modify it to make any improvements. I ended up using the four MOSFETs to drive each coil directly and set an Arduino to control which ones. Ive ordered a Stepper driver kit from the reprap site - it does half stepping and is a much better and more configurable device. It cost me just short of twenty quid inc P&P
amitsharma2904 in reply to philwaudJun 8, 2009. 6:57 AM
Dear we have done the same & found like one group is of brown-black-orange & other is red-white-yellow,white & black are common. The thing is like if we manually move it ,first either it wont move in the desired direction & second not continuously insted one step at a time or just once forward & then back. Even though i have a tried a number of combinations but noheadway yet.
philwaud in reply to amitsharma2904Jun 8, 2009. 10:37 AM
Toms video is quite good but he jumps over tthis point quickly so its worth watching again. There is a logical sequence of steps to go through, and part of the learning experience is to discover this sequence! Big hint - discover the centre taps (sounds like the black and white in your set up), then swap over the other taps for that sequence! Its very satisfying when it works but don't be disappointed when you realise the motor is not very powerful when used in this "wave drive" method. Much better to use full stepping where two coils are active at once and even better to use half stepping - the reprap board does this and is well worth googling!
amitsharma2904 says: Jun 6, 2009. 9:58 PM
The Motor I'm using is a 3.5v-0.7amp rating, seems the circuit will quench motors thirst.
cassiorichiniti says: Jun 5, 2009. 9:31 PM
Hi, ots of questions what is the min. config. of a computer for KCAD? can use KCAD with those USB to parallel adapters? can i use stepper motors from old dot matrix printers? what FET's do I use with those motors? do i have to to use end/stop switches? If yes how do i connect them? also what is the min. config. of a computer for the LINUX version? and last but not least how could i adapt a plastic extruder?
disturbedreaper says: Jun 2, 2009. 6:13 PM
i found out my old laptop has the port yes its been sitting on a table for almost 2 years now never used since but its perfect the harddrive is only 40gigs its perfect for using with my project CNC!!!! yea
ramedrah says: Jun 2, 2009. 5:02 AM
the value of the capacities near the diodes of each motor things witch is not indicated on the scématique
akun2500 says: May 31, 2009. 1:42 PM
Nice tutorial Tom ! , i am beginner in electronics and i build this and i understand what is all about. But, now, i have a little problem... the x axis 4028 give me 2 pulse on an 2 pulse off....the y axis give me 8 on and 8 off ( only pin 1 and 7 works) and the y axis 4028 in off all the time. I use the same 4028 and 4516 on the all 3 axis (i switch them). From the computer i receive the right signal (tested whit led). Where is the problem ? Thank you, and sorry for my bad english...
kasari001 says: May 9, 2009. 5:15 AM
What Type of motors can be used with this board? bipolar, unipolar, 4 wire, 6 wire, 8 wire....what? Thanks
philwaud in reply to kasari001May 30, 2009. 4:17 AM
If you look at the stepper motor on the diagram you will see its a six wire uniploar stepper.
kasari001 says: May 14, 2009. 2:07 PM
Can someone help me please?
will this controller work with these motors?

http://www.probotix.com/stepper_motors/ht23-260-4/

please, please, please.........Thank you
philwaud in reply to kasari001May 30, 2009. 4:14 AM
They are hefty motors! You may need to use a more powerful MOSFET transistor with appropriate cooling to handle the 2.5A per phase. Phil
avibank911 says: May 25, 2009. 1:28 PM
Hey Thanks alot . Could you tell me how much it would cost to make 3 of these(for a 3 axis machine) and has anyone got this working with Mach3? Thank You
philwaud in reply to avibank911May 30, 2009. 4:06 AM
Ive just built three of them, the cost of parts from digikey, excluding pcb boards was 16 UKP, but because I didnt order more than 50UKP I had to pay 12UKP postage. Ive posted my repstrap blog at www.copperrap.blogspot.com
technovative says: May 26, 2009. 6:33 PM
For those who have reveiwed and or built and used this circuit please take a minute to take this forum poll and rate this driver.

http://www.cnczone.com/forums/showthread.php?p=617911#post617911
millouzzz says: May 26, 2009. 11:09 AM
ok ! personaly i make this free for charges ... in my country i think it will cost less than 20 dollars (including 3X4516 3X4024 3XULN2003 1XPCB) i make this circuit and it work fine for the first time i run it in my pc i will make videos when i finish all work ps: excuse for my bad english
nicobot says: May 22, 2009. 6:23 PM
muy bueno lo que hiciste pero mucho no se entiende como va conectado el motor paso a paso, osea como va conectado al driver, pero todo lo demas esta buenisimo, te hago una pregunta? el driver no nosecita interfas, osea seria asi: pc=>(interfaz)=>driver=>motor paso a paso?<br/> ?<br/>
hamcircuit says: May 21, 2009. 11:48 AM
Hello all, My question is on the motors. I am looking at motors that 10.78 oz-in in torque. I just wanted to make sure that these would have enough to work or if I need to go to a bigger motor. Please let me know I am very much looking to finish this project. Thanks for the great project.
drac76 says: May 20, 2009. 10:41 AM
hi, first thanks for your instructable, i make the 1 stepper motor driver, but on kcam, nothing happened, i don't know if the motor is well connected, it's an 55si-25d stepper motor, i don't understand, if someone can help me please ps: sorry for my english
whitesanta007 says: May 18, 2009. 7:59 AM
anyone know where to download kcam?
MrV says: Mar 17, 2009. 9:57 AM
cant you make a part list...it would be very good! thanks
Capt-Ron in reply to MrVMar 18, 2009. 9:17 AM
MrV,
He did make a parts list:

C:\Projects\StepCheapPartsList.rtf

Capt-Ron
kasari001 in reply to Capt-RonMay 13, 2009. 5:21 PM
NOT THE CORRECT/COMPLETE LIST.
jacko1987 says: May 5, 2009. 1:18 PM
Can you send me the parts list please.
manuel2006 in reply to jacko1987May 6, 2009. 6:15 AM
You can download them in this page.
kasari001 in reply to manuel2006May 13, 2009. 5:18 PM
No you cant
kasari001 in reply to manuel2006May 12, 2009. 12:17 PM
this parts list is only for one motor circuit.
manuel2006 in reply to kasari001May 21, 2009. 4:55 PM
Just use common sense and multiply x 3.
kasari001 says: May 13, 2009. 5:15 PM
This parts list makes no sence. It doesn't coinside with the any of the board layouts.
Gilo says: May 8, 2009. 2:31 PM
Hello. Nice project. How big a piece can you work on this machine? max width x length? thanks t2p
jamwaffles says: Dec 20, 2008. 9:21 AM
thanks so much for this. i built a controller without the lightbublbs and a pc power supply and it works great with EMC2. thanks!!
manuel2006 in reply to jamwafflesApr 20, 2009. 6:10 AM
hi, you just ignored lightbulbs or your replaced them with resistors?, if you used resistors, how many ohm / watt are them?
jamwaffles in reply to manuel2006Apr 27, 2009. 10:29 AM
i ignored the light bulbs lol. if i put them in/used resistors, would it allow me to run my steppers faster and what do the resistors do anyway?
manuel2006 in reply to jamwafflesMay 5, 2009. 4:43 AM
I assume that you are using the same supply voltage that your motors need, in this case i think that you dont need light bulbs, they are needed when you apply more voltage than your motors need. Tom said in some post that this is good because motors run better, for example using 24v with a 12v motor and using a light bulb or resistor, but i still dont understand why. If someone can help us..
purgedsoul in reply to manuel2006May 6, 2009. 8:17 AM
I think it's for limiting the current, since you are over driving the stepper's voltage requirement.. I'm open to corrections..
jamwaffles in reply to purgedsoulMay 6, 2009. 12:45 PM
thanks very much. im currently building a linnistepper board - PIC controlled, 1/16th microstepping and completely open source. take a look
jamwaffles in reply to manuel2006May 5, 2009. 11:18 AM
ah ok. thanks. however i cant help lol
manuel2006 says: May 6, 2009. 5:06 AM
I'm building this circuit but having some problems. I've already etched the pcb and just soldered the Y axis CI's (one 4028 and one 4516). I tested it yesterday and logic signals are like Tom said, but the problem is that my lpt port is only giving 3.33v, not 5v like its suposed to be. I tested it in 2 different pc's and them both give only 3.33v. Hope someone can help me out with this. My supply voltage is 12v, and both IC are getting 6.10V aprox, but they also give 3.33v in their pin outs, not enought to drive the fets I think :(. Any help would be appreciated. Thanks.
manuel2006 in reply to manuel2006May 6, 2009. 6:15 AM
I was wrong, IC's gives also 6.10 in their pin outs. But my lpt port is still giving 3.33 instead of 5v :S
Truerad says: Apr 24, 2009. 5:37 AM
Where Can I get cheap stepper motors ?
qwertyboy in reply to TrueradMay 2, 2009. 7:33 PM
try ebay. i just bought 4 for 20 bucks.
MrBeta says: May 2, 2009. 6:28 PM
Forgive my ignorance but are the bulb just there to test the circuit before connecting the stepper motor up? I read through the description and am still a bit confused. I've read some of the other comments and I'm just thick...
om56 says: Mar 28, 2009. 5:43 AM
plz plz help me Hi to all I have a problem with the stepper motor, i bye a motor with 2.75v and 4.5A and 8 wires. I try to run this motor without circuit to test them by applied voltage on each coil but noooo result. I connected the motor to this circuit, am sure its right connected. I connected 4 wires to common and the others to the mosfet with right sequences, but also the motor not work. I tested the coils of motor it gave me a resistance between each coil wires. I didn't connected lights or any power resistance to the circuit. does it affect or what's the matter. the circuit run good with LEDs plzzzz help me thank
snowpenguin in reply to om56Apr 28, 2009. 10:10 PM
I can help part of your problem. When you power up each coil of a stepper, it isn't supposed to do anything. A stepper works because the coils are being activated in rapid succession. One after the other in a circle. Powering up just one will give no result, you have to power up each in turn... O O O O So the top, then left, then bottom, then left, then top again to go clockwise. Half stepping is induced by going top, top and left, left, left and bottom, bottom, bottom and right, right, right and top, top to go counterclockwise. You can go either direction. That's all I can help you with. Hope the picture I made comes out right.
snowpenguin in reply to snowpenguinApr 28, 2009. 10:12 PM
No, it didn't. Just imagine a diamond shape with a coil at each corner. Instructables never does text art well. Oh well. Good-Bye
meisjedog says: Jan 29, 2008. 12:04 PM
Hello,
Is anyone willing to build a finished board to drive 3 motors?
How Much and how long would it take?
Here are the motors I would be using:
http://www.allelectronics.com/cgi-bin/item/SMT-89/search/2-PHASE_1.8_DEGREE_STEPPER_MOTOR_(USED)_.html

Thanks,
Mitch
Tom McGuire (author) in reply to meisjedogJan 29, 2008. 6:45 PM
I have about 15 people now asking if I could provide them with the motor driver circuit. I'll try to get something together in the next coming month. I have all your messages and I'll be contacting you when I have something. If any one else wants one let me know. They should run about 30 dollars.
kasari001 in reply to Tom McGuireApr 26, 2009. 1:38 PM
Hi Tom, This is a truly great instr. Please add me to the list for this circuit. Thanks Kasari
cncwanabe in reply to Tom McGuireFeb 24, 2008. 11:42 AM
have you started selling boards yet I Would like to buy 4 of them
Tom McGuire (author) in reply to cncwanabeFeb 27, 2008. 8:19 PM
I've had some problems. I'm running short of funds and short on time. I might have to push it back till after school is out in May. If your in a hurry and have collected a few more coins I have been suggesting some other sources. My favorite is www.stepperworld.com
megamatt103 says: Dec 3, 2008. 1:51 AM
i have a question, if the motor is rated at 3.7 volts at 3.5a per phase, what MOSFET would you use? Tom uses 100v 12a MOSFETS on very small motors. Why would you want to use a 100v MOSFET at 12a when the motor is only rated at 3.7 volts.... I'm lost. Plus do you have to use a MOSFET or can a TIP112 or TIP115 transistor do the same job? Thanks
manuel2006 in reply to megamatt103Apr 20, 2009. 6:17 AM
quote: Tom uses 100v 12a MOSFETS on very small motors. Why would you want to use a 100v MOSFET at 12a when the motor is only rated at 3.7 volts.... I'm lost

im lost too.. did you find the answer?
thatonekid in reply to manuel2006Apr 22, 2009. 9:05 AM
i believe that the rating is only a maximum for the MOSFET, it was probably the most redily available MOSFET for Tom
manuel2006 in reply to thatonekidApr 23, 2009. 4:11 PM
i suposed that too, thx for reply
eaon says: Apr 17, 2009. 3:27 AM
Hi,
ive finaly got the circuit to work, but when i change directions on the jog, it chugs along few seconds and also sound a bit clunky, ive uploaded a video if anyone can help
thanks


Antystein in reply to eaonApr 23, 2009. 10:27 AM
it looks (and sounds) OK to me... the delay is due to "ramping" its a setting that speeds up the motor slowly so that you can achieve higher speeds... the "clunky" sound basically its due to the computer's CPU... try to run as less applications as possible, and set KCAM to higher priority.. (actually setting it to realtime priority stops the clunking sound completely but the application freezes)... You don't have to worry about that sound, it doesn't cause any problem anyway. (to me at least)
marciosouza22 says: Apr 22, 2009. 9:06 PM
Sorry for my lack of knowledge and congratulations to all. my e-mail marciosouza22@oi.com.br
marciosouza22 says: Apr 22, 2009. 8:52 PM
Hello I would like to know if can help me I have to step 8 wire motor black, white black, red, white red, orange, white orange, yellow, white yellow and I picture as follows, as is the color sequence. Thank you to those who could help me
emviar.jpg
thatonekid says: Apr 22, 2009. 9:06 AM
is this driver board specific to the milling platform you made, or will it operate any platform with a similar layout?
naveen.a019 says: Apr 22, 2009. 8:23 AM
hey ...ths is naveen....i hv done this driver and it works flawless.......and another suggestion......if u want to get full output from ur motor forget the light bulbs and resistors......just choose a power supply....having output near to ur stepper motor rating....and connect...the motor common to the second power supply...seperately...and dont forget to connect the ground of the stepp....P.S to the driver board..P.S....Hav fun.... Nav
TheLostAmish says: Apr 20, 2009. 7:25 PM
I have managed to build the driver, but I can not get it to work. I measured the voltage after the 1k resistor and its only 1.7volts. Isn't it supposed to be 6.2 volts?
Derin says: Apr 19, 2009. 5:57 AM
How would I import CAD files to CNC software without having to code anything?Or,allowme to rephrase my sentence.
Questions:
  • Do I have to code to make the CNC items?
  • If #1 is "Yes",how do I do it without any code?
gerritv says: Apr 19, 2009. 2:41 AM
Hi, I build the PCB and alls looking well, my only problem now is figuring out what parallel cable to use? do I change the centronics plug on a printer cable to a 25pin female to plug into the cnc or do i make a "laplink" parallel cable? By the way where is Tom? I PM him and no responce? Also he hasnt responded to this post for a long time? Thanks.
vernonrob says: Apr 19, 2009. 12:59 AM
Hi Tom Thanks for the great project. Im new to electronics and would like to know if this driver can handle 24v steppers? Im not sure if the resistors would need to change or if any other items on the list would have to be changed for a higher voltage. Any help to point me in the right direction please? Thanks
sks122 says: Apr 18, 2009. 6:50 PM
First off I want to thank you Tom for sharing this project. I’m a toolmaker and quite familiar with machinery, the machine part gives me little or no challenge however I’m electronically challenge. I have assembled the test circuit on the breadboard per your photo and couldn’t get it to work. I started testing per instructions in step 4. Found voltage on pin 16 of both chips the rest of the pins didn’t test correctly so I tested the signal on the 25 pin cable. Pin 2,4,6 has a constant 3.5 volts, pin 3,5,7 had 3.5 volts when I push the + arrow and remains constant until the – arrow is pressed then voltage dropped to 0 volts and remains constant, there is no voltage change with each push of the – arrow or + arrow only when going from + to – or – to +. Is this the correct signals or do I need to change something in the setup? I’m using Mach2. Any input here would be deeply appreciated and thanks again Tom for a grate project
hussammajzoub says: Apr 18, 2009. 12:00 PM
Hi, am so interested of your project,but i still have something i dont understand it ,is that there is two types of resistors and two types of capacitors are not clearly obvious were are located in the schematic,and also in the componente liste you didn´t mention the other capacitor wich is seen the picture of the project.Thank you...
eaon says: Apr 14, 2009. 6:56 PM
hi Ive tried the circuit and i cant get it to work. all that happens is the IC chips start getting hot. and the motor tightens up. has anyone else had a similar problem?
salalas says: Apr 12, 2009. 2:00 PM
Can somebody please help me with the parts list?Thank you
Fwirt says: Apr 10, 2009. 7:12 PM
I noticed that a the other motor drivers I've seen don't use mosfets to get the power to drive the motor coils. Instead, they use the ULN2003 ic. I'm a bit of a novice, but it seems to me that you could substitute all those transistors for 2 ULN2003's. Am I correct?
TheLostAmish says: Apr 9, 2009. 2:26 PM
Sorry to make another post so soon, but do you think these motors would work with this for small applications, such as etching PCB and plexiglass?

http://www.allelectronics.com/make-a-store/item/SMT-108/STEPPER-MOTOR-6-WIRE/1.html
TheLostAmish says: Apr 8, 2009. 10:09 PM
Would it be possible to power the board separately (say by USB) and then power the motors using a separate power source? If not, does the board have to be powered by 12 volts? Would changing that value require a change in components on the board?
forte1994 says: Mar 11, 2009. 6:41 PM
hi are the light bulbs necessary.
jamwaffles in reply to forte1994Apr 8, 2009. 8:28 AM
I am wondering the same thing, although my question is do the bulbs allow me to run my steppers faster?
mikcomi says: Apr 6, 2009. 5:09 AM
Hello, could I get 3-axis CNC driver schematic? you have just published PCB. How can I make it go both way? Thanks upfront! My step motor doesn't go write, it vibrates sorry for my bad english....
eaon says: Apr 2, 2009. 4:11 AM
does anyone know what the pc+5v is in this diagram?
limitswitchcircuit.gif
mossy173 in reply to eaonApr 4, 2009. 2:19 PM
Looks like it's referring to the +5V logic supply pin in the parallel port.
eaon in reply to mossy173Apr 5, 2009. 4:18 PM
thanks so its either pin 1 or the redwire from the pc.
om56 in reply to eaonApr 2, 2009. 7:53 AM
I think you need from this circuit to connect limit switches. PC +5>>>> mean connect this to power source equal +5 . but I think 10k ohm so high, I advice u to connect 470 ohm
jamwaffles says: Mar 29, 2009. 12:43 PM
Sorry to keep adding comments, but i thought it would be easier to split them up like this, but... what maximum voltage can i run 5v steppers at without the coils melting? im using a pc power supply at the moment, but im thinking ov using a 24vac transformer and a bridge rectifier. is 24v too high as the amps will be unregulated, or is it ok to use. i really want to drive my steppers faster, as i only get 180mm/min on my machine with 1mm ptich M6 leadscrews :P ps. is there any other way i can drive a stepper faster, as all my posts are about this, without changing any hardware?
jamwaffles says: Mar 29, 2009. 12:39 PM
i have added pullup resistors to the circuit and it works fine, but would it still work alright if i used pull-down resistors instead? before the resistors i got jitter, probably from noise. thanks for any help
jamwaffles says: Mar 29, 2009. 12:38 PM
If i added lightbulbs to my driver board, based on this design, would it allow me to make the motors spin faster or is that something to do with the PC? thanks in advance. the board i have/made is awesome. thanks for the design
fanini says: Apr 19, 2008. 4:16 PM
were are the part list
gugurjev in reply to faniniMar 23, 2009. 4:02 AM
Anyone knows size of Capacitors C3-C6? Thanx for instructable!!!
Javidana says: Feb 24, 2009. 3:18 AM
Oh yes I forgot are you using bipolar or unipolar steppers? I'm supposing they are unipolar=simpler drive curcuits...

Also I'm having a hard time finding a 6 wire unipolar stepper. All I've found are 5 wire. will they work?

Thanks
snowpenguin in reply to JavidanaMar 22, 2009. 7:32 PM
Yes, 5 wires work. I'm no expert, but read some of the other comments.
captnkrunch says: Mar 20, 2009. 6:57 PM
Please be more specific about the software which can drive the parallel port and your board. Thanks.
Capt-Ron in reply to captnkrunchMar 20, 2009. 7:18 PM
The 3 most popular are: Mach3 www.Artsoft.com $175 (WinXP/Vista) Kcam4 www.Kellyware.com $99 (WIn98/XP) and TurboCNC www.Dakeng.com ....Shareware? (MS Dos) All 3 have free trial versions. Basically any cnc program that will produce direction/step pulses on the printer port. You will be required to set any program with the correct paramenters for the hardware (motors/voltage/leadscrews) you are using. Capt-Ron
clevercobra says: Mar 19, 2009. 8:59 AM
Hey guys. I'm just starting to mess around with stepper motors and cnc. Will this circuit work with 4 wire stepper motors?
Capt-Ron in reply to clevercobraMar 19, 2009. 6:25 PM
Clevercobra, Unfortunately no, you will need 5, 6, or 8 wire unipolar motors. A 4 wire motor is bipolar and needs a different circuit. Capt-Ron
Capt-Ron says: Mar 10, 2009. 10:46 AM
Great project!!! I have a question about the drilling code. When I cut the bottom of the board and then load the g-code for drilling the holes they don't match. The Y axis seems to line up correctly but the X axis is off 0.086 beyond the first drill location. All the following holes are drilled in the correct locations (in relation to the first hole) as called out in the g-code but are not aligned with the related pads. I'm using Mach3 and my router is in good operating condition. Plus, I have not moved the board between operations. I did drill a board but had to adjust for the position, however my drill bit flexed and proved to be a problem. Thanks Capt Ron
Capt-Ron in reply to Capt-RonMar 15, 2009. 4:07 PM
Well I've solved my problem!!! First, I was looking at these files in LCAM to adjust the Z height but the cutting path got totally re-arrainged...not good. Instead, I edited the g-code directly in Notepad. Second, I removed the backstep (N007 G00 X-001.000 Y-001.000) from the drilling code since it caused my router to hit the X axis limit switch. This is located at the beginning and end (N724 G00 X-001.000 Y-001.000) of the drill code. Also changed the Kcam remarks brackets to parenthesis to make it more compatable with Mach3. Third, I pasted the drill file to the end of the bottom copper file so that the entire side was cut in one operation. A dead cd was cut to check the changes and it was perfect with all holes marked in the exact center of all the pads (I didn't drill them all the way through). Now I'm trying to decide if I want to bother with the top copper.... Thanks, Capt-Ron
Capt-Ron in reply to Capt-RonMar 13, 2009. 6:43 PM
Anyone?
Xephius in reply to Capt-RonMar 14, 2009. 5:44 AM
:( I am shooting in the dark, but when you open up the two cut/drill files in a cad/cam application can you check to see if they are aligned in the app? My CNC device isn't working yet. I am having trouble with my board as well... -X 
Derin in reply to XephiusApr 18, 2009. 6:20 AM
Capt-Ron in reply to XephiusMar 15, 2009. 7:34 PM
Xephius, Now I can and no you aren't shooting in the dark. Since any cnc program will only run one file at a time I had the thought about pasting one file on the end of the other. Bingo, when loaded into Mach3 the trace outline and the drill points are in the window (as was the backstep). From there it was simple to edit the merged file and do a test run on a bad cd (saves on pc boards). Thanks for the reply, I hope that this might help others too. Capt-Ron
Xephius says: Mar 13, 2009. 11:16 PM
Tom, first thanks for a great project. It has been fun working on it, but I am hitting a wall. I have etched, stuffed and hooked up the board only to find that the bulbs won't light up. I have 5 wire motors hooked up correctly. After poking around, I found that the bulbs do light up if the 4028 chips are removed. With those chips pulled, the motors are energized and the bulbs are on. I can feel the resistance in the motor shaft. Once the chips are installed, the whole things goes limp. I am thinking about trying to install a 5V regulator to see if that is the problem, otherwise I can't figure it out. I have all three axis connected. I have tried to make it work while connected to kcam and Mach 3, but no difference at all. Any ideas? Has anyone else run into this? -John
Xephius in reply to XephiusMar 15, 2009. 9:22 AM
I solved my problem by using a converted PC power-supply and providing 5v and 12v to the appropriate sections of the board.Once I did this, the entire thing powered up. I then had to figure out the wiring of my motors. They are Japan Servo KP4M4 steppers (very common) wired up as follows Black - Common (LAMP) red- FET 3 brown- FET 2 green- FET 1 white- FET 4 This took me some time to figure out, and I think I may have roasted some pins on my port in the process, so I will be testing them today. Either that or I messed up a trace some how during my futzing with things. I swapped out chips, so I know they are all ok. Also, I used .1uF ceramic caps from RatShack (272-0135) for the un-marked caps on the board layout. I think it will work fine without them, they appear just for noise reduction, but they are cheap and easy to acquire at any RS if you didn't order them at the time of you other parts.
amin001 says: Mar 8, 2009. 12:55 AM
hello is there anyway i can use 5 wire motore on this project and plz how can i connect them thanx
Xephius in reply to amin001Mar 14, 2009. 5:41 AM
Read over the schematic, the board is designed for 5 wire motors. Common connects to the lamp, the other 4 winding wires connect at the diodes. -X 
forte1994 says: Mar 13, 2009. 6:18 PM
hey its me again just wondering what are the orange little things on your pictures of your circuit board .
Panacaguy says: Feb 26, 2009. 11:27 PM
Any help would be greatly appreciated. I read through all 463 other posts and didn't see anyone with my problem. I built the circuit. It seems to work mostly right. All the outputs on the chips register correctly. Using Kcam I can single step to my hearts content, but when I try to run continuous, my motor move one step (random direction) when I first press the jog button and returns to where it was when I release the jog button. The light goes out while the jog button is pressed. Same result for all axes. I'm using 3 12V, 75 Ohm steppers from 5.25 drives. I have a 19V power supply with 4 Watt bulbs. If I did the math right, this gives me nearly 12 volts and nearly 0.16 Amps through the motors. I'm running it all with a laptop. At this point I'm not sure if the problem is my salvaged motors, my power supply, my board, or my computer. Any insight into my situation would be greatly appreciated.
Tom McGuire (author) in reply to PanacaguyFeb 27, 2009. 10:04 AM
Too Fast I think I can help here. Go into the Table Setup and change the Feed Rates ( traveling, Cutting, Jogging) to smaller numbers. If this works but the slow speed seems to be a disapointment to you change the light bulbs to 20 watt bulbs. Tom
Panacaguy in reply to Tom McGuireFeb 27, 2009. 10:33 AM
Thanks for the ultra-quick response Tom. Unfortunately, I had already tried that. I've tried feed rates from 1 ipm up to 60. I've also messed with the steps per inch and jog increments to no avail. The next step in my investigation is to try other software programs, maybe a DOS-based one, to see if that helps. I'm wondering if my laptop is messing up the timing too much. If it single steps ok, can I rule out the board as a possible problem? Thanks, Andrew
Panacaguy in reply to PanacaguyFeb 27, 2009. 11:23 PM
Figured out my problem. My enable states were inverted from what they needed to be. In single step mode it still worked, but in continuous mode, the enable pin would go low and cause activity on pins 2 and 3 of the 4028, but no activity on pins 1, 4, 6 or 7. Switched up the enable states and now it works like a charm although I think I will up the wattage of my bulbs a bit. Thanks Tom. Andrew
majdi says: Feb 25, 2009. 12:40 PM
Please please how I can connect the circuit of Tom by use stepper motor 24v ,( 1.5 A or more) by use Kcam4 program and the kcam4 work in windows xp . Note:- I have one stepper motor from this type (PM55L – 048) and two stepper motor from this type (KE56KM2 – 039) Thank you .
amin001 says: Feb 24, 2009. 8:15 AM
the pins like this image
amin001 says: Feb 24, 2009. 7:46 AM
hello everyone i need some help i have 3 motor from a car window 12v can i use them for this project and they have 6 pin's 2 pin off them separate plz help me im trying to do this project from 1 month now thanx
Javidana says: Feb 21, 2009. 12:25 PM
IS it possible to a make 4 axis verison of this circuit? Great work anyways thanks alot, gonna visit the electronic shop on monday to buy the parts. luckily I have a good friend who'll help me out with soldering... Thanks again
Bzidroglio says: Feb 20, 2009. 3:30 AM
Hy there! First, btech50554: What voltage are you using it might be too low for the motor you are using, check the configuration of the lpt port in kcam, there's a post by tom with a screenshot of his. I hope this helps! Secondly: I have a problem of my own! I have everything working, but Im using 30v and the zenner to regulate the voltage, so the voltage in the CD4516 and the CD4028 is around 6,5v. My question is, is it better to use the voltage regulator (l7805)? thanks!
Tom McGuire (author) in reply to BzidroglioFeb 20, 2009. 9:07 AM
Thanks for helping. that's good advice. As far as the zener vs regulator, it's all for the FETs. Sometimes the FET output transistors need a little more than 5 volts to turn completely on so the 6.2 volt zener can actually work better. Good question...
Bzidroglio in reply to Tom McGuireFeb 20, 2009. 10:39 AM
Thanks for the quick reply. I'm going to keep the zener then...
btech50554 says: Feb 9, 2009. 3:14 AM
Hello This my first attempt at a breadboard project and I'm excited to see it work. Here's my problem, I the whole breadboard complete and I'm using a 5 wire step motor. I can't get the light to light up. I don't think I have it hooked up correctly. But I'm able to get the motor to just vibrate when I jog in KCam. I've swapped the wire around several times and it just buzzes. If anyone has any ideas I could use the help. This is a neat project and I'd like to build the mini mill. Thanks
StojkePN in reply to btech50554Feb 9, 2009. 5:15 PM
swapped the wire
StojkePN says: Feb 4, 2009. 5:38 AM
How about C3 to C6? what are their values?
thatonekid says: Feb 2, 2009. 5:11 AM
which link is the stepper program?
slatronic says: Aug 7, 2008. 10:50 AM
I'm having problems with my circuit as well. I have it on a breadboard for now. Everything seems to be working fine except that the signal on pin 11 on the 4516 isn't acting the way Tom says. The other pins on the chip do what he says but pin 11 has an erratic output. It goes hi for a few clicks then low for one or two then hi again for 3 clicks etc.. Not the hi/lo every other click the way Tom suggested. The light bulb seems to be following the same erratic on/off pattern. Also on the 4028 pins 1,4,6,7 are not going hi every fourth click. I assume this has something to do with the odd 4516 response.