A4988 + Nema17 (17HS4401) not working

Hello,

I'm trying to build a project for my chemistry lab using Arduino Uno R3 and I need to use a stepper motor.
I chose a Nema17 17HS4401 and connected it with a A4988 driver using a stepper driver module that I bought of Amazon.

I am using a 12V 2A adaptor and powering the Arduino (as in the photo) with a USB cable plugged into my PC.
I also adjusted the current using the formula I x 8 x R.

The motor receives around 11,9V on each coil constantly.
However, I can't get the motor to show any sign of life (no vibration nor rotation).

Here is my code

#include <Arduino.h>
#define dirPin 2
#define stepPin 3
#define stepsPerRevolution 200
void setup() {
  
  pinMode(stepPin, OUTPUT);
  pinMode(dirPin, OUTPUT);
}
void loop() {
  
  digitalWrite(dirPin, HIGH);
  
  for (int i = 0; i < stepsPerRevolution; i++) {
    
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(2000);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(2000);
  }
  delay(1000);
}

Since I'm using PlatformIO to code, I tried using the dedicated library

#include <Arduino.h>
#include <A4988.h>

#define MOTOR_STEPS 200
#define DIR 14
#define STEP 15

A4988 stepper(MOTOR_STEPS, DIR, STEP);

void setup() {
    stepper.begin(1, 1);
}

void loop() {
    stepper.rotate(360);
    delay (1000);
}

Same problem using a different motor and different pins.
The Arduino uno works fine for other projects.
I also checked both motors' coils and their resistances are ok.

Could you please help me if you know what I am doing wrong.
Thank you very much !!

NOT without a block diagram showing how you have all this wired together, including the power.

Thank you for your answer
Here is a diagram of what I did

I don't see a connection to the enable pin on the controller. Must be connected to ground to enable, or to an Arduino pin set to low.

I guess that the driver module sets a high voltage to the enable pin by default because the voltage is at 5V.
I also tried to connect it to the arduino and set it to high but I ended up with the same result !

Read the documentation. I think the enable must be LOW to "enable".

The enable pin must be at 0V (LOW) to enable the motor. If the pin at the A4988 ist left open, it is tied to ground by an internal pulldown resistor, but i don't know the schematic of your board. The voltage should not be at 5V(HIGH) - this disables the driver.

Thank you very much for your answers and your help!

In fact, it worked when I set the enable pin to 0V !