I need some help with a Raspberry Pi robot I am attempting to put together.
I'm using an L298N h-bridge to manage both DC motor wheels. I have a simple python script on the Pi which should simply drive the bot forwards and backwards. However, the wheels don't move. Instead I just hear a low pitched whine.
I am powering the Pi and the h-bridge from 5V usb ports off a power bank. For the h-bridge, I connected each motor to A and B, to ground and to 5V.
To eliminate the potential that both DC motors are damaged, I put the positive and negative leads from a 9V battery to the solder points of each DC motor and both respond ... spinning fast in one direction and in the reverse when I switch the polarity of the battery leads.
When I tested the connections for each motor, I got 0.23V - which I'm guessing is the problem.
Can anyone please advice on how I can solve this problem and get my robot moving?