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.

Computerized Etch a Sketch

Step 12Wire up your breadboard

Wire up your breadboard
Wire up the L293D on the breadboard according to the schematic. Don't forget the 10K pull-down resistors--this is one of the handiest things I learned when dealing with L293 chips--the inputs have a tendency to 'float' high, and turn on even if your micro is asking it to stay low. The pull-down resistors keep this from happening.

If you're using an stk500, throw your mega48 into the green socket, and plug one of the 10-pin connectors into the portB header. Don't forget to wire the 5V and (more importantly) circuit grounds together. If you want to put the mega48 on the breadboard, that's fine, too. If I'm building a temporary circuit, I just like to use the stk so I don't have to wire up as much.

You'll also notice on the schematic that there are two power supplies, VCC and VDD. Vcc is the 5V supply that powers the atmega and the logic side of the L293 chip. There's another side of the L293 chip that deals with the power that actually goes to the motors, and it's a very good idea for these two power supplies to be separate. I used a pack of 4C cells to power the motors, and that lasted for three weeks of playing off and on with this thing.
« Previous StepDownload PDFView All StepsNext Step »
6 comments
Sep 10, 2008. 2:24 PMtrumpkin says:
where is the ground from the motor battery supposed to go?
Aug 29, 2008. 4:04 PMtrumpkin says:
would the pullup resistors be a different value if you used deifferent motors?
Aug 11, 2008. 9:58 AMtrumpkin says:
so pin 1, 16, and 9 are all connected to 5 volts?
Nov 23, 2007. 6:14 PMstasterisk says:
4 C-cells to get 6V, or for life, liberty and the pursuit of amps?

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!
65
Followers
17
Author:prank
here: http://www.artiswrong.com But really, I'm just this guy. For up-to-the-minute, action-packed updates on my life (and occasional drawings of tapeworms getting it on), check out my blog here: ht...
more »