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.

How to make an H-bridge

Step 13Testing... Testing... 1... 2... 3...

Testing... Testing... 1... 2... 3...
Now is time to see if it works.

Think of the red and black wire closest to one edge of the board as one set. Think of the farther red and black wire as another set. In the image below, I twisted the two wires of each set together.

When the H-bridge is triggered by the SPDT relay, either one set or the other set, at any given time, will have power flowing through it.

So, if we were to attach an LED in series with a 220 ohm resistor to each set, when we plug in a battery and flick the switch, either one LED will light up or the other will light up (see images below).


Troubleshooting


If your H-bridge doesn't work this way, make sure:
1. You are using the right "set" of wires
2. All of your wires are routed correctly (See diagram below)
3. You made all appropriate soldered connections and are not missing any wires
4. You have no crossed wires (The voltage regulator will most likely be excruciatingly hot if you do. You should also be able to see where it is crossed... usually.)
5. Your relays work (You can check by bridging the positive end of the coil directly to the 5V power source. When you do this, you should hear a little click)
6. Your battery isn't dead (Quickly touch an LED to it and see if it lights up)
7. Your LED isn't dead (try another LED)
8. Your LED isn't backwards and preventing the flow of electricity (Try turning it around).
9. The gods of electronics aren't angry at you.
« 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!
2350
Followers
200
Author:randofo(Randy Sarafan loves you!)
I am the Technology Editor here at Instructables. I am also the author of the books 'Simple Bots,' and '62 Projects to Make with a Dead Computer'. Subscribing to me = fun and excitement!