I´m programming one car with ARDUINO UNO R3, SENSOR SHIELD V5, ONE SERVO, ONE HCSR04 AND WITH L298N I want to control the sense and speed of TWO DC GEAR MOTOR.
The power for ARDUINO and LM298N are 4 batteries of 1.5V AA. I keep the jumper of sensor shield and the jumper of LM298N because the Voltage is less tan 12V.
It Works ok with the jumper of ENA, ENB on. But, when I want to control speed with one output with PWM from Arduino (9 and 3) the DC GEAR MOTOR doesn´t move.