Hello!
I have this project for university(I'm a total beginner) and I have to do a mini-car. I made the following hardware connections in the image attached(except the Bluetooth), and the code attached:
(Components: Arduino Uno, L298N dual bridge and DC motors)
The problem is that when I run the code, motors are not working(I checked them and they work with a battery), but the LED from the h bridge flicker(just as the respective motors should work - led4..2) but not the motors.
Thank you for your time and if there is more information needed, please ask!
Trying to run those motors (and a bluetooth module) from the Arduino 5V pin is asking for trouble. Get some more power for the motors. 4 x AA batteries will probably work.
Also you have set up enable pins but you don't use them or even set their pinMode(). Why not?
And next time post your code in here. People on mobile devices can't read attached .inos and lots of others won't bother.
Start with a schematic, not a frizzy thing showing all power and ground connections as well as the interconnections. Include links to each hardware piece showing the technical information and how you are powering it. Remember an Arduino a Power supply it is NOT