[ Register ]

### Question #: 14716

Question: wiring for nema 24 stepping motor to microstep driver CW230. With BlueBrew board .

Current Solution

Three steps are involved: wiring the stepper motor to the CW230 driver, wiring the CW230 driver to the parallel controller and wiring power to the CW230 driver.

Wiring the NEMA stepper motor to the CW230 driver:
This will depend on the number of wires are coming out of the stepper motor. If the stepper motor has 8 wires, you want to wire it in bipolar parallel configuration. Check the datasheet of the motor for this configuration. If the motor has 6 or 4 wires, you don't necessarily need the datasheet, but it is quicker and more helpful. Otherwise, you can use a multimeter to determine the correct wires. Since both coils will have the same resistance across each, you can use a multimeter set to ohms, or resistance, to determine the wires for each coil. If there is OL on the multimeter for any two wires, that means it is an Open Line, or no connection. That could only mean that those wires are not on the same coil. If the reading shows a number, then those wires are on the same coil, and on a 4 wire stepper motor, that will be the wires to connect to either the A or B coil. If the resistance is half of a resistance of another set on a 6 wire stepper motor, then on of those wires if at the midpoint of a coil. On 6 wire motors, only use the wire pair that have the highest resistance. Those will be the wires on the ends of each coil. Connect one pair to the A terminals and the other pair to the B terminals.

Wiring the CW230 driver to the controller:
The Step-, or sometimes called CP- is connected to one of the numbered terminals between 2 and 7 and the DIR-, sometimes called the CW-, is connected to one of the numbered terminals between 2 and 7. X is typically connected to 2, and 3, step and DIR respectively. Y is typically connected to 4 and 5. Z is typically connected to 6 and 7. The 5v is connected to Step+, or CP- and DIR+, or CW+.

Make sure that Mach3, or LinuxCNC is configured for this configuration under ports and pins in Mach3, or the stepconf in LinuxCNC.

Let me know if there are clarifications that are needed here.

Respond:

### Other Possible Solutions to this Question

• Using your NEMA 24 stepping motor with microstepping, can I get a speed range from 3 RPM to 600 RPM ?
• I bought Nema 24 motors and driver package with usb board. What do i need to have more speed? Cant even jog past 25 ipm without the motor stalling (not having enough torgue)

We recommend checking the dip switch settings on your drivers, having the correct microstepping/amp settings along with the steps/unit will help the motors run as effective as possible.
This is a default parameter that we use while we test our motors:
Driver dip switch settings will be at a 1/16 microstepping and 2.7amp (11001100) for x/y-axis and the z-axis will be at 1/4 microstepping and 2.7amp (10101100).

In planet-cnc with increasing the motor speed, you will have to modify the settings in planet-cnc (File/settings/setup) you will modify the initial speed, maximum speed, and the acceleration.
X/Y-axis step/unit: 1422.22 initial speed:500 maximum speed:750 acceleration:25
Z-axis step/unit: 1600 initial speed:100 maximum speed:300 acceleration:25
The initial speed and maximum speed will have to be roughly tested and adjusted per application.
Make sure to adjust the JOG slide bard underneath the axis controls on screen to about 750, to compensate for your x/y-axis adjustments. If left alone the speed will max out at the default setting.

Here is a video tutorial to calculate the steps required depending on your mechanical linear motion components. (

)

I bought Nema 24 motors and driver package with usb board. What do i need to have more speed? Cant even jog past 25 ipm without the motor stalling (not having enough torgue)

• Can this driver accept 5 lead Nema 34 steppers: Stepping Motor Driver (24-70 volts DC, up to 6.0 amps, microstepping from 1/2 to 1/256)

Please measure the resistance between all the wires in all combinations to determine where these wires exists with the coils. I am not familiar with 5 wire stepper motors.

Can this driver accept 5 lead Nema 34 steppers: Stepping Motor Driver (24-70 volts DC, up to 6.0 amps, microstepping from 1/2 to 1/256)

• My Nema 24 motors make high pitched alarm sound when changing directions quickly - what could be the cause? Red LED is lit on Microstep Driver CW230 but everything seems to run fine - is this a problem?

Stepper motors are known to make different type of noises when in motion. So there should be no issues in regards to accuracy with the steppers. You also might be able to lower the noise that comes from the motors, by adjusting the acceleration and velocity of the motors. This usually tends to either make different noises or lowers the pitch of the noises.

Cool video(personal opinion, does not relate to BYCNC):

My Nema 24 motors make high pitched alarm sound when changing directions quickly - what could be the cause? Red LED is lit on Microstep Driver CW230 but everything seems to run fine - is this a problem?

• What is the number of pole pairs and rotor inertia for NEMA 23 Stepping motor?

You can find the wiring diagram, and technical specifications for the NEMA 23 motor, on it's product page, found here,

https://www.buildyourcnc.com/Item/electronicsAndMotors-nema23-100ozin-newbiehack-motors-stepping_motors-100_ozin

There is a datasheet below the product description. This image will expand to be easier visible once clicked on.

What is the number of pole pairs and rotor inertia for NEMA 23 Stepping motor?

• I cannot find a driver for the NEMA 14 Stepping Motor (17 oz-in 1/4" dual shaft) on your site, would something like the Pololu DRV8834 be okay? (I note that the stepper requires 2.7v)
• Are there torque-speed curves available for the NEMA 34 Stepping Motor (651 oz-in 1/2" dual shaft)?

The torque curve for the 651 oz-in stepping motor can be found here:

https://www.buildyourcnc.com/item/electronicsAndMotors-nema34-651ozin#prettyPhoto

Are there torque-speed curves available for the NEMA 34 Stepping Motor (651 oz-in 1/2" dual shaft)?

• Which power supply, 36V/8.8A or 24V/8.3, to drive one Nema 43 stepping motor?

You can find the wiring diagram, and technical specifications for the NEMA 23 motor, on it's product page, found here,

https://www.buildyourcnc.com/Item/electronicsAndMotors-nema23-100ozin-newbiehack-motors-stepping_motors-100_ozin

There is a datasheet below the product description. This image will expand to be easier visible once clicked on.

Which power supply, 36V/8.8A or 24V/8.3, to drive one Nema 43 stepping motor?

• Which power supply, 36V/8.8A or 24V/8.3, to drive one Nema 43 stepping motor?

The NEMA 43 motor we stock has a 5.5A draw, which we recommend to pair with our 6.0 amp driver and 36V 8.8A Power Supply.

Which power supply, 36V/8.8A or 24V/8.3, to drive one Nema 43 stepping motor?

• I HAVE NOT SEEN ANY REFERENCES TO STEPPING MOTOR ENCODER FEED-BACK FOR CLOSED LOOP CAPABILITY IN OF THE HARDWARE YOU SELL. THIS A SUPPORTED FEATURE WITH HARDWARE/SOFTWARE SELL?

I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

I HAVE NOT SEEN ANY REFERENCES TO STEPPING MOTOR ENCODER FEED-BACK FOR CLOSED LOOP CAPABILITY IN OF THE HARDWARE YOU SELL. THIS A SUPPORTED FEATURE WITH HARDWARE/SOFTWARE SELL?

• I AM USING A XYLOTEX 3 AXIS BOARD AND WANT TO ADD ANOTHER MOTOR SLAVED THE X-AXIS. WILL DRIVE CW230 WORK?

If the pins from the terminal block on the side of the board are outputs, or at least 2 of them are outputs, then you can connect our modular driver to the board (example: cw230). If they are all inputs, then you would not be able to connect an external driver.

I AM USING A XYLOTEX 3 AXIS BOARD AND WANT TO ADD ANOTHER MOTOR SLAVED THE X-AXIS. WILL DRIVE CW230 WORK?

• CAN I USE A STEPPING MOTOR WITH AN ENCODER?

I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

CAN I USE A STEPPING MOTOR WITH AN ENCODER?

• Do I have to use the Postep Driver with the Pokey57CNC usb/ethernet board. Can I use the Motor Driver (24-40 volts DC, up to 3.0 amps, microstepping from 1 to 1/64) With The Pokeycnc USB/Ethernet board.

Since the Pokey57CNC outputs standard pulse and direction signals, you can use any stepper driver. So, you do not need to use the Postep driver to operate your stepper motors.

The Pokey57CNC control board is extremely feature rich and can be use to control very complex light or heavy CNC systems. Since most CNC system use high current drivers, the Pokey57CNC can be used with these systems.

Do I have to use the Postep Driver with the Pokey57CNC usb/ethernet board. Can I use the Motor Driver (24-40 volts DC, up to 3.0 amps, microstepping from 1 to 1/64) With The Pokeycnc USB/Ethernet board.

• what is the driver needed for 425OZ on nema 24

The driver that the 425 oz-in motor requires is a 3.0 amp stepper motor driver found here:
https://www.buildyourcnc.com/item/electronicsAndMotors-stepper-driver-3!0a

This driver has the capability of various stepper motor current draws up to 3.0 amps.

what is the driver needed for 425OZ on nema 24

• SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

Here is the wiring diagram for the MAch3 USB breakout board:
https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

You will need 24 volt relays for the output on that board since that side of the board requires 24 volt power at the V+ and V-

Customer Response:
My inquiry is for the Planet CNC USB and 5v relays.
I am 99% finished with my 2 axis lathe build and this is the last item for me to conquer.
I want to control power to router, and vacuum with the BOB going through the 5V relays purchased on this site.
Thanks again.

Using the Mist, spindle or flood pins...

Buildyourcnc response:
There is an IN, GND and 5V for the digital side to engage the relay. There is an S, O and P for the power line of the device to be controlled.

The 5V and GND must be connected to the 5V and GND from the USB board. The IN is the wire from the output terminal (i.e. mist, flood, spindle).

For the power side, here are the scenarios:
- P to O connection is normally open
- P to S connection is normally closed

So, if you have the power wire that would plug into the wall, the L "black" wire from the power cord will pass through this part of the circuit (cutting the wire and one end in the P terminal and the other end in the O or S terminal). Generally, the P to O is used as this connection is normally open and when the relay is engaged, the circuit will close allowing the current to flow through that wire.

SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

• Do you sell 22 to 24 AWG stranded and shielded for wiring of the limit switches and E_Stop?

The wire that we sell for the limit switch wiring is here: https://www.buildyourcnc.com/item/3d-printer-component-cnc-electronicsandmotors-cable-wire-3-conductor-22-awg-wrcon-cablewire3conductor22awg

This is shielded cable to make sure there isn't any external interference with sensitive components and long wires associated with limit switches. This is necessary due to the interference caused by the motors on a CNC router and the milling process.

So unshielded is cool. That's what I was curious about. Cheers.

Absolutely. It's really the only type of cable I would recommend for connecting limit switches.

Do you sell 22 to 24 AWG stranded and shielded for wiring of the limit switches and E_Stop?

• HOW DO I WIRE FROM THE BREAKOUT BOARD TO DRIVER?

CP+ to COM
CP- to STEP
CP+ to CW+ (small jumper wire)
CW- to DIR

If the driver does not have CP or CW labels, the CP is Step and the CW is Direction or DIR. If you connect the 5v to CP+ (or Step+) and CW+ (or DIR+) and the pin to CP- (or Step-) and another pin to CW- (or DIR-), then in software, the configuration for the step on that axis must be active low. Otherwise, if you connect the GND to CP- (or Step-) and CW- (or DIR-) and the pin to CP+ (or Step+) and another pin to CW+ (or DIR+), then in software, the configuration for the step on that axis must be active high.

If you have a driver that is labeled pul, dir and ena: Pul+ is the Step+ and Pul- is the Step-. Pul is short for pulse. A pulse will create a step. Don't worry about the enable terminals.

On the x-axis, pin #2 can go to pul- and pin #3 can go to dir-. The 5v will go to pul+ and dir+. The configuration for each axis for step will be active low and toggle active low for the dir on each axis to make it go in the direction desired.

HOW DO I WIRE FROM THE BREAKOUT BOARD TO DRIVER?

• Can I use one motor drive 6A and conect 2 motor nema 24 425oz-in?, Can I do that??

Connecting two motors to a single, larger current driver, is not recommended. Theoretically, this may not be an issue; however, problems could occur where one of the motors draw more current than the other due to some external forces or friction and one of the motors stalling as a result.

If you need to have two motors turn in a synchronous way as a single axis, connect the two drivers to the same axis signal (the same step and direction pins from the breakout board).

Can I use one motor drive 6A and conect 2 motor nema 24 425oz-in?, Can I do that??

• CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales