Skip to the content
2 layers80.3 × 79.2 mmPWM Multiplexer, the printed circuit board in 3D

A CNC machine with a kinematic mounting mechanism and customized GRBL Firmware to allow automated end-effector change; Allowing access to all the tools needed to create a PCB without human intervention.

Size
80.3 × 79.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
71
Nets
64
Pads
210
Tracks, vias
584, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
8 Nov 2022
Updated
24 Sep 2024

Overview

PWM Multiplexer is an open-source printed circuit board by ambadran, from the ambadran/PCB-Manufacturer repository on GitHub. It is a 2-layer board of 80.3 × 79.2 mm with 71 parts on 64 nets, routed with 584 tracks and 0 vias.

It is built around the 74HC137D, L7805 and S8050, with the IRLZ44N among its other parts. Its parts include 32 resistors, 14 transistors, 7 ICs, 1 capacitor and 1 connector. It belongs with the robots and motor control boards of this library.

Main components

4

README

README.md

PCB-Manufacturer

Intro

A cnc machine with a kinematic mounting mechanism and specialised code to change head as wanted so as to have access to all the tools to create a PCB without any human intervention.

Mechanics

This is a 3 Axis CNC machine made of both metal and 3D printed Parts. The main driving mechanism is a V-wheel on 2020 profile system with a GT-2 belt driving. Nema17 Motors was used. The machine was designed for maximal repeatability.

A 3D printed Kinematic Mounting System was developed to enable the CNC machine to detach and attach to different tool heads on command. The current tool heads are a laser head, a spindle, a Pen marker. The machine automatically attaches to the wanted tool heads without any human intervention.

I also developed an auto-clamping system that clamps the PCB in the bed automatically.

Photos

Overview [blocked]

Male Kinematic Mount [blocked]

Female Kinematic Mount [blocked]

Electronics

The Main MCU is an Arduino Mega. A Custom GRBL firmware created by me is running on it.

To add a screen monitoring functionality and control the main MCU wirelessly through WiFi, I added a raspberry pi 4 with a 7 inch screen, running mainly UGS Software to monitor the CNC machine.

The Stepper drivers are powerful TB6600 drivers, The end-stops have their own opto-coupler circuit. There are 3 power supplies for the CNC machine. one 5v for the main MCU only, one 5v for the raspberry pi. and the third 24v is for the rest of the CNC machine.

This main 24v power supply is switched on using a relay that is controled by the Main MCU. A special G-Code was coded in the firmware to control the main power supply. This adds an important safety layer as the machine is intended to be run remotely.

To relieve the Main MCU from doing everything in the project. I took the liberity to make different circuits for different functions needed for this machine.

I developed a circuit that takes in a 3-bit binary code and the spindle PWM signal from the Main MCU. Then it decodes the 3-bit binary code to allow the PWM to exit through one of the 8 channels that this CNC machine controls. Meaning, the machine can control 8 different end-effectors with PWM, depending on the current 3-bit binary that the MCU outputs.

Another circuit worth mentioning was the stand alone circuit to control the latching mechanism of the kinematic mounting system, where the input to the circuit is just a HIGH/LOW signal from the main MCU triggered by a G-code command A1 or A0. The local MCU does controls the unipolar stepper to latch ON or OFF to the Female kinematic mounts on command and does all the necessary closed-loop logic locally.

Electronics [blocked]

Programming

I customized the GRBL firmware from: https://github.com/gnea/grbl To accomodate for all the new functionality needed for this CNC machine. I put in my own G-code commands like A<x>, B<x> or C<x>, that outputs the necessary logic on the Main MCU GPIOs, with no compromise to the original code.

I also developed (from scratch) a complete CAM solution that takes in the gerber files and gives out the G-code ready for my machine. However, due to me deciding to develop from scratch and not use geometry-manipulating libraries like shapely. There is alot of corner cases that this version can't handle. However, I developed V2 of my all-in-one CAM solution for my CNC machine here: https://github.com/ambadran/PCB-CAM

This version is much much more reliable as to it not being built from scratch.

Parts

71
QtyValueFootprintReferences
14S8050Package_TO_SOT_THT:TO-92_InlineQ1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10, Q11, Q12, Q13, Q14
7220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5, R6, R7, R8, R9, R10, R11
7220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR19, R20, R21, R22, R23, R24, R25
7470Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR26, R27, R28, R29, R30, R31, R32
7470Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR12, R13, R14, R15, R16, R17, R18
7Conn_01x03_SocketConnector_JST:JST_EH_S3B-EH_1x03_P2.50mm_HorizontalDevice1, Device2, Device3, Device4, Device5, Device6, Device7
7IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQM1, QM2, QM3, QM4, QM5, QM6, QM7
41kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4
4PC817Package_DIP:DIP-4_W7.62mmU1, U2, U3, U4
274HC137Package_DIP:DIP-16_W7.62mm_Socket_LongPadsU6, U7
10.1uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1
11uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmCP1
1Conn_01x05_SocketConnector_JST:JST_EH_S5B-EH_1x05_P2.50mm_HorizontalControl_Input1
1JST connectorConnector_JST:JST_EH_S2B-EH_1x02_P2.50mm_HorizontalJ1
1L7805Package_TO_SOT_THT:TO-220-3_VerticalU5

More from ambadran/PCB-Manufacturer

5
  • 2 layersPWM Multiplexer, the printed circuit board in 3D

    PWM Multiplexer

    ambadran/PCB-Manufacturer

    A CNC machine with a kinematic mounting mechanism and customized GRBL Firmware to allow automated end-effector change; Allowing access to all the tools needed to create a PCB without human intervention.

    71 parts2
  • 2 layers48.5 × 25.4 mmLimit switch, the printed circuit board in 3D

    Limit switch

    ambadran/PCB-Manufacturer

    A CNC machine with a kinematic mounting mechanism and customized GRBL Firmware to allow automated end-effector change; Allowing access to all the tools needed to create a PCB without human intervention.

    21 parts2
  • 2 layers52.1 × 28.2 mmUnipolar stepper driver, the printed circuit board in 3D

    Unipolar stepper driver

    ambadran/PCB-Manufacturer

    A CNC machine with a kinematic mounting mechanism and customized GRBL Firmware to allow automated end-effector change; Allowing access to all the tools needed to create a PCB without human intervention.

    21 parts2
  • 2 layers54.3 × 16 mmDC Motor Driver, the printed circuit board in 3D

    DC Motor Driver

    ambadran/PCB-Manufacturer

    A CNC machine with a kinematic mounting mechanism and customized GRBL Firmware to allow automated end-effector change; Allowing access to all the tools needed to create a PCB without human intervention.

    13 parts2
  • 2 layers47.6 × 32.4 mmPSU controller, the printed circuit board in 3D

    PSU controller

    ambadran/PCB-Manufacturer

    A CNC machine with a kinematic mounting mechanism and customized GRBL Firmware to allow automated end-effector change; Allowing access to all the tools needed to create a PCB without human intervention.

    13 parts2

Similar boards

  • 2 layers161.9 × 91.4 mmStackboard, the printed circuit board in 3D

    Stackboard

    deathzombee/pingu

    harder drive mirror

    81 parts
  • 2 layers160 × 100.3 mmZ80, the printed circuit board in 3D

    Z80

    dennis9819/Z8C-Homebrew-Computer

    To easily develop for my Z80 homebrew system, I designed a simple assempler development environment. This packs the following tasks into one script: zmac assembly object file creation (for xmodem upload) monitor file…

    65 parts2
  • 2 layers80.8 × 60.1 mmIo board, the printed circuit board in 3D

    Io board

    jfoucher/planck-6502

    This is a mirror of https://gitlab.com/planck-6502/planck-6502

    36 parts2
  • 2 layers47.5 × 96 mmEurorack to 3v3, the printed circuit board in 3D

    Eurorack to 3v3

    asmr-systems/development-boards

    development boards

    138 parts1CC0-1.0
  • 2 layers12.7 × 20.3 mmManhattanPanels SOIC16, the printed circuit board in 3D

    ManhattanPanels SOIC16

    pris-digital/ManhattanBreakoutBoards-Panelized

    A collection of breakout boards for manhattan style prototyping

    17 partsGPL-3.0
  • 2 layers35.6 × 24.8 mmPCB Test, the printed circuit board in 3D

    PCB Test

    stefanhepp/design-libs

    Various Designs and Files for my CNC machine.

    4 partsCC-BY-SA-4.0
  • 2 layers99.1 × 99.1 mmMainConnector, the printed circuit board in 3D

    MainConnector

    revilo196/Vac32Bot

    56 parts

Questions

How big is the PWM Multiplexer PCB?

It measures 80.3 × 79.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PWM Multiplexer use?

71 parts, built around the 74HC137D, L7805, S8050 and IRLZ44N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PWM Multiplexer KiCad files?

From the ambadran/PCB-Manufacturer repository on GitHub, at the commit this page was made from: the board is Circuit/PWM Multiplexer/final version/PWM_Multiplexer.kicad_pcb and its schematic Circuit/DC_Motor_Driver/DC_Motor_Driver.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PWM Multiplexer design in my own project?

Its repository states no licence, so its author keeps all rights: ask ambadran before reusing the design.