Can I power my arduino and DC motor separately

sorry if this is a noob question but when it comes to electronics I want to be sure so I don't damage anything. I'm following this circuit diagram below with arduino uno r3, nema 17, a4988 driver. My power supply to motor is going to be a 12V 5A dc wall adapter that I connect to the female adapter. And I was going to connect my uno to my laptop via usb. Is that correct?

dc wall adapter

Make the motor power connections like this, short wires directly to the Vmot and GND pins

Everything else is OK
If your motor uses a lot of current, you may have problems using a solderless breadboard but you can try it for now.

Welcome Back
Powering them separately is the preferred method, but it is very important that the grounds be connected.

My Nema17 can only handle 1A so I think it should be fine, thanks for the advice

Yes.

Also true of the A4988, so be sure to set the motor driver current limit to 1A or less.

Yea I was gonna do that, I was wondering is there like a specific screw driver I need for the potentiometer on the driver or does any arbitrary on the fits work. I hope I don't shock myself when using the multimeter lol

Anything that fits the slot on the potentiometer will work. Voltages below 50V are not considered a shock hazard.

Good instructional video on setting stepper driver current limit

Hello, so I'm a little confused here, I read online that roughly 1 Amp is the breadboards limit. So how can I connect a 12V 5A power supply to it? I'm also looking to control 3 1amp nema17 so I probably need a larger power supply in the future so I need to know how much juice I can input into the breadboard

Answered in your other post on this same topic. Please do not cross post.

Like I show in my diagram.
See post #2

So after running the NEMA17, when code is uploading my motor makes loud noises and kinda rotates randomly. I'm assuming this isn't normal?

It might be, depending on your software!

So what? Does the motor do what you want, after the code is uploaded?

Need to see your code.

yes it does, so i hope that's fine

hello so now I'm looking to add the following quadrature encoder to my circuit above,


both the encoder and a498 driver need to be connected to arduino's 5 volt and gnd. So I can connect the arduino's 5v and gnd to a breadboard positive and negative rails, then connect the driver and encoder to those rails for the 5 volt and gnd connection right? Also what software can I use to create these circuits?

thanks

Yes, it is OK to use a breadboard for 5V power distribution.

However breadboards are not designed for motor currents, so make direct connections from the motor and motor power supply to the driver.

what software can I use to create these circuits?

If you mean a circuit diagram to upload to a post, a photo of a pencil and paper drawing is fine, as long as pins, parts and connections are clearly labeled. Otherwise, please explain what you mean by "create these circuits".

yes what I meant was draw the circuit to post on forums to double check stuff

So here's what I meant below

tinkercad doesn't have a a498 driver or a encoder so I just used a integrated chip and dc motor with encoder to explain what I meant. Again I just wanted to confirm before hooking it up that I can connect the arduino's 5 volt and ground to the rails, then connect the encoder and driver to those rails for their respective 5volt and ground pin.

Thanks