Design and Implementation of a Closed-Loop CNC Engraving Machine Using Arduino-Based PID Control

A This paper presents the design and implementation of a low-cost desktop CNC engraving system enhanced with a closed-loop control mechanism using Arduino microcontrollers. The system addresses key limitations associated with traditional open-loop configurations, including position loss, limited motion accuracy, and inadequate response to dynamic disturbances. A dual-microcontroller architecture was adopted, where an Arduino Uno serves as the master for user interface and G-code parsing, while an Arduino Mega 2560 acts as the slave for real-time motion control. Closed-loop regulation was achieved through encoder-based feedback on the X and Y axes, driven by DC servo motors, while the Z axis employed a stepper motor. A digital PID controller was implemented to improve motion stability and tracking performance. A wireless PS2 controller and LCD display were integrated to support user interaction and manual positioning. Experimental evaluation included PID tuning, calibration of encoder-to-displacement mapping, and dynamic response assessment. The results confirmed notable improvements in positional accuracy, repeatability, and responsiveness over the open-loop baseline. The study demonstrates the feasibility of building accessible, precise, and responsive CNC systems using open-source hardware, contributing to affordable digital fabrication technologies for education and small-scale prototyping.

Authors

Institutions

Publication Details

Journal
Journal of Open Hardware
Published
2026-02-14
DOI
https://doi.org/10.5206/joh.v10i1.24024
Primary Topic
Iterative Learning Control Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and Implementation of a Closed-Loop CNC Engraving Machine Using Arduino-Based PID Control

Moayed Haji Ali, Ali Ahmed, Ismael EHtiwesh
Journal of Open Hardware
Iterative Learning Control Systems
article

Design and Implementation of a Closed-Loop CNC Engraving Machine Using Arduino-Based PID Control

Moayed Haji Ali, Ali Ahmed, Ismael EHtiwesh
article en

Abstract

A This paper presents the design and implementation of a low-cost desktop CNC engraving system enhanced with a closed-loop control mechanism using Arduino microcontrollers. The system addresses key limitations associated with traditional open-loop configurations, including position loss, limited motion accuracy, and inadequate response to dynamic disturbances. A dual-microcontroller architecture was adopted, where an Arduino Uno serves as the master for user interface and G-code parsing, while an Arduino Mega 2560 acts as the slave for real-time motion control. Closed-loop regulation was achieved through encoder-based feedback on the X and Y axes, driven by DC servo motors, while the Z axis employed a stepper motor. A digital PID controller was implemented to improve motion stability and tracking performance. A wireless PS2 controller and LCD display were integrated to support user interaction and manual positioning. Experimental evaluation included PID tuning, calibration of encoder-to-displacement mapping, and dynamic response assessment. The results confirmed notable improvements in positional accuracy, repeatability, and responsiveness over the open-loop baseline. The study demonstrates the feasibility of building accessible, precise, and responsive CNC systems using open-source hardware, contributing to affordable digital fabrication technologies for education and small-scale prototyping.

Journal of Open HardwareVol. 10(1)
Hara University (AF)
Openalex Percentile: Top 56%
Iterative Learning Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Design and Implementation of a Closed-Loop CNC Engraving Machine Using Arduino-Based PID Control — Moayed Haji Ali, Ali Ahmed, et al. · Journal of Open Hardware (2026) | TGRS Research Map | TGRS