PCB Miller 
sonicyang(0x1A3BDA) 
shinshipower 
anarchih
CNC Machine
CNC Machine 
• 3D Printer 
• Milling Machine 
• PCB 
• Wood
Why choose PCB Miller 
• too many 3D printerS in makerfaire 
• a Milling machine for wood is too hard and too 
expensive to build 
• Can help on building feature projects
Aid future Projects 
• make Smaller Boards 
• enable the use of SMD components 
• make a lot of duplicates if needed
Handwire vs PCB 
• Dirty 
• Hard to 
duplicate 
• Cheap 
• Fast
Handwire vs PCB 
• Clean and tidy 
• Easy to duplicate 
• Expensive
Ways to make PCBs
Etching 
• Slow 
• Dirty and toxic 
• expensive per 
board if home-brew 
• expensive in small 
qty if manufactured 
Milling 
• Fast 
• cheap in small qty 
• higher resolution (if 
trimed)
Current Plan
• Working area 20 x 20 (cm) 
• Machine size 55 x 40 (cm) 
• Use CNC miller Wood parts as Machine frame 
• A moving Table Design 
• Brushed DC motor Miller <ER11> 
• TI motor Driving solutions 
• All Standard Mechanical part
Controller 
MCU 
Cortex M4 FPGA 
• Easy to code 
• GUI 
• Fast 
• Have useable code 
• Can turn motor at 
absolute same 
timing 
• Use SoC can do a 
lots of things
G-Code 
• 移動 
G01 X00 Y100 Z20 F20 
• 畫圓 
G03 X2 Y0 I0 J-2.0 
• Query Statues 
M114 
• Motor Enables 
M17、M18 
• A lot more, from G00 to G99, M0 to M99
Stepping Motor 
• Moving by steps 
• Absolute positioning 
• TI DRV8832 
• Dir, Step control 
• Micro stepping
Current Code 
• CAD file -> G-code 
• pycam 
• Decode G-code into opcodes 
• self written python code on PC 
• opcodes -> Real Physical actions 
• ARM MCU
Plan 
• Port previous work on FreeRTOS 
• Decode G-code on ARM Core 
• floating point is a obstacle 
• Implement more G-codes as more as possible
Obstacles 
we are facing
See You at Makerfaire
References: 
• My previous work 
• https://github.com/sonicyang/ARM-CNC 
• https://github.com/sonicyang/CNC430 
• Hackpad 
• https://hackpad.com/CNC-PCB-Miller- 
Project-Proposal-ttaDKjUHuS8

C4Labs PCB Miller Project

  • 1.
    PCB Miller sonicyang(0x1A3BDA) shinshipower anarchih
  • 4.
  • 7.
    CNC Machine •3D Printer • Milling Machine • PCB • Wood
  • 8.
    Why choose PCBMiller • too many 3D printerS in makerfaire • a Milling machine for wood is too hard and too expensive to build • Can help on building feature projects
  • 9.
    Aid future Projects • make Smaller Boards • enable the use of SMD components • make a lot of duplicates if needed
  • 10.
    Handwire vs PCB • Dirty • Hard to duplicate • Cheap • Fast
  • 11.
    Handwire vs PCB • Clean and tidy • Easy to duplicate • Expensive
  • 12.
  • 13.
    Etching • Slow • Dirty and toxic • expensive per board if home-brew • expensive in small qty if manufactured Milling • Fast • cheap in small qty • higher resolution (if trimed)
  • 14.
  • 15.
    • Working area20 x 20 (cm) • Machine size 55 x 40 (cm) • Use CNC miller Wood parts as Machine frame • A moving Table Design • Brushed DC motor Miller <ER11> • TI motor Driving solutions • All Standard Mechanical part
  • 17.
    Controller MCU CortexM4 FPGA • Easy to code • GUI • Fast • Have useable code • Can turn motor at absolute same timing • Use SoC can do a lots of things
  • 18.
    G-Code • 移動 G01 X00 Y100 Z20 F20 • 畫圓 G03 X2 Y0 I0 J-2.0 • Query Statues M114 • Motor Enables M17、M18 • A lot more, from G00 to G99, M0 to M99
  • 19.
    Stepping Motor •Moving by steps • Absolute positioning • TI DRV8832 • Dir, Step control • Micro stepping
  • 20.
    Current Code •CAD file -> G-code • pycam • Decode G-code into opcodes • self written python code on PC • opcodes -> Real Physical actions • ARM MCU
  • 21.
    Plan • Portprevious work on FreeRTOS • Decode G-code on ARM Core • floating point is a obstacle • Implement more G-codes as more as possible
  • 22.
  • 23.
    See You atMakerfaire
  • 24.
    References: • Myprevious work • https://github.com/sonicyang/ARM-CNC • https://github.com/sonicyang/CNC430 • Hackpad • https://hackpad.com/CNC-PCB-Miller- Project-Proposal-ttaDKjUHuS8