Contact mail
Overview Specs 3D CAD Mechanical Electronics Challenges Testing Rev 2
ELECTROMECHANICAL HARDWARE R&D CASE STUDY
GRANT: SSIP & NUV FOUNDATION (₹50,000) | REVISION: 1.0.0
ASSEMBLY & MOTION DEMONSTRATED PCB MILLING NOT YET VALIDATED

CBCNC — Custom Three-Axis PCB Milling Machine

A custom electromechanical motion platform built to evaluate in-house rapid PCB prototyping, multi-axis motion control, and dedicated CNC controller integration.

USABLE TRAVEL 150×150×40 mm
TRACE TARGET 0.2 mm (Unvalidated)
CONTROLLER ESP32-S3 + FluidNC
SPINDLE 300W @ 12k RPM
READ EXECUTIVE SUMMARY & SCOPE expand_more

Executive Summary: CBCNC Rev 1 is a custom-designed, physically assembled three-axis desktop CNC milling prototype. Developed to explore alternatives to long external PCB fabrication turnaround times and avoid handling chemical etchants, the project served as an end-to-end electromechanical build.

It combines mechanical modeling in Fusion 360, custom 10 mm aluminum plate fabrication, a custom-designed two-layer ESP32-S3 motion controller board running FluidNC, external DM542 stepper drivers, and an RP2040 UART HMI subsystem. Multi-axis motion and spindle operation under no-load conditions were demonstrated on the bench; copper trace isolation milling, drilling, contour cutting, and stability under cutting loads remain unvalidated.

ORIGIN & CONSTRAINTS

The Problem: Turnaround Latency & Chemical Handling

schedule Turnaround Delays

Commercial PCB manufacturing turnaround was too slow for the pace of experimentation I wanted. A single layout correction or schematic revision introduced days or weeks of waiting for remanufactured boards from external fabrication facilities.

science Chemical Handling Concerns

Conventional chemical etching raised practical concerns regarding the handling, storage, and disposal of hazardous etchant chemicals in a student environment, alongside process variations such as trace undercutting on fine geometries.

The Machine Gap & Decision to Build

Commercial CNC machines capable of milling PCBs were expensive, while general-purpose desktop routers were designed for general hobby cutting rather than being dedicated to PCB prototyping. Rather than compromise on a poorly suited general-purpose router, I decided to build a dedicated three-axis PCB milling machine to understand the complete electromechanical system from first principles.

SPECIFICATION AUDIT

Engineering Requirements: Design Targets vs. Measured Baseline

In PCB isolation milling, depth precision and mechanical stiffness are fundamental design considerations because micro-milling bits must selectively isolate 35 µm copper foil without excessive runout or tool deflection. The physical dimensions were selected around commonly available copper-clad PCB stock.

Usable Working Envelope MEASURED
DESIGN TARGET Sized for copper stock
PHYSICAL STATUS 150 × 150 × 40 mm

MEASURED directly on assembled machine.

Trace & Clearance Target UNVALIDATED
DESIGN TARGET 0.2 mm (~8 mil)
PHYSICAL STATUS Not Validated

TARGET ONLY: No copper cutting tests conducted.

PCB Manufacturing Operations UNVALIDATED
DESIGN TARGET Isolation, drill, contour
PHYSICAL STATUS Not Validated

TARGET ONLY: Operations remain to be tested.

Kinematic Guidance FUNCTIONAL
DESIGN TARGET Linear shafts (Rev 1)
PHYSICAL STATUS Functional Baseline

DEMONSTRATED: Axis translation demonstrated under motor drive.

Drive Transmission FUNCTIONAL
DESIGN TARGET 8mm lead screws + nut
PHYSICAL STATUS Functional Baseline

DEMONSTRATED: Screws translated motor rotation into axis travel.

Spindle Motor ROTATING
DESIGN TARGET 300W @ ~12k RPM
PHYSICAL STATUS Potentiometer Run

DEMONSTRATED: Powered & observed rotating; audible vibration present.

Spindle No-Load Current QUANTIFIED
DESIGN TARGET Baseline loss ref
PHYSICAL STATUS Current Measured

MEASURED: Baseline current quantified for bearing & internal losses.

Controller Hardware ONLINE
DESIGN TARGET Custom ESP32-S3 PCB
PHYSICAL STATUS FluidNC USB Control

DEMONSTRATED: Axis movement & soft limits established.

Limit & Homing System UNTESTED
DESIGN TARGET 6 optoisolated endstops
PHYSICAL STATUS Untested Switches

UNTESTED: Circuit routed on PCB; physical switches & homing untested.

INTERACTIVE 3D CAD INSPECTION
THREE.JS WEBGL RENDERER

Interactive 3D Assembly Inspection

Inspect the exact Fusion 360 assemblies for both the physical Rev 1 prototype and the in-development Rev 2 redesign. Rotate, zoom, and pan directly in your browser.

REV 1 // MANUFACTURED ITERATION CBCNC Rev 1 Physical Prototype Assembly
The manufactured CAD model: 150×150×40 mm travel, 4040 extrusions, 10 mm plates, linear shafts, 8 mm lead screws.

Interactive 3D model (~10 MB). Rotate, zoom, and inspect Fusion 360 assemblies.

touch_app Drag: rotate · Pinch: zoom
INITIALIZING 3D CAD VIEWPORT
Loading CAD assembly geometry...
Original STEP Files: Raw ISO 10303 CAD B-Rep assemblies modeled in Autodesk Fusion 360.
MECHANICAL ENGINEERING

Mechanical Architecture: Fusion 360 Modeling & Physical Trade-offs

The machine utilizes a moving-gantry architecture. The stationary base frame is built from 4040 aluminum extrusion profiles joined with corner brackets. The gantry uprights are custom 10 mm thick aluminum plates, manufactured using a combination of processes, providing vertical mounting faces for the horizontal linear guide shafts and lead-screw bearing mounts.

I modeled most of the machine in Autodesk Fusion 360 and included as many real components as practical so the CAD model would closely represent the physical assembly.

Kinematic Motion Subsystems
  • Guidance: Cylindrical linear guide shafts supported by aluminum end blocks across all three axes.
  • Drive: Lead screws with a 2 mm pitch and 4 starts, yielding an 8 mm lead per revolution.
  • Backlash Suppression: Lead screws paired with anti-backlash brass nuts to suppress axial play.
  • Stepper Motors: NEMA 17 stepper motors rated at 8 N·cm (0.08 N·m) holding torque were selected with torque margin in mind as a deliberate design decision.
Conscious Design Compromise: Purchased Z-Axis Module

Designing the complete Z-axis mechanism was beyond my capabilities at the time. To avoid stalling the build, I made a conscious design compromise: I purchased a complete Z-axis slide module equipped with a mount for a 58 mm spindle. This allowed me to proceed with the overall assembly and focus on structural integration and electronics.

Spindle Selection & Audible Vibration Observations

Finding a suitable high-RPM, low-power spindle was difficult. A spindle with a stated specification of 300 W at approximately 12,000 RPM was selected. The unit was purchased with a stated specification of 0.02 mm runout, but I did not independently measure the runout of the assembled machine. During testing, vibration was noticeable by ear. The exact spindle model and electrical supply details remain unconfirmed.

CBCNC base chassis assembly
Stationary base frame assembly: 4040 black anodized aluminum extrusion profiles, dual linear shafts, and bearing pillow blocks forming the Y-axis carriage bed.
Lead screw detail
8 mm lead screw, anti-backlash nut, and linear shafts on 10 mm aluminum gantry plate.
Z-axis spindle carriage
Z-axis assembly featuring modular slide, 300 W DC spindle motor, and NEMA 17 stepper.
HARDWARE ARCHITECTURE

Electrical & Control Architecture: Custom ESP32-S3 Hardware

The first revision uses a custom two-layer controller PCB built around an ESP32-S3 module and running FluidNC firmware.

I was already familiar with the ESP32-S3 and considered it capable enough for the project. FluidNC was attractive because of its documentation and established CNC-control ecosystem. Using FluidNC allowed me to spend time understanding the machine and its physical integration rather than developing CNC firmware from scratch. (The controller PCB is a custom hardware design; I did not develop the FluidNC firmware itself).

Integrated Subsystems on Controller PCB
  • ESP32-S3 Core: Dual-core processor handling motion parsing, step generation, and USB communication.
  • Optoisolated Limit Inputs: 6 optically isolated channels routed on PCB. (Physical limit switches were not tested).
  • Logic-Level Translation: Dedicated circuitry stepping 3.3 V GPIOs up to 5 V for external stepper drivers.
  • Stepper Driver Headers: Dedicated terminals interfacing to external DM542 microstepping drivers.
  • HMI UART Header: Serial interface routed to secondary RP2040 operator pendant.
LOGIC RAIL 5 V DC
STEPPER RAIL 24 V DC
SPINDLE RAIL 48 V DC

*Spindle Control Note: Spindle speed was manually adjusted via an external potentiometer rather than being integrated into closed-loop FluidNC G-code control.

CBCNC FluidNC controller board designed by Arafat Babar
Custom 2-layer PCB designed by Arafat Babar AUTHORED HARDWARE
THE MODULAR RP2040 HMI SUBSYSTEM PARTIAL REV 1 IMPLEMENTATION

To explore standalone machine interaction, I designed an RP2040-based HMI PCB connected to the main controller over UART. It includes provision for a display, status LEDs, and configurable buttons. In Rev 1, the HMI was only partially implemented; the more polished display, software experience, and simplified operator workflow belong to the Rev 2 vision.

EMPIRICAL LAB EVIDENCE

Assembly, Integration & Hardware Challenges

Integrating mechanical parts, motor drivers, custom electronics, power supplies, firmware, and the HMI presented several practical engineering hurdles documented through workbench testing.

tune 1. Lead-Screw Friction vs. Alignment Iteration

Tuning the motion system required managing a sensitive mechanical trade-off between alignment and friction. Tightening mounting screws too firmly increased rotational resistance along the lead screw, while leaving them slightly loose compromised axis alignment. Achieving acceptable movement required assembling and disassembling the axis mechanism more than 100 times to iteratively adjust lead-screw alignment and minimize mechanical binding.

DOCUMENTED IN LINKEDIN PRIMARY RECORDS (djGZgs5N)
broken_image 2. Motor Mounting Failure (Shared Threads)

During assembly, standoffs were tightened into the stepper motor without recognizing that the same threaded holes were being used to secure the motor assembly itself. As the standoffs were torqued, the internal threads stripped and the motor structurally separated, destroying the unit. This demonstrated the mechanical rule never to reuse the same threaded holes for multiple structural functions.

DOCUMENTED IN LINKEDIN PRIMARY RECORDS (deNyw_aZ)
SECONDARY CHALLENGES (THREAD DEPTH & SOURCING) expand_more
straighten 3. Inconsistent Stepper Thread Depths

While component datasheets specified minimum 4.5 mm thread depth, received motors exhibited threaded-hole depths varying between 7 mm and 9 mm across units. This made fastener length selection unpredictable and complicated alignment.

RECORD ID: dfmJgHhQ
inventory_2 4. Non-Standard Component Sourcing

Sourcing mechanical parts, precision lead screws, and motor hardware required finding suppliers beyond hobby robotics stores, combining purchased components with custom 10 mm aluminum plates.

PROJECT SOURCING AUDIT
VERIFICATION & EVIDENCE

Testing & Current Results: Verified Capabilities vs. Unvalidated Targets

Rev 1 achieved basic axis movement and soft-limit operation under USB control. Selected voltages and currents were checked where needed, and the assembly was visually inspected.

Documented Empirical Bench Tests
1. Spindle No-Load Current Measurement

A current measurement was conducted on the 300 W spindle under no-load conditions. Even without cutting material, the motor drew measurable current to overcome bearing friction, internal windage, and electrical losses, providing an empirical reference baseline for future load detection.

2. No-Load X/Y Kinematic Motion Test

A qualitative bench test demonstrated coordinated X/Y axis motion while the spindle was concurrently running under manual potentiometer control, under no-load conditions. This test verified that multi-axis translation and spindle operation could run simultaneously without immediate electrical interference, though stability under actual cutting loads was not evaluated.

CRITICAL BOUNDARY OF VALIDATION The video and bench demonstrations prove axis movement and spindle operation under no-load conditions. They do not constitute evidence of successful PCB milling, trace isolation, or cutting-load stability.
BENCHTOP KINEMATIC MOTION TEST 16.57s · 720p H.264
Benchtop test of the assembled CBCNC Rev 1 prototype: demonstrating multi-axis motion with the spindle running under no-load conditions. (Evidence of axis movement and spindle operation; not evidence of PCB machining).
Strict Truth-in-Engineering Scorecard
DEMONSTRATED

Multi-axis motion & soft limits established under USB control.

DEMONSTRATED

300W spindle rotation & no-load baseline current measurement.

NOT VALIDATED

0.2 mm PCB isolation milling, drilling, or contour routing.

NOT VALIDATED

Physical limit switches, homing cycles, or quantitative accuracy.

FINANCIAL ACCOUNTING

Budget, Project Support & Sourcing Realities

INSTITUTIONAL GRANT ₹50,000

Awarded by Navrachana University through the Student Start-up and Innovation Policy (SSIP) prototype grant scheme to fund raw materials, components, and machining.

VERIFIED GRANT DISBURSEMENT
TOTAL REV 1 EXPENDITURE ~₹70,000

Approximate total including ~₹15,000–₹20,000 mechanical chassis parts, with the balance covering electronics, drivers, motors, power supplies, tooling, and iteration costs.

APPROXIMATE ESTIMATE (NON-AUDITED)
OPTIMIZED BUILD TARGET ~₹45,000

Engineering estimate for a streamlined single-unit build with optimized sourcing and fewer prototyping mistakes. (Future retail tier of ~₹1 lakh is a conceptual target only).

DESIGN ESTIMATE (UNVERIFIED)
FUTURE ARCHITECTURE

Rev 2: Design Evolution (CAD & Design Stage)

STRICTLY CAD PHASE // UNFABRICATED

Rev 1 taught me that making the machine move is only one part of making a useful CNC machine. The motion system, mechanical rigidity, PCB mounting and alignment, controller architecture, safety arrangement, and operator experience all require substantial revision. Rev 2 is currently being developed in CAD.

1. Profile Linear Rails

MGN profile linear rails replacing round guide shafts to provide higher rigidity and reduce flexure under lateral cutting forces.

2. Ball Screws

Ball screws instead of the Rev 1 lead-screw arrangement, aiming to reduce rotational friction and reduce backlash.

3. Stronger, More Rigid Frame

A stronger and more rigid frame structure to address the acoustic vibration observed during Rev 1 testing.

4. Redesigned Workbed

A redesigned bed to improve PCB mounting and registration when machining the reverse side of double-sided boards.

5. STM32 + GRBL HAL Controller

A revised controller architecture based on an STM32 microcontroller and GRBL HAL for dedicated, deterministic motion control.

6. Revised Motor Arrangement

A redesigned motor and motion-control arrangement, avoiding shared structural fastener points to prevent motor damage.

7. Standalone Hardware E-Stop (Planned)

A standalone hardware E-stop arrangement instead of relying on controller firmware. (Electrical architecture and safety performance remain to be validated).

8. Modular HMI Experience

A more polished and modular HMI with a simpler operator workflow for standalone machine operation.

9. Machine-Control Functions

Reassessment of limit sensing, tool-length detection, and homing integration.

ENGINEERING REFLECTION

Lessons Learned & Closing Reflection

Rev 1 was a real electromechanical integration exercise. It required me to make trade-offs, source components, model the machine, integrate electronics and motion hardware, bring up firmware, and diagnose physical limitations on the bench.

Fastener Isolation: Never reuse the same motor mounting threaded holes for accessory standoffs.
Datasheet Discrepancies: Catalog minimums (4.5 mm) do not guarantee physical uniformity (7–9 mm measured).
Assembly Tuning: Precision motion requires patient iteration to balance alignment against friction.

The most valuable outcome was not a claim of successful PCB manufacturing. It was the understanding gained from turning a concept into a working motion prototype, diagnosing real-world physical and component failures, and using that empirical evidence to guide a more deliberate redesign.