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.


Tree Climbing Robot

Step 3Motor Controller

Motor Controller
«
  • schematic.gif
  • P6151145.JPG
  • P6151147.JPG
  • P6151152.JPG
  • P6151155.JPG
  • P6151153.JPG
  • P6151154.JPG
  • P6151156.JPG
  • P6151158.JPG
  • P6151159.JPG
  • P6151160.JPG
  • IMG_0432.JPG
  • last photo ←
»
The motor controller I built for this robot is based off the L298HN Dual Full Bridge chip.  To use the chip, I followed the guide here.  To start out, I placed all the components on a piece of perf board, to figure out the layout.  With this chip, each motor requires three inputs to work:  an enable signal and two input signals.  The enable signal is used to control the motor speed with PWM, but since I did not need to control PWM, I just wired all the enable pins in parallel to a 5V line when I hooked the controller up to the Arduino.  Once I figured out the layout, I soldered all the components in place, and made connections with 22AWG solid core wire.  Finally, I spread some thermal paste on the back of the L298's, and screwed on the heatsinks.  The particular heatsinks I used were made by cutting in half a northbridge heatsink from a computer motherboard, and drilling and tapping a hole for the screw.  They are probably much larger than needed, but there is no harm in having over sized heatsinks.  A higher resolution image of the labeled board can be found here.

When finished, this motor controller should be able to bidirectionally control 4 DC motors at up to 2A each (probably 2A continuously, because of the size of the heatsinks).  As you may notice, this leaves me one motor short.  My original design used a servo to actuate the spine, but I had to change my design to using a DC motor.  To power it, I wired my third L298 chip to a molex connector (so I can disconnect the motor) and soldered on wires for all the connections.  It does not look as pretty as my controller on a circuit board, but it works.
« Previous StepDownload PDFView All StepsNext Step »
5 comments
Mar 26, 2012. 3:59 PMGENERALCHAOS says:
u can use transistors to control the L298HN like the L293D ?
Mar 26, 2012. 5:31 PMGENERALCHAOS says:
i was asking can it work im making a EAGLE PCB atm i have it done on the proto but i messed it up wired it wrong i have 3 and 1 is im use to control two Honda AC cooler door servos for a solar sun tracking
Mar 26, 2012. 6:18 PMGENERALCHAOS says:
it feels saver with the resistor controlling the 5 volts to CHIP KIT MAX32 the 5 volt gonna be regulated to power the chip kit and the transistor im just wanted to set it up like it make me feel saver theres another 1 to it a 2 pin and leave me with extra pin to control more stuff if u nee to

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!
87
Followers
16
Author:Technochicken(BuildIts)