Controls 3 Unipolar Stepper Motors, for use with CNC Machines. Simple driver with automatic coil shutdown, to ensure efficient operation. Opto-isolated for protection of the P.C. Supports most parallel
port based CNC software, such as KCAM.
Supports up to 20 watts per Phase. Or 2 Amps per phase.
Full Kits with all the parts needed to recreate this Instructable can be purchased on my Website
Get a CNC Driver kit with 3 Unipolar motors, power resistors, and wire it Can be Found Here
3 Axis CNC Driver Kit, Assembly and Testing can be added.
Printed Circuit Boards are Available with Free Shipping
and Programmed PIC Microcontrollers can be purchased
or Grab the a combined PCB & programmed PIC Microcontroller
Included in the ZIP below are the files for the Copper-side, the Top-Side layer, Datasheet and the drill files.
The source code is written in Assembly and can be purchased Here
Those who purchase Kits or programmed PIC will receive the source code for Free.
*UPDATE: Added the HEX files that use the PIC16F876A instead of the 16F870.
Disclaimer: Even though this is opto-isolated there still is a danger to your parallel port if a short were to occur. Recreate this project at your own Risk.
Remove these ads by
Signing UpStep 1Parts & Supplies
Layout all the Parts:
- PIC16f870 - DIP or a PIC16F876A(must use a different firmware)
- Printed Circuit Board or strip board
- 20 mhz series oscillator, a regular one could be subed, just need to add 2x 22pf caps to gnd
- 12x logic level MOSFETs TO-220 package, i chose IRL630A or RFP12N10L or FDP8878
- 12x 1kohm 1/4w resistors - Brown - Black - Red
- 8x 10k ohm 1/4w resistors - Brown - Black - Orange
- 6x 500 ohm 1/4 resistors
- 12x 1n4004 or better
- Right-Angle Male DB-25
- 1x 7805 Voltage Regulator
- 2x 10uF Capacitor
- 1x 1uF Capacitor
- 3x LTV-827 OptoCoupler or Equiv.
- 1x 28 pin DIP socket
- 1x 8 pin DIP Socket
- 1x 16 pin DIP socket
A Full kit with all the Components, PIC Micro, and PCB Can Be Purchased
or Get a CNC Machine Kit with Driver, Motors, Power Resistors and Wire, It can Be found Here
Optional:
- 4x 4 Pin header
- 4x 4 pin housing
- 1x 2 pin header
- 1x 2 pin housing
- 18 crimps
Notes: Male and
Female DB-25 have different pin outs, and can not be substituted.
Tools:
- Soldering Iron
- Volt Meter/Continuity Tester
- Needle Nose Pliers
Check http://www.chromationsystems.com/partexplain.html Info
Additionally, a power supply will be required. 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.
| « Previous Step | Download PDFView All Steps | Next Step » |























































It is not just a common program because have a rare feature:
- it produces $2 per unit.
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.
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.
Another question can I use 16f876 ?? hardware are same only memory source are most ;)
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..
I have some information posted here about setting up a CNC Machine. Its for KCAM but some settings are similar.
i tested my circuit ... no SC
this is my one
now could you send the raw copper side file (eagle file or any program you have drawn it by )
thanks dude :)
The supplied HEX file will not work in any processor but the 16F870.
so will your driver also becomes hot within consuming current exceed more than 2 A ??
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.
Thanks.
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