Help with H Bridge Circuit

Hello,

I am new to using Arduino and I am looking for some assistance with the following circuit.
H Bridge Project Arduino

Whenever I input the following code, I receive an error. Any help would be greatly appreciated thank you .

void setup()
{
pinMode(3, OUTPUT);
pinMode(9, OUTPUT);
}

void loop()
{
analogWrite(3, 25);
analogWrite(9, 0);
delay(1000); // run the motor at 10% speed for 1 sec for one direction (255*0.1≈25)
analogWrite(3, 0);
analogWrite(9, 0);
delay(1500); // Stop the motor allow to decelerate and settle for 1.5 sec
analogWrite(3, 0);
analogWrite(9, 25);
}

You appear to have nothing to prevent BOTH FETs on either side of the bridge from being briefly turned on at the same time. Odds are, you will blow up the FETs within a VERY short time. You really need to provide some means of providing "dead time" when switching the FETs, so one FET in each pair is positively turned off BEFORE the other side is turned on.

With so many very inexpensive, and well-proven H-bridge boards available, with current ratings up to at least 100A, I cannot fathom why you are attempting to "roll your own". An off-the-shelf one will literally cost less than the parts cost to build your own.

Hi Ray,

Many thanks for your reply.

This design won’t be physically made, it is part of a small project required to design a DC motor being controlled using an H bridge circuit. I just need to get it running on TinkerCAD but I’ve little experience in this subject so at a dead end

I don't use tinkercad. Does tinkercad have a feature for measuring voltages and currents?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.