I need to run a Nema stepper motor and drive it using an arduino as shown in this circuit: enter image description here

As power supply I have a 12V universal charger: enter image description here

How can I get the ground and the VCC of my 12V power supply so that I can connect them to the ground and VCC input pins of the motor driver (the red board)?

  • \$\begingroup\$ Verify your +12V wiring to board! See @Peter Jennings \$\endgroup\$
    – Antonio51
    Commented Feb 13, 2022 at 7:12

1 Answer 1


Looking at the data sheets for the controller board and an Arduino Uno, you appear to have 2 options. You already have ground connected to all 3 as shown in the diagram.

  1. Run a wire from the 12V supply to the Arduino Vin Pin 8 Power strip area. This is by far the easiest way.
  2. The L289 controller board has an on board 5V regulator which is brought out to the blue power terminal block marked 5V Power in the data sheet. It is specifically designated to power things like an Arduino. Use that via the Arduino's USB socket.

NOTE: There appears to be an error in either your diagram (widely reproduced in several other forums where similar questions are asked) or the L289 data sheet. Your diagram shows the 12V supply connected to the outermost connection on the controller's power connections block. This is marked as the 5V output on the L289 data sheet. This data sheet shows the 12V input to be the other end of the 3-way block with the common Power GND in the middle. You need to check this out before applying any power.

There is a lot more data out there in various Arduino specialist forums and probably the SE Arduino site. All you need to do is google for it.

  • \$\begingroup\$ Thanks! Actually my question is more about how to run a wire from the 12V supply. I guess I need to disassemble it \$\endgroup\$
    – S.E.K.
    Commented Feb 13, 2022 at 9:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.