Skip to the content
2 layers47.6 × 32.4 mmPSU controller, 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
47.6 × 32.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
12
Pads
35
Tracks, vias
67, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
8 Nov 2022
Updated
24 Sep 2024

Overview

PSU controller is an open-source printed circuit board by ambadran, from the ambadran/PCB-Manufacturer repository on GitHub. It is a 2-layer board of 47.6 × 32.4 mm with 13 parts on 12 nets, routed with 67 tracks and 0 vias.

It is built around the S8050. Its parts include 3 resistors, 2 diodes, 1 capacitor and 1 transistor. It belongs with the power and robots and motor control boards of this library.

Main components

1

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

13
QtyValueFootprintReferences
212vRelay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_CRelay1, Relay2
2Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmAC_in1, AC_out1
1100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1
1100uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmCP1
110kohmResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
1470Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
1Conn_01x04_MaleConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalCircuitPowerControl1
1D_SchottkyDiode_THT:D_DO-34_SOD68_P7.62mm_HorizontalD1
1REDDiode_THT:D_A-405_P2.54mm_Vertical_AnodeUpLED1
1S8050Package_TO_SOT_THT:TO-92_InlineQ1

More from ambadran/PCB-Manufacturer

5
  • 2 layers80.3 × 79.2 mmPWM 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 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

Similar boards

  • 2 layers60 × 40 mmHASwitchPlate, the printed circuit board in 3D

    HASwitchPlate

    aderusha/HASwitchPlate

    LCD touchscreen for Home Automation

    16 parts738MIT
  • 10 layers224.5 × 160 mmHaasoscope pro adc fpga board, the printed circuit board in 3D

    Haasoscope pro adc fpga board

    drandyhaas/HaasoscopePro

    Affordable 2 GHz 3.2 GS/s 12 bit open-source open-hardware expandable USB real-time oscilloscope

    586 parts485MIT
  • 4 layers74 × 104 mmBeepy, the printed circuit board in 3D

    Beepy

    sqfmi/beepy-hardware

    Beepy Hardware

    160 parts348MIT
  • 2 layers189.5 × 204.9 mmSmartSpin2k Panelized, the printed circuit board in 3D

    SmartSpin2k Panelized

    doudar/SmartSpin2k

    Transform your spin bike into a Smart Trainer!

    749 parts292GPL-2.0
  • 2 layers13.7 × 21.4 mmZ2m partner, the printed circuit board in 3D

    Z2m partner

    smarthomefans/z2m_partner

    Hardware module for iobroker.zigbee

    52 parts186
  • 4 layers43 × 49 mmEsppdp, the printed circuit board in 3D

    Esppdp

    Spritetm/esppdp

    ESP32-based PDP11 simulator, based onSimH

    55 parts141
  • 2 layers85 × 56 mmHB RF ETH, the printed circuit board in 3D

    HB RF ETH

    alexreinert/PCB

    Some of my PCBs

    96 parts104

Questions

How big is the PSU controller PCB?

It measures 47.6 × 32.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PSU controller use?

13 parts, built around the S8050. 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 PSU controller KiCad files?

From the ambadran/PCB-Manufacturer repository on GitHub, at the commit this page was made from: the board is Circuit/PSU controller/PSU controller.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 PSU controller design in my own project?

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