Digital PID-Based Control for a Low-Cost CNC Plotter Machine

Main Article Content

Najeb Elgeme
Radwan Khershif
Abderaof Elmrabet
Blqees Omar

Abstract

This paper presents the development of a cost-effective Computer Numerical Control (CNC) system using an embedded microcontroller platform. The system utilises a Proportional-Integral-Derivative (PID) control algorithm, implemented on an ESP32 microcontroller, to achieve precise motion control of stepper motors. The design features a custom-built G-code interpreter and a user interface that supports both manual and automated operation. Experimental validation was conducted using a prototype CNC machine, demonstrating reliable positioning accuracy and smooth motion control. The results confirm that the proposed system offers a low-cost alternative to commercial CNC controllers while maintaining satisfactory performance for educational and small-scale manufacturing applications.

Article Details

How to Cite
Elgeme, N., Khershif , R., Elmrabet, A., & Omar, B. (2025). Digital PID-Based Control for a Low-Cost CNC Plotter Machine. University of Zawia Journal of Engineering Sciences and Technology, 3(1), 12–25. https://doi.org/10.26629/uzjest.2025.02
Section
Electrical Engineering