Hi
I purchase a stepper motor shield VMA03 for a arduino uno board. The model I bought is already assembled and I only had to plug it on top of my arduino board. I set the jumpers for external power supply and set the power supply to 5 V with 200 mA max current (connected to PWR+/- ). For the pin select the jumpers SK8, SK9, SK10 and SK11 set to the pins 2, 3, 8, 9. No stepper motor yet connected.
If I set the pins to output and pwr_a and pwr_b to low.
[code]const int pwr_a = 3;
const int pwr_b = 9;
const int dir_a = 2;
const int dir_b = 8;
void setup(){
// Initialize the pins, in the correct type of mode.
pinMode(pwr_a,OUTPUT);
pinMode(pwr_b,OUTPUT);
pinMode(dir_a,OUTPUT);
pinMode(dir_b,OUTPUT);
digitalWrite(pwr_a, LOW);
digitalWrite(pwr_b, LOW);
}
[/code]
According to the datasheet of the VMA03 and the L298P(driver IC, which is soldered on the VMA03) pwr_a / pwr_b connected to the enable inputs of the two bridges in the IC.
pwr_a/pwr_b = LOW => I assumed that this means the L298P is disabled!? => Why is my power supply then warning me that the current has been limited to the maximum current? Shouldn’t be the current consumption almost zero, especially when no motor is connected? (If I measure the voltage on outputA and outputB it is zero.)
Thanks for your help.
Regards
Zwiggel