How to connect a stepper motor to the driver, color coding of wires
The eternal problem, which wire to connect :)
OPTION 1
Motor Nema17
DriverA4988 Polulu
1A - green
1B - black
2A - blue
2B - red
OPTION 2
Motor Nema17
Driver DM420A
A + black
A - green
B + red
B - blue
A SPECIAL CASE
There are such motors Nema17 , whose wires do not have the same color as all :)
Marking for such wires I write in brackets:
A + black (red)
A - green (green)
B + red (yellow)
B - blue (blue)

Comments [1]
Add comment
Random DIY
-
The 3D model of the fan is very simple, easily wound on a collet clamp. I put it on my CNC machine. The first launch proved to be very good, all the chips are scattered to the sides, clean under the cutter.
-
This is my first CNC machine assembled with my own hands from available materials. The cost price of the machine is about $170.
-
Today, instead of round guides, the printer received square, using a conventional aluminum profile tube with a cross section of 20 * 20 mm. Bearings roll along the pipe 623zz. All plastic parts were printed on the same printer before it was altered.
-
I decided to update the old, already charred stand for the soldering iron. Simple and does not take up much space on the table.
-
I made this powerful lawnmower myself for the village, there is always a lot of high grass, which is not rational to fight with the usual manual trimmer. This animal mows down everything, tough grass, small trees, levels of hills, covered with moles, and even turns old bricks out of the ground.






Thanks for this :)