How to connect a Stepper Motor to Raspberry PLC
Stepper motor and Raspberry Pi industrial PLC for industrial automation
5 October, 2021 by
How to connect a Stepper Motor to Raspberry PLC
Boot & Work Corp. S.L., Fernandez Queralt Martinez

Introduction

Stepper motors are electric motors very useful in the field of lasers and optics they are frequently used in precision positioning equipment such as linear actuators, linear stages, rotation stages, goniometers, and mirror mounts.

Other uses are in packaging machinery and positioning of valve pilot stages for fluid control systems. Or for commercial uses, stepper motors are used for intelligent lighting, camera lenses, CNC machines, or 3D printers, for example.

In this post, we will learn how to connect a stepper motor with the microstep driver to the power supply and the Raspberry Pi based PLC.

Latest Posts about Raspberry Pi automation

What is a Stepper Motor

A stepper motor, step motor, or stepping motor, is a brushless DC electric motor that divides a full rotation into a number of equal steps.

The motor's position can be commanded to move and hold at one of these steps without any position sensor for feedback (an open-loop controller), as long as the motor is correctly sized to the application in respect to torque and speed. 

Do not confuse it with a servo motor, which is one kind of closed-loop motor that is connected to an encoder to provide speed feedback & position. The motor which moves in discrete steps is known as the stepper motor.

Stepper Motor , Step motor , Stepping motor - How to connect a Stepper Motor to Raspberry PLC

What are Microstep Drivers

Microstep Drivers apply power to the appropriate step motor winding to produce torque. They precisely divide the current between the motor phases, thus positioning the step motor at smaller increments between full steps. They provide higher resolution but with less torque. Microstepping does not increase step accuracy but will allow a motor to run with less noise, minimize low speed resonance effects and produce smooth rotation over a wide speed range. 

Microstep Driver - How to connect a Stepper Motor to Raspberry PLC

Connections

So, connect the stepper motor to the microstep driver, which will be powered by the power supply. Then, connect it to the industrial Raspberry PLC as shown below.

 Connections between Stepper Motor and Raspberry Pi PLC - How to connect a Stepper Motor to Raspberry PLC
Stepper motorMicrostep DriverRaspberry Pi PLC controllerPower Supply
Blue cableA-

Red cableA+

Black cableB-

Green cableB+


DIR-GND-

DIR+RX

PUL-GND-

PUL+TX
Vdc
Vdc+
GND

-

 Now, would you like to know how to make your stepper motor run with an industrial Raspberry Pi PLC?   Know how >

Find what you are looking for
Search in our Blog

How to connect a Stepper Motor to Raspberry PLC
Boot & Work Corp. S.L., Fernandez Queralt Martinez
5 October, 2021
Share this post
Archive

Looking for your ideal Programmable Logic Controller?

Take a look at this product comparison with other industrial controllers Arduino-based. 

We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.


Industrial PLC comparison >>>

Do you want more information?

Just fill the form!

Tell me more!