Week 12: Mechanical Design and Machine Design

Automated CNC Pen Plotter

This assignment focused on the collaborative development of a functional machine incorporating mechanical design, actuation, automation, and a practical application. The project combined computer-aided design, digital fabrication, electronics, embedded control, and system integration.

I collaborated with Jeff Ritchie, a fellow Charlotte Super Fab Lab student, to develop an automated CNC pen plotter. As remote students working from separate locations, we established a shared design strategy, selected compatible components, and divided responsibilities according to the requirements of the machine.

Project Documentation


Assignment Overview

Mechanical Design

The mechanical design portion of the assignment required developing and fabricating a machine whose physical components could be assembled and operated before electronic automation was introduced.

Machine Design

The second stage focused on integrating motors, electronics, firmware, and a software interface to control the movement of the machine and execute a defined task.

Individual Assignment

My individual documentation focuses on my contributions to project research, collaborative planning, electronics integration research, structural design, component fabrication, and the organization of the machine's supporting hardware.


1. Collaborative Planning and Research

Our initial meetings focused on identifying a machine concept that could be developed collaboratively despite the physical distance between our fabrication spaces. We needed to establish a design that could be fabricated using equipment and materials available at both locations.

We selected a CNC pen plotter because it provided an opportunity to investigate mechanical motion, coordinate systems, motor control, and automated fabrication through a relatively compact machine.

During the research stage, we reviewed previous Fab Academy machine projects and existing CNC plotter designs. We used Zotero to organize shared research and maintained meeting notes to track decisions and responsibilities.

Our design direction was influenced by existing rack-and- pinion plotter mechanisms. This approach allowed us to investigate linear motion using digitally fabricated mechanical components rather than relying entirely on commercially manufactured motion assemblies.


2. Machine Concept and Functionality

The purpose of the machine is to translate digital drawing instructions into controlled physical pen movements on a drawing surface.

System Function
X-axis Controls horizontal pen positioning.
Y-axis Controls movement along the second planar axis.
Z-axis / End effector Raises and lowers the pen relative to the drawing surface.
Rack and pinion Converts rotational motion into linear displacement.
Electronic controller Processes movement instructions.
Motor drivers Control the electrical actuation of the stepper motors.
End stops Provide position-limit feedback.
Software interface Transmits G-code and provides machine control.
Machine base Supports the physical assembly and associated electronics.

3. Component Selection and Design Constraints

An important consideration during the planning process was ensuring that both team members had access to compatible hardware. Standardizing the electrical and mechanical components reduced the possibility of incompatible designs being developed independently.

We selected acrylic as the primary structural material because it was available at both fabrication locations. The dimensions of the machine were influenced by the available laser cutter bed size and material thickness.

Component Application
6 mm nominal acrylic Laser-cut structural components
NEMA 17 stepper motors X and Y motion
Servo motor Pen positioning mechanism
Arduino-compatible controller Embedded machine control
CNC shield Motor driver and controller integration
Stepper motor drivers Motor actuation
Mechanical switches Travel-limit detection
Fasteners and spacers Assembly and mechanical clearance
External power supply Electrical power for machine operation

Fabrication Constraints


4. Division of Responsibilities

The group established complementary responsibilities so that different aspects of the machine could be developed simultaneously.

Team Member Project Responsibilities
Heaven Whitby Collaborative research, electronics and GRBL research, technical consultation, machine base development, electronics mounting, cable management, and demonstration preparation.
Jeff Ritchie Motion mechanism development, rack-and-pinion design, gantry fabrication, end-effector development, embedded machine setup, and automated plotting tests.
Collaborative Concept development, component standardization, design reviews, troubleshooting discussions, and project documentation.

Additional details regarding individual task assignments and design decisions are recorded in our shared group documentation.


5. My Individual Contribution

My assigned responsibilities focused on the supporting structure and electronics organization of the machine, along with research into the control system and communication with instructors regarding technical challenges encountered during development.

5.1 Machine Base Development

The machine base was intended to establish a supporting platform for the mechanical assembly while providing dedicated space for the electrical components.

My design objectives included accommodating the machine footprint, maintaining access to the electronics, and preventing supporting hardware from interfering with the motion of the plotter.

5.2 Electronics Mounting

Organizing the controller, motor drivers, and power connections was an important consideration for the usability and maintenance of the machine.

I was assigned to investigate a vertical mounting arrangement as a means of reducing the machine's footprint and separating electrical hardware from the primary drawing area.

The mounting design considerations included access to USB connections, motor wiring, power connections, ventilation, and the ability to remove or service electronic components.

5.3 Cable Management

The movement of the machine introduced additional considerations regarding cable placement. Unsecured wiring could interfere with the moving mechanisms, restrict travel, or place unnecessary stress on electrical connections.

My assigned cable management work focused on developing an arrangement that would organize the connections between the electronic controller, motors, and power supply while maintaining sufficient clearance for mechanical movement.

5.4 Individual Component Fabrication

In addition to collaborative design discussions, I fabricated components independently at my fabrication location as part of the machine development process.


6. Electronics Research and Technical Consultation

During the development process, I communicated with instructors through Mattermost regarding the implementation of GRBL and the electronic control system for the plotter.

One of the technical challenges involved selecting an appropriate actuator for the pen mechanism. Although the X and Y axes required controlled linear movement, the pen mechanism only required a means of moving between a raised and lowered position.

Instructor feedback helped the team reconsider the use of a stepper motor for the pen mechanism because of its weight and the additional mechanical loading it introduced. A smaller servo-based mechanism was subsequently reconsidered.

This discussion demonstrated the importance of selecting actuators according to the actual mechanical requirements of a system rather than using identical actuator types for every axis.

6.1 Mechanical Clearance

I was also assigned to document a clearance consideration involving the relationship between the motor mount, gantry, and rack mechanism.

Appropriate spacing between these components was necessary to prevent excessive engagement of the motor spindle with the rack assembly. The group identified the use of a washer and additional fastening hardware as a potential adjustment.


7. Mechanical Design and Assembly

The machine's motion system was developed using rack-and-pinion assemblies. Rotational movement from the stepper motors is converted into linear displacement through engagement between a circular gear and a linear toothed rack.

Jeff's individual documentation details the development and iteration of the rack, pinion, gantries, and pen mechanism. The mechanical development process included prototyping, reviewing component fit, and revising the design to improve motion and clearance.

My supporting structure work addressed the relationship between these moving components and the stationary electrical and structural elements of the machine.

Manual Operation

Before automation, a mechanical assembly must be checked for free movement, appropriate gear engagement, alignment, and interference between components.


8. Machine Actuation and Automation

The group selected GRBL as the machine control firmware and Universal G-Code Sender as the software interface for communicating movement instructions to the plotter.

Control System Workflow

Digital Drawing
     |
     v
G-code Generation
     |
     v
Universal G-Code Sender
     |
     v
Microcontroller / GRBL
     |
     v
Motor Control Electronics
     |
     v
Mechanical Movement
     |
     v
Physical Drawing
  

The software workflow converts drawing geometry into movement instructions. These instructions are transmitted to the controller, which coordinates the actuation of the machine's motion mechanisms.

Jeff led the implementation and testing of the automated plotting workflow, while my assigned work focused on supporting hardware and investigation of the electronics integration challenges.


9. Troubleshooting and Design Iteration

Throughout development, the group reviewed mechanical and electronic challenges and identified opportunities to improve the machine.

Design Challenge Response
Mechanical friction Revise spacing and investigate lower-friction interfaces between moving components.
Fastener interference Improve fastener placement and mechanical clearance.
Excessive actuator weight Reconsider actuator selection for the pen mechanism.
Restricted travel Incorporate end-stop switches and account for the available working area.
Electronics organization Investigate dedicated mounting and cable routing solutions.
Remote collaboration Establish common hardware specifications and maintain shared documentation.

10. Group Testing and Results

The group documentation records the successful execution of drawing tests using the automated plotter. These tests included a simple circular drawing and a more detailed institutional logo.

The initial tests provided an opportunity to evaluate the relationship between the digital drawing dimensions, machine travel limits, and physical drawing area. Subsequent adjustments allowed the drawing instructions to remain within the available working area.

The final group prototype demonstrated the conversion of digital geometry into physical pen movement through coordinated mechanical and electronic operation.

The complete machine testing procedure and associated evidence are available in our group project documentation .


11. Final Machine Demonstration

Our group documentation includes presentation materials and a demonstration of the machine's operation. These materials communicate the machine concept, mechanical structure, and functional results.

View Group Presentation and Machine Demonstration


12. Future Improvements

Future development of the machine could focus on improving the reliability of the motion system, expanding the available drawing area, and further integrating the supporting electronic hardware.

From the perspective of my assigned responsibilities, additional opportunities for improvement include:


13. Reflection

This assignment provided an opportunity to investigate how independently developed mechanical, electrical, and structural components must function together within a complete machine.

Working collaboratively from separate locations emphasized the importance of consistent component specifications, clear communication, shared design information, and well-defined individual responsibilities.

The project also highlighted the importance of considering supporting structures and electrical organization alongside the primary motion mechanism. A functional machine must account for accessibility, maintenance, component clearance, and the relationship between stationary and moving systems.

The combination of mechanical design, fabrication, electronics, and software integration reinforced the systems-based approach required when developing automated machines.


14. Design Files and Resources

Individual Design Files

Group Design Files

The group's mechanical fabrication files, drawing files, and machine instruction files are available through the shared project documentation.

Download Group Machine Design Files

Technical Resources

Group project developed collaboratively by Heaven Whitby and Jeff Ritchie, Charlotte Super Fab Lab, Fab Academy 2026.