H-Bridge Driven by Raspberry PI GPIO

Thread Starter

Gage Haas 1

Joined Mar 15, 2018
2
I have designed this circuit to operate based off of the fact that when a transistor is in saturation mode it will behave as a switch when a voltage is applied at its base. The base voltage is greater than the emitter voltage, but the base voltage is less than the collector voltage. The H-bridge is supposed to allow a path for a motor to be operated in one direction when a gpio pin is activated and then also to reverse the polarity when the gpio is activated on the second set of switches. This motor is being powered by a lithium ion battery of 3.7V. This circuit is not operating as it should and I am unsure as to why it isn't working when the transistors are in saturation and should behave as a switch. The green circuit shows the path for the top LED and the blue one shows the path to the bottom one. I used these LEDS to show the reverse polarity as you cant simulate a motor moving. I am unsure as to where I have gone wrong in this design as my base voltage is greater than the emitter but less than the collector. I have attached an image of the circuit.
 

Attachments

Thread Starter

Gage Haas 1

Joined Mar 15, 2018
2
Also would there be any use in using pulse with modulation instead of just a constant high or low signal? I noticed when I flipped the switches on and off the leds would light up. This switching seems like pwm would mimic that, however I dont understand why it would need pwm to work if this is the solution. I accidentally burned out the transistors so I have not gotten a chance to test and see if this would work with pwm.
 
Top