Step 13The Updated PCB and Code...
Note that this PCB and code can be recycled to be used for any project that needs to use a 4-wire stepper motor, not just a haunted Ouija board!
The L293D motor controller is a pretty handy little chip - the PCB as is can also use it to control up to 2 DC motors, both forward and in reverse. With a bit of code work, you can also have proportional speed control using PWM for the two motors, so the PCB could be handy as a robotics motor control system. Rather than just a simple control for the motors, having the Atmega8 on board means you can make it an advanced controller, leaving your robot CPU free to do other work....
If anyone wants me to develop some revisions to the code for a general motor controller let me know and I'll get on it.
Attached are:
the .hex file : pre compiled code for the atmega8
the .bas file: Bascom AVR source code
the .sch file: The EagleCAD light schematic file
the .pcb file: The EagleCAD light circuit board file
Cheers and Happy New Year for 2008!
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|


















































