3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Animated 'Haunted' Ouija Board

Step 13The Updated PCB and Code...

Finally, I have now uploaded the revised 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 StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
1
Author:askjacob
Like making things. Like breaking things (to see how they work). Lost many a great toy in my youth to curiosity. Now I feel more confident to put thing back together again...