4 lead stepper motor SKU 0503

Hello, I have no idea how to wire up the stepper motor I just bought part number (FIT0503) I have limited knowledge and I usually buy bigger stepper motors with driver boards where it’s plug in and play

This stepper motor is small and I am going to cut off the small Jst57sh connector and solder on male jumper cable ends so I can plug them onto the DVr8825 module and then connect to an Arduino.

Of it helps the colours of the wires are black, yellow, white, red.

1 Like

According to the fit0503 product documentation the leads are:
Red B
White B-
Yellow A
Black A-
According to the DRV8255 device documentation the pins are:
BOUT1 10
where AOUT1 would correspond to A, AOUT2 to A-, etc. However, you indicate you are using a module and the pin numbering of the module probably does not correspond to the chip. Typically, the module pins will be labelled A1, A2, B1 and B2.

Note that it is important that the correct pairing (A and B) is maintained, but it doesn’t actually matter which pair is A and which pair is B.


Here’s the links for the datasheets if you’re after them @David84410

They’re also linked on the site for each part, Jeff has found exactly the info you’re after, thanks again for helping out!

1 Like

Thanks a lot for your reply and I nearly understand but could you please explain it like this…

Red lead A to A1

Black lead B to A2

Ect ect I know the above is wrong but that’s how I will be able to understand if you would help I will be really appreciative…

I just are limited with some terminology

1 Like

There is no right way - many different combinations will work, and are often dictated by the cables you have available and the connectors on the devices. You haven’t indicated what the labeling on the driver is, but if it follows the standard Polulu device labelling it would be:

FIT0503           DRV8255
Red B                B1
White B-             B2
Yellow A             A1
Black A-             A2
1 Like

By you saying labelling I am guessing you mean wring on the module?

Here it is in the picture

1 Like

Hey David,

That’s correct, the terms module and driver in this context are interchangeable. The wiring that Jeff suggested should do the trick. Below I’ve linked a couple of tutorials that you should be able to follow in order to get your stepper motor setup with this particular DRV8825. Please let us know if you have any further questions.


James said he will do a test and send me through the wiring mate


1 Like

Can someone ease explain this because I am a newbie…

If I was connecting a 4 wire stepper to an Arduino to pins 8,9,10,11

What order do I put the wires?

A- pin 8
A+ pin 9
B- pin 10
B+ pin 11

Can someone tell me the correct order for it to run smoothly?

Hi David.
You can’t connect the Arduino directly to a stepper motor. Not enough grunt and it would certainly not like the inductive load. You have to interface via the driver. Study the links Bryce has provided.
Cheers Bob


Yes, but I can’t work out the wiring

It works with the Arduino alone but will I blow it up if I keep using it that way?

I followed all of those tutorials this morning but I have a 4 pin stepper motor as you can see in the picture, there are no tutorials I can find for a 4 pin stepper

You will blow up the Arduino if you connect the stepper directly to it.

If your question is about wiring the driver and the stepper to the Arduino, then it is explained in detail in the Makerguides tutorial mentioned above: it is precisly what you are trying to do. Only two wires go to the Arduino GPIO pins - direction and step. The controller converts these instructions into the pulses required for the stepper motor, and at the same time provides the voltage and current needed to drive the motor. You should follow that tutorial step by step and when you run into a part that doesn’t make sense post back with an indication of where you got up to and what the problem is.


Ok I will thanks mate,
If that doesn’t work I’ll post a picture of me smashing it all with a hammer

1 Like

Uploading: IMG20210806155417.jpg…
Processing: IMG20210806155414.jpg…
[Processing: IMG20210806155406.jpg…]

I didnt connect the bit with the capicitor and the other bit circled because it should work without it I t right? Since it worked directly from the Arduino??

I am looking for a hammer

Can someone from core electronics call me and walk me through it before I lose it


Quite possibly, if you add any kind of load to your stepper causing it to draw excess current it’d be a good way to blow up your IC or fuse on the board. Without a load, the pins may be able to handle it, but it’s a risky game :sweat_smile:

The cap is there to deal with back-currents and filtering out voltage spikes, it’s a good idea, but shouldn’t matter too much if it’s not there.

If you hook up your wiring exactly as it’s seen in the image above, and run their demo code, it should run on your Uno. You could give the support team over at Core Electronics a call, although they would be providing the same explanation as provided here, and troubleshooting over the phone is always more difficult as you need to provide exact details of the problem to be able to determine a solution, and there’s no way to be able to share pictures easily.

In this case, I recommend taking apart the circuit you’ve currently put together, it seems to be correct, although it’s quite difficult to tell. Then run through these steps, trying to keep the connections as neat as possible:

  1. Disconnect the Uno from power

  2. Connect the RST and SLP pins to 5V on the Uno (there should be 2 ports side by side on the Uno labelled 5V and 3.3V, either voltage should be fine for a DRV8825)

  3. Connect GND-LOGIC to the ground on your Uno

  4. Connect DIR to pin 2

  5. Connect STEP to pin 3

  6. Finally connect the 12V and your motor to the same side as GND-LOGIC to the matching pins

Following this order listed, there should be minimal crossing of wires and it should be quite easy to hookup your motor. Please let us know if you run into any issues with it and we’ll see what we can do to help :slightly_smiling_face:

1 Like


I am not an electrical engineer

But I need this done tonight

It’s my own fault but ease help me…

And leading me to these data sheets is like me sending you a Chopin’s symphony and say … There ya go … Just follow that and you will be able to play it

Ok I’ll try again

The load that it will be running is a couple of grams of weight if that