Hi, please I need a help using 5205-2 h-bridge. I am very new in electronics.
I have recently got a 5205-2 h -bridge and I want to run a motor drawing around 1.5A at 9V. When I am connecting the DC supply from an battery charging adapter without giving any input signals, the motor spins in CW direction.
But later when I give TTL signals from arduino to pin3, it again runs in the same direction. After changing the input to Pin5, motor vibrates as if it is getting some alternating output.
Then I connected and programmed arduino to changes direction in every one second. It does changes direction every second, but then again it gives very erratic alternating output in both directions.
The arduino code i used is as shown below.
const int input1 = 3;
const int input2 = 4;
Moderator edit: [code] [/code]