Professional Documents
Culture Documents
Parallel Port 3 Axis CNC Driver Opto Isolated
Parallel Port 3 Axis CNC Driver Opto Isolated
Parallel Port 3 Axis CNC Driver Opto Isolated
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
File Downloads
Chromation Systems-3 Axis CNC Driver.zip (3 MB) [NOTE: When saving, if you see .tmp as the file ext, rename it to 'Chromation Systems-3 Axis CNC Driver.zip']
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
Image Notes 1. C1+ 2. C1- and C23. C2+ 4. C35. C3+ 6. TOG is mounted verticle
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
Image Notes 1. Jumpers are shown, but are added in the next step
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
Image Notes 1. C1+ 2. C1- and C23. C2+ 4. C35. C3+ 6. TOG is mounted verticle
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
Step 8: Motors
I am not going to cover motors here there is plenty of great info around on the net and here on Instructables. All Axis' are have the same pinout, if a motor works on one it will function the same on the others. A full step means 2 coils are on at once. Example each bit represents Header 1 - 2 - 3 - 4 1100 - 0110 - 0011 - 1001 This driver does not have any on board resistors or chopping circuitry to regulate current for the motors. I prefer to place high wattage resistors in line with each motor's V+. Hopefully you can find the datasheet for your motors and find out the required current and voltage for the motor. Then by using a web resistor calculator, you can find the correct ohm and wattage values for your motor. Each motor needs its own resistor, otherwise it will force multiple motors to share current when multiple are on at the same time. A 24 volt stepper motor will end up drawing a lot of wattage, be sure you have properly rated resistors to avoid damage. Some Good Links on Current Limiting: http://pheattarchive.emporia.edu/projects/stepper/unipolar.pdf http://www.cs.uiowa.edu/~jones/step/current.html I have tested this driver with 5 different unipolar motors, they all worked great.
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
To calculate power supply requirements: Motor Voltage/Motor Coil Resistance = amperage per coil. When full stepping each motor will have 2 coils/phases on at a time so minimum requirement is 6 * amp per coil. Then always use a power supply rated for %150 - %200 higher than the minimum. Switched mode PSUs will work, but will perform extremely bad compared to a capable linear power supply. Linear power supply's can be identified by a large transformer and capacitor probably along with some circuitry, they are more expensive but worth it if you want a nice machine.
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
Related Instructables
Modifications to Robot Arm for Opto Coupler Feedback, OWI 535, Edge etc by jomac_uk
Easy to build Small, Effective CNC Mill Solder Fume Stepper Motor Extractor by and Driver ChromationSystemscircuits by Tom McWire
Make a CNC Hot Wire Foam Cutter from parts available at your local hardware store by tbarnea
Cheap and Easy Dial Controlled High Power RGB LED(s) Driver by ChromationSystems
Comments
50 comments Add Comment view all 51 comments
Binnukuttan says:
How can i modify the driver board to 3A PER phase version?
bikersambo says:
Uprate the Mosfets And feedback/cutoff diodes to a higher wattage... Hope that helps
alexis_4315 says:
why the source code are not open? it is just a common program...
funlw65 says:
Hi Alexis, It is not just a common program because have a rare feature: - it produces $2 per unit.
Oldrunk says:
Just put together the kit now testing and I can confirm that this 3axis CNC Driver works with linux EMC2.
Renietsnurb says:
Dec 4, 2010. 2:39 PM REPLY I'm planning to buy one of your drivers. Assuming that i have three 24V, 140 Ohm, 160 mA motors what resistors do i need. And beside these what else do i need to drive my motors? Nov 16, 2010. 9:22 AM REPLY Awesome work and thank you, I've been wanting for a long time to put together a small hobby CNC for some time and never got to the controller since there are many designs out there. Just bought a kit from your site and thank you again for supporting the hobbyists! And thank you for the instructable. Just a couple of questions. Since the source comes with a full kit , just wondering if its possible to add limit switches to your design? Other question is I bought a full kit with the steppers and I know I need a 12v PSU but what power rating do I need? If I'm doing my math right even a 200watt PSU should more then handle it.
Oldrunk says:
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
ChromationSystems says:
Nov 17, 2010. 10:16 PM REPLY For limit switches I use the active low method, Shown Here. Just attach a wire from the proper pin on the DB-25(Parallel Port) from the bottom side of the PCB, and run it to your switch. For PSUs, calculate its Voltage / Phase Resistance, the kit includes 12v @ 60 ohms = 200ma, since the motors full step, there is always 2 phases on per motor, with possible of all 3 motors on at the same time = 200ma x 6 = 1.2A. Then always use at least 150% of calculated current so about 1.8A @ 12v.
Oldrunk says:
Thanks!
buddace says:
How connect six wires step motor in this board ? sorry is not clear :D
lilschwoegl says:
I still dont understand how the step motors are wired to the connectors.. any help? thanks!
buddace says:
OPs..solved ...I don't see schematic Another question can I use 16f876 ?? hardware are same only memory source are most ;)
ChromationSystems says:
May 17, 2010. 10:24 AM REPLY Yes you could, they are both pin-compatible. But you would have to purchase the source and change a few include lines and recompile.
Binnukuttan says:
Thanks for your reply. I ll try
Binnukuttan says:
I cannot find LTV-827 OptoCoupler in my place, please suggest an equivalent.
ChromationSystems says:
TLP621?2 should work just fine as well. Most should work as long as it has the same pinout as the image.
AbuTarif says:
Thanks for the most detailed DIY CNC Driver Circuit on the web. You've said that "most CNC programs (Mach3) work in a similar way and should also work fine" Could you please confirm that Mach3 work fine with your driver ! because I've build Tom Mcwire circuit which use the following pin map : X: Pin2 Dir ,Pin3 Step, Y: Pin5 Dir ,Pin6 Step X: Pin 8 Dir ,Pin 9 Step And it's did not work with Mach3 after setting the port pins !! I Think there program locked to some driver's manufacturer..
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
woodspinner says:
the mcwire circuit does work with mach 3, when properly configured.
ChromationSystems says:
Yes, this driver supports Mach 3, though I have not tested it. I have some information posted here about setting up a CNC Machine. Its for KCAM but some settings are similar.
shaadmahmud says:
Aug 12, 2010. 11:42 AM REPLY hello everyone i have done cnc driver project and ...100% works thanks to tomMcwire.... here is my work ( http://must-info.blogspot.com/2010/08/easy-tobuild-cnc-mill-stepper-motor.html )
ChromationSystems says:
That driver only single steps, delivering half the torque that my driver produces.
Kemo0o says:
Jul 16, 2010. 4:49 AM REPLY dude ... i built PCBand when testing it on motors without PIC also without connecting LPT The MOSFET become too hot and the motor breaks and i can't rotate it by hand ???? i tested my circuit ... no SC this is my one
ChromationSystems says:
If you don't have a PIC in socket the MOSFETs will float high or low.
gabrielmrc says:
can you tell me how you the mechanical part. post here or send me to my mail (mirciugabriel@yahoo.com) all parts
Kemo0o says:
You can look at http://www.instructables.com/id/CNC/ it is very good guide
buddace says:
hello... I build your project..recompiled source for pic 16f876...how test it ?
ChromationSystems says:
Jun 6, 2010. 11:49 AM REPLY Assuming you ported the code correctly, just plugthe PIC into the driver and hook a motor up to it then set up your CNC Software. See if it works.
muhahaha says:
is it powerful enough to drive a x2 mill?
Kemo0o says:
Hey man ... i tested it with my motors it worked well till now now could you send the raw copper side file (eagle file or any program you have drawn it by ) thanks dude :)
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
ChromationSystems says:
I have decided not to post my Eagle Files. But PM me and I will help out as best I can.
shaadmahmud says:
sir can i use pic16f873 instead of pic16f870 plllzzzzz reply sir
ChromationSystems says:
Apr 15, 2010. 10:39 AM REPLY I am pretty sure it could. You would need to buy and edit the source code though. It would be way easier to buy a 16f870.
The supplied HEX file will not work in any processor but the 16F870.
Kemo0o says:
My motors are consuming more than 2 A current ... I tried another driver but for sorry the TIPs become very very hot so will your driver also becomes hot within consuming current exceed more than 2 A ??
ChromationSystems says:
Apr 10, 2010. 9:09 PM REPLY Its more of a wattage rating than current. I have been saying 20-25 watts is about the max. If your motors are 24 volt @ 1amp then its fine or 12 volts @ 2 amps is the same wattage, 24 watts.
dablakh0l says:
Thanks.
Mar 24, 2010. 8:13 PM REPLY I just noticed that R20-R25 in the layout do not match their placement in the schematic. Is the schematic needing to be updated to match the PCB layout?
ChromationSystems says:
Mar 24, 2010. 9:26 PM REPLY I am aware of that, I wanted the resistors in numerical order on the PCB. It would have been to much work to go back and re-name all the resistors to coordinate with the order on the PCB's silkscreen layer. Just know all resistors going to the MOSFETs are 1kohm, all the rest are 10kohm, excluding the resistors nearest to the DB-25 connector. or place as seen in the silkscreen layer. Sorry if it has caused problems
CNCbuilder1 says:
Mar 22, 2010. 4:27 PM REPLY hi, I have these motors. http://cgi.ebay.co.uk/4x-NEMA-23-Stepper-Motor-MY103H702-1-8deg-0-98NmNEW_W0QQitemZ170460816314QQcmdZViewItemQQptZUK_BOI_Electrical_Components_Supplies_ET?hash=item27b041a3ba Is this board suitable? also besides your kit, what else do I need to hook these up? i.e power upply rating, resistors? Also any chance of adding bit more on resisitors and how ot hook these up, Thanks
thelastonekills says:
will you ship to Australia
ChromationSystems says:
Yes ship worldwide, through USPS First Class International. Check the websites shipping estimator for info.
carabac says:
Hi, I got 3 Sanyo Denki 103-771-18 motors. Will this board drive them? Thanks.
ChromationSystems says:
Mar 9, 2010. 6:09 PM REPLY Quick google search yielded This. It says it is a 5-wire Unipolar motor, 24v at 180ma, they are just right. Use resistors of at least 5 watts, 1 resistor for each motor.
carabac says:
Thank you!! I placed the order for the kit. Does it include the resistors I need? Thanks again.
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/
flothmann says:
Mar 6, 2010. 5:33 PM REPLY Hi great pcb, please just consider add some HEAT SKIN (just a piece of aluminium) to prevent mosfet damage caused by overheating (when the current pass throught the power elements like the MOSFETs are )
ChromationSystems says:
Mar 6, 2010. 9:59 PM REPLY My motors run at 24v @ 600 - 800ma, even when ran for hours the MOSFETs don't even get warm. Most of the motors are off at any given time, and since only 2 MOSFETs could be on at any time ( full stepping ), each MOSFET is only subjected to a maximum of 50% on/off cycle. Plus the FETs i used are 60 watts, a heatsink is needed for that much, but 10 - 30 watts at 50% cycle won't create to much excess heat. But a they should be checked by touch until it is known weather they can handle the current. Also each of the MOSFETs tabs can not touch, as the tabs are connected to drain, and would interfere with operation if multiple FETs had a common drain.
Mar 6, 2010. 5:13 PM REPLY Very well documented, I love it! Im trying to do a CNC machine right now, but I need 4 or 5 axis' (preferably 5, but 4 can be made to work) Could this be modified to do that(given a larger PIC and edited code)?
ChromationSystems says:
Mar 6, 2010. 9:53 PM REPLY The source code could be scaled . But if you wanted to use this design, you could use 2 boards, and use 1 DB-25 connector, run solid strand wires from it, to each of the boards. I would help you out if you wanted.
frollard says:
Mar 5, 2010. 10:25 AM REPLY Really cool setup! I've wanted a diy-cnc for a long time. Shame the source isn't open, but heck, beggars can't be choosers, and who really NEEDS partial stepping on a budget anyway?! Really cool that you chose to release the hardware at least! This looks like a cost effective solution for persons like myself!
ChromationSystems says:
Mar 6, 2010. 1:57 PM REPLY The source is available for download. Its only $2. And it includes an example and directions on how to add half stepping. I might make a second firmware version that has half/full step switch. I would make it easy to add on to this current hardware. If someone would be interested in that, PM or e-mail me. Everything else needed to recreate this project is in the zip file on step 1
frollard says:
It's a semantics thing - shame the source isnt free :P Again - great project, great writeup!
http://www.instructables.com/id/Parallel-Port-3-Axis-CNC-Driver-Opto-Isolated/