i
  1. Week 1 : Project Management
  2. Week 2 : Computer-aided
  3. Week 3 : Computer Controlled Cutting
  4. Week 4 : Embedded Programming
  5. Week 5 :3D Scanning and Printing
  6. Week 6 : Electronic Design
  7. Week 7 : Computer Controlled Machining
  8. Week 8 : Electronics Production
  9. Week 9 : Input Devices
  10. Week 10 : Output Devices
  11. Week 11 : Networking and Communication
  12. Week 12 : Mechanical Design and Machine Design
  13. Week 13 : Midterm Review
  14. Week 14 : Molding and Casting
  15. Week 15 : System Integeration
  16. Week 16 : Interface and Application Programming
  17. Week 17 : System Integeration
  18. Week 18 : Wildcard Week
  19. Week 19 : Applications and Implications, Project Development
  20. Week 20 : Invention, Intellectual property and Income

Automated CNC Foam Cutter Machine





In this week, I worked with Fab Lab Trichy students to build this machine.

Trichy Lab

Presentation

Things to be done for the week

  1. Documented the machine building process to the group page
  2. Documented your individual contribution to this project on your own website
  3. Linked to the group page from your individual page as well as from group page to your individual pages
  4. Shown how your team planned, allocated tasks and executed the project (Group page)
  5. Described problems and how the team solved them (Group page)
  6. Listed possible improvements for this project (Group page)
  7. Included your design files (Group page)
  8. You need to present your machine globally and/or include a 1 min video (1920x1080 HTML5 MP4) + slide (1920x1080 PNG) (Group page)

Mechanical Design

Group Assignment Contribution

In our lab we have the thermal cutting machine, but it has some issues by using that.




Individual Contribution



Machine Design

Group Assignment Contribution




Individual Contribution



1. Required Components

2. Hardware Assembly

A. Mounting the CNC Shield

Plug the CNC Shield V3 directly onto the Arduino Uno R3.

B. Inserting Motor Drivers (A4988)

Insert each A4988 stepper motor driver onto the CNC shield with correct orientation. Match EN, DIR, STEP, GND, VDD, etc. pins on the driver to the shield layout.

Refer to the official A4988 datasheet: A4988 Datasheet

C. Connecting Stepper Motors (NEMA 17)

Identify stepper motor coil pairs using a multimeter or datasheet.

Connect the motor wires to the CNC shield's motor terminals in correct order, e.g., B1 A1 A2 B2 or A1 A2 B1 B2 depending on motor datasheet.

3. Power Supply Connection

Connect a 12V 2–4A DC power supply to the CNC Shield power terminal.

Red (V+) to VCC, Black (GND) to GND. Do not power through USB alone — external power is mandatory for motors.

4. Motor Driver Voltage Calibration

To prevent burning your stepper motors, limit the current via reference voltage.

Steps:

  1. Turn off power first.
  2. Connect a multimeter in DC voltage mode: +ve probe on the potentiometer (Vref), –ve probe on GND of power supply or CNC Shield.
  3. Power on the system.
  4. Measure voltage: Keep Vref around 0.8V to 1.0V max (ideal for NEMA 17).
  5. Adjust using a ceramic screwdriver if needed.

5. Software Setup: GRBL + UGS

A. Upload GRBL Firmware to Arduino




  1. Open Arduino IDE.
  2. Install GRBL Library from Library Manager.
  3. Go to: File > Examples > grbl > grblUpload
  4. Select board as "Arduino Uno" and correct COM port.
  5. Click Upload to flash GRBL firmware.



B. Download and Run UGS (Universal Gcode Sender)



  1. Download UGS Platform from: UGS GitHub Releases
  2. Extract the folder.
  3. Open: bin > ugsplatform.exe (Windows) or run .sh for Linux/macOS.



6. UGS Setup Wizard

  1. Launch UGS and go to Settings > Setup Wizard.
  2. Connect your Arduino via COM port. Status: "Grbl 1.1 connected" should appear.
  3. Follow each step:
    • Motor Wiring Check: Manually jog axes to test motor direction and functionality.
    • Steps per mm Calibration: Move axis by 1 mm and measure actual movement. Adjust GRBL settings accordingly.
  4. Limit Switch Configuration (Optional): Connect to X-, Y-, Z- pins and enable soft limits in GRBL settings.

Final Check

Your CNC Machine is now ready.

Import G-code and Start Machining

  1. Prepare your GCODE files.
  2. Load into UGS.
  3. Click "Send" to begin motion.