CNC Plotter
CNC Plotter
Project 1
Presented by:
Yussuf Sherif Fathallah
(20180985)
Submitted to:
DR. Hossam El Din Ramadan
Contents
Abstract ................................................................................................3
Introduction .........................................................................................4
chapter 1 ...............................................................................................5
Chapter 2 ..............................................................................................5
Chapter 3 ..............................................................................................7
Chapter 4 ............................................................................................10
Conclusion ..........................................................................................11
References ...........................................................................................12
This project shows how to design and build plotter machine based on
the open-source hardware and software. The Arduino plotter machine
has been dependent on the principle of Computer Numerical Control
with limited area depends on the motion X, Y and Z axes. The
objectives of this project are to design the Plotter and to develop
open-source software for controlling the machine. Basically, the
system of this plotter machine is modelled by solidworks software to
work with three axes stepper motors (as X, Y and Z axes), these three
stepper motors are controlled by shield for movement (X, Y and Z
axes).
Introduction
First the plotter has 3 degrees of freedom where the pen can move up
and down in the Z axis and the pen is free to move along 2D plane X-
Y axis. The pen is controlled by mini servo motor for upward and
downward movement. Two bi-directional motors are used in which
each motor is used for the X axis and the Y axis. Second there are
three systems for the CNC plotter which are mechanical system
design, electronics system wiring and computer software tools.
Chapter 2
Mechanical system design:
The structure of CNC plotter machine has been designed and
modelled in solidworks software with desired dimensions and all parts
of CNC machine will be achieved before implementation the
hardware of actual CNC plotter machine. Before starting the design,
there are many steps of criteria that must be explained. Length of
travel mean the linear movement of stepper motors that controls X, Y
and Z axes. The left-right motion is controlled by X axis stepper
motor, front-back motion controlled by Y axis stepper motor and the
will pen go up and down by Z axis stepper motor controller. The
following figures show a concept design for CNC plotter machine by
solidworks.
The main components of the plotter are two stepper motors and a mini
servo (moves the pen in Z-axis) where these as said before control the
movement of the machine in the three planes which are shown in the
figures below:
The power exerted from the motors is transmitted by timing belt and
pulleys to move the pen across the three axes.
Chapter 3
Electronics system and wiring
This section will discuss the electronic parts and wiring which is
needed for designing and building the CNC plotter machine. So, the
main electronic component required are Arduino UNO R3, CNC V3
Shield with A4988 Driver Module with Heatsink for Arduino, stepper
motors, mini servo motor, D.C. power supply, pen holder, to serial
adapter.
The Arduino CNC Shield makes it easy to get your CNC projects up
and running in a few hours. It uses opensource computer code on
Arduino to control 4 stepper motors using 4 pieces of A4988 Stepper
Motor driver breakout board, with this CNC shield and Arduino Uno,
can be build project including CNC routers. The purpose of this CNC
shield to control on the three axes (X, Y and Z axes) of CNC plotter
machine, meaning control on the stepper motors and the mini servo
motor. The shield and heatsink are shown in figure 6 below:
The digital pulse stepper and servo can be converted into the
movement of the pen with respect to the X, Y, Z axes directions. The
stepper motor is a brushless motor that distributes full rotation in
several equal steps. The stepper motor in figure 3 has the property of
converting several drives to a specific increase in the position of the
column. The servo motor rotates and push parts of a machine with
precision. Servos are mainly used on angular or linear position and for
specific velocity, and acceleration. Each pulse from the Arduino
moves a column through a known fixed angle. This machine has used
two stepper motors and servo with pulleys and three timing belts. The
output of the motor will be in the form of the rotation of the pulley by
the belt with respect to the X, Y and Z axis.
Arduino IDE:
The open-source Arduino Software (IDE) makes it easy to write a
code and upload it to the board from the following site (
https://www.arduino.cc ). It is simplified C/C++ functions language-
based programming which can be downloaded with a rich set of
library functions. After downloading and installing it on pc it can
write the program by C language. After that the code can be uploaded
on the Arduino. Figure (8) shows Arduino software IDE.
Figure 8 IDE
Easel software:
As to make the CNC plotter machine plot and write it needs software
tools to design the graphs and then convert this graph to G-code for
the CNC machine to operate and understand G language, this tools
can be achieved by easel software tools, the dimension of the material
must be set and set Bit to 0.15 mm because Z axis is pen. Through
this software can be set positions of X, Y and Z axes, also can control
the speed of CNC machine mm/min from feed rate as shown figure
(9).
Figure 9 Easel
Conclusion
3) Jayachandraiah, B., Krishna, O. V., Khan, P. A., & Reddy, R. A. (2014). Fabrication of Low
Cost 3-Axis Router. International Journal of Engineering Science Invention, 3(6), 01-10.
8) Xu, X. W., & Newman, S. T. (2006). Making machine tools more open, interoperable and
intelligent—a review of the technologies. Computers in Industry, 57(2), 141-152.
9) Haitao, Z., Jianguo, Y., & Jinhua, S. (2007). Simulation of thermal behavior of a machine tool
spindle. International Journal of Machine Tools and Manufacture, 47(6), 1003-1010.
10) Zhu, S., Ding, G., Qin, S., Lei, J., Zhuang, L., & Yan, K. (2012). Integrated geometric error
modeling, identification and compensation of machine tools. International journal of machine
tools and manufacture, 52(1), 24-29.
11) Saakes, D., Cambazard, T., Mitani, J., & Igarashi, T. (2013, October). PacCAM: material
capture and interactive 2D packing for efficient material usage on cutting machines. In
Proceedings of the 26th annual ACM symposium on User interface software and technology (pp.
441-446). ACM.