I have the following hardware:
L298N: https://www.aliexpress.com/item/33012645746.html?spm=a2g0s.9042311.0.0.104f4c4d6rIgnn
NEMA 17 Stepper Motor: https://www.aliexpress.com/item/32585429251.html?spm=a2g0s.9042311.0.0.104f4c4d6rIgnn
NodeMCU 1.0: https://www.amazon.com/gp/product/B081CSJV2V/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&th=1
12V Power Supply: https://www.amazon.com/gp/product/B01AZLA9XQ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1
I've wired it up according to this diagram:
However, since my motor has a black, a red, a blue, and a green wire, the colors are a bit different.
To the top set of terminals, I have the blue and green wires. To the bottom set, I have the red and black.
When the motor is activated, it doesn't turn, but slightly rumbles in place.
If I check the voltage across the green and blue wires or red and black wires when the motor is activated, I get a reading of between 0.9V and 0.12V, which I've read is way too low to power the motor.
Can anyone tell me why this is happening?
L298N: https://www.aliexpress.com/item/33012645746.html?spm=a2g0s.9042311.0.0.104f4c4d6rIgnn
NEMA 17 Stepper Motor: https://www.aliexpress.com/item/32585429251.html?spm=a2g0s.9042311.0.0.104f4c4d6rIgnn
NodeMCU 1.0: https://www.amazon.com/gp/product/B081CSJV2V/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&th=1
12V Power Supply: https://www.amazon.com/gp/product/B01AZLA9XQ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1
I've wired it up according to this diagram:
However, since my motor has a black, a red, a blue, and a green wire, the colors are a bit different.
To the top set of terminals, I have the blue and green wires. To the bottom set, I have the red and black.
When the motor is activated, it doesn't turn, but slightly rumbles in place.
If I check the voltage across the green and blue wires or red and black wires when the motor is activated, I get a reading of between 0.9V and 0.12V, which I've read is way too low to power the motor.
Can anyone tell me why this is happening?