Stepper motor controller
Hi, in this post i will explain the stepper motor controller, the "smart" part of the driver also called ROAR HB brain module.
There are a few things that should be noted here, this is not just a simple stepper controller it's a smart controller which can be easily updated and changed.
Some advantages of the driver :
- more drive modes selectable by jumpers or program (normal, half step, high torque)
- power saving mode
- ability to add temperature sensors, limit sensors to protect the machine
The driver is built around a pic16f84 microcontroller, basically the circuit is a tension stabilizer, an oscillator for the pic microcontroller, some components to set pin B0 as interrupt and all the ports pins are connected to pins so they can be easily connected.
WARNING: to create this you will need to program the pic microcontroller, and for that you need a programmer, you can see how to build one on this blog, here : pic 16f84 jdm programmer
Here is a picture with the final product :
For the pcb design i used the eagle software (great software) to create first a schematic then the board and then the print files,
here is the schematic :
The huge advantage for this is that you have all the port pins connected to pins, and all of them except the pin b0 (which is made to be kept low or high) can be used for anything.
In this case we have pins bo - tact, pin b1 - direction, pins b2- b5 as phases selection.
And now here are the designs for this schematic :
And here is the file ready to be printed, this file is at the actual dimensions :
In the above image the top layer is already mirrored so all you have to do is print it and follow the instructions from this post : How to create PCB’s using toner transfer method
All you have to do now is to program the pic, here is the compiled version : Compiled program
The program is compiled using ccs compiler, if you are interested here is the source code : source code
And this is is.... have fun.
Related posts:








July 21st, 2010 at 5:02 am
Buy:Accutane.Mega Hoodia.Synthroid.Lumigan.Retin-A.Prednisolone.Valtrex.Arimidex.100% Pure Okinawan Coral Calcium.Actos.Zovirax.Nexium.Human Growth Hormone.Petcam (Metacam) Oral Suspension.Prevacid.Zyban….