Raspberry Pi 4B LinuxCNC: Mesa 7I96S Ethernet Motion Control, Expanded to Four CL57T Drivers and Four Nema 23 Closed-Loop Stepper Motors
I now have four CL57T drivers and four Nema 23 closed-loop stepper motors for the X, Y, Y-tandem, and Z axes. This video briefly recaps the configuration and wiring, and concludes by running a test G-code program that draws a square on the X-Y plane, showing the X-axis motor and both Y-axis motors running.
🐧 Index of the Complete Series.
![]() |
|---|
| Raspberry Pi 4B LinuxCNC: Mesa 7I96S Ethernet Motion Control, Expanded to Four CL57T Drivers and Four Nema 23 Closed-Loop Stepper Motors |
I am just an ordinary computer programmer and not trained in any of the electronic engineering disciplines. This LinuxCNC project is a learning process for me. This post is not meant to be a tutorial or instructional guide; it is my own documentation so I will not forget what I have learned.
I am not to be held responsible for any damages or injuries resulting from using the information presented in this post.
💡 To expand on a few points from the video:
● This seventh post, Raspberry Pi 4B LinuxCNC: Main Power Distribution (Wiring), describes how all of the essential components are wired together to form a basic, functional, and testable machine.
● The fourth post, Raspberry Pi 4B LinuxCNC: Wiring the Mesa 7I96S Ethernet Motion Control, Closed-Loop CL57T Stepper Driver, and Nema 23 Stepper Motor, describes how to connect the motor driver to the Mesa 7I96S card. It illustrates the connection using a single driver and a single motor. The same wiring applies to the remaining three drivers and motors; simply use the next three slots on the Mesa 7I96S card.
● I have not yet settled on how to wire the four drivers to the UHP-750-36 power supply. In the video, I am temporarily using two common distribution blocks. Please see the picture below, which is also included in the video:
![]() |
|---|
| UHP-750-36 PSU To Drivers Using Common Distribution Blocks |
There is also the option of using DIN rail terminal blocks. I may choose this option for the final wiring.
● The GitHub location of the draw-square G-code program is available here.
✿✿✿
Feature image source:
- https://www.instructables.com/Easy-Raspberry-Pi-Based-ScreensaverSlideshow-for-E/
- https://forum.linuxcnc.org/show-your-stuff/32672-linuxcnc-logo?start=20#gallery-6

