l298n motor controller no voltage detected at input

first time posting please let me know if i have broken any conventions.

please help, my l298n driver does not seem to be working correctly. no voltage is measured when i connect a 12v input to the controller board.

i am using an adafruit trinket pro. (tested no issues in other systems)

12v peristaltic pump. (tested no issues in other systems)

12v power supply connected to mains. (tested as shown in images)

the system is rigged up as the circuit diagram specifies. although the l298n ground is connected to the arduino ground and the 5v+ l298n port is connected to the arduino 5v.

the regulator jumper is in place, no other jumpers are attached to the board.

Why does the board not power up when just connected to the 12v supply (regulator or no regulator)?

why does the multimeter display 0v when testing the l298n 12v in ports?

No power is passed from the input to the motor, no power is applied form the input at all?

Am i doing something wrong? Can anyone provide a comprehensive test to confirm the board is not broken?

all code was followed here https://howtomechatronics.com/tutorials/arduino/arduino-dc-motor-control-tutorial-l298n-pwm-h-bridge/

i have tested 2 different h bridges (supplied on amazon from TIMESETL) both show the same behaviour.

If you are really measuring the voltage on the INPUT terminals and the 12V power supply is connected to those input terminals and you measure 0V then the power supply isn't working.

Perhaps that is not what you mean so where EXACTLY are you measuring 0V?

Steve

Hello,

Did you say you are only using 1 jumper?

If the other 2 jumpers are not in place, you have to control these pins, otherwise it may not work.

See the image:

apologies for lack of diagrams please bear with my explanation:

  1. adafruit 5v connect to l298n +5v
  2. adafruit GND connected to l298n GND
  3. adafruit 6~ connected to l298n ENA
  4. adafruit 13 connected to l298n IN1
  5. adafruit 4 connected to l298n IN2
  6. l298n +12v connected to mains 12v adapter
  7. l298n GND connected to mains 12v adapter
  8. l298n OUT1 connected to motor positive pin
  9. l298n OUT2 connected to motor negative pin

regulator jumper connected
ENB jumper connected

in the configuration labelled above:

  • l298n LED is lit.
  • l298n GND and +5v shows ~5v on the multimeter
  • l298n GND and 12v+ shows 0v on the multimeter
  • l298n OUT1 and OUT2 shows 0v on the multimeter

2 power supplies have been tested with 2 l298n modules with the same result. The power supplies are certainly not at fault as they both have been tested both with the multimeter and powering the motors directly.

Also here is a version of the code which has also been tested. I'm starting to think I have missed some crucial configuration or have received a bad batch of components.

#define enA 6
#define in1 13
#define in2 4
void setup() {
  pinMode(enA, OUTPUT);
  pinMode(in1, OUTPUT);
  pinMode(in2, OUTPUT);
  digitalWrite(in1, LOW);
  digitalWrite(in2, HIGH);
  digitalWrite(enA, HIGH);
}
void loop() {
  analogWrite(enA, 255);
  digitalWrite(in1, HIGH);
  digitalWrite(in2, LOW);
}

Really appreciative of the help so far have ordered a few more l298ns from a different supplier to see if I'm losing my mind or just a terrible maker.

pictures as promised