Simple CNC machine Students: Mahmood Yunis Shadi Tahseen Hanani
What is CNC In general CNC (Computer Numeric Controls) an advanced manufacturing technique that integrates computers and metalworking tools. Using CNC, an operator can create complex 3-D designs on a computer in a language called G-code.
Usage CNC machines have a lot of types ,shapes and purposes. No one can inclose all CNC purposes because its widely used in any manufacturing field. Some of its common uses : Cutting, milling, drilling and plotting ,etc…
Our machine To avoid mechanic difficulty We choose plotting operation to simulate other processes such as cutting.
Compatibility Our machine understand G-code language which is commonly used in CNC’s World. Advantages: benefit by existent smart algorithms that generate G-code for any complex computer shapes .
HW & SW Hardware : Pic 16F877 controller. Stepper motors and electrical movable arm Driver circuit for steppers H-bridges, MOS-FET and other components. Serial communication interface.
Cont.. Controller side software: We write PICC code to control the machine motion and pens. we use XY-interpolation to generate best sequence of x-y steps. The interpolation basically handle linear and circular motion.
Software Computer side software: C# application with simple and easy to use interface. The main important process is to open G-code file and send it serially to the machine. Other processes: edit G-code file ,serial synchronization. View G-code file as image.
Circular interpolation PIC side Block diagram Start Polling serial Manual controlling Receive file Circular interpolation Linear interpolation Move pens
PC side Block diagram Start Open G-code file Open Communication Edit file Scaling, rotation Send file