Publication: Graphical user interface (gui) using matlab for didactic cnc milling machine
Loading...
Date
2021-07-01
Authors
Ahmad Faisol, Muhammad Fitri
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
This research is about developing a Graphical User Interface (GUI) for didactic Computer Numerical Control (CNC) milling machine. Due to the Arduino Uno microcontroller's incompatibility with industry-standard G-code, the G-code is interpreted and processed using Grbl, which is a G-code reader and parser. An Arduino Uno based CNC machine is programmed, so that it can perform in an efficient system. The GUI is used to interface between user’s computer and the Arduino Uno microcontroller. Generally, Computer Aided Design (CAD) and Computer Aided Manufacturing (CAM) trajectory is utilized to set up the position controller that performs as input reference, but it is a high-cost software. However, there is a low-cost alternative method to create the trajectory G-code This paper presents the GUI named as CNC coder. It is designed using GUIDE Layout Editor, in MATLAB GUI platform to generate G-code according to user input data. Therefore, a complete system code for three axes didactic CNC milling machine is developed using open-source software such Grbl and G-code. The uploaded Grbl firmware to Arduino Uno will give a high-performance CNC controller. The CNC milling machine is capable of three-dimensional alignment due to its three axes. The machine's accuracy was greatly improved. After improvement, including the analysis of the data from the studies, the error percentage was ranged considerably from 0.60% to 7.39%.