Step 13Testing... Testing... 1... 2... 3...
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 Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|






















































