Skip to the content
2 layers100 × 100 mmCan crusher, the printed circuit board in 3D

Overly elaborate aluminum can crusher product with all original cad, 3d-printing, pcb design and builds, and software and firmware needed to build it.

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
54
Pads
204
Tracks, vias
205, 52
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
27 Sep 2022
Updated
12 Jan 2024

Overview

Can crusher is an open-source printed circuit board by grant-olson, from the grant-olson/can-crusher repository on GitHub, published under the BSD-2-Clause licence. It is a 2-layer board of 100 × 100 mm with 26 parts on 54 nets, routed with 205 tracks and 52 vias.

It is built around the 1N5819WS, IRF9540NS and MMBF170. Its parts include 6 connectors, 5 resistors, 4 capacitors, 4 ICs and 2 transistors. It belongs with the RP2040 boards of this library.

Main components

3

README

README.md

Welcome to the repository for the most sophisticated robotic aluminum can crusher that the world has seen!

This is the result of a hobby project that combines CAD design, Hardware, PCB design, firmware, and software to build an over-the-top computer-controlled can crusher. I wanted to use a wide variety of skills on this project instead of going deep into a specific skill.

In depth 30 minute video on the project

The Most Technologically Advanced Aluminum Can Crusher In The World

The Frame

Crusher at home

The frame starts with 3 standard 2040 slotted aluminum extrusions. From there the major structural elements, the:

  • top
  • bottom
  • crusher plate

Are made from laser cut aluminum.

The rest of the parts are 3D printed.

All design elements are in the included FreeCAD workspace. If you just want to cut or print the parts refer to the stl directory for 3D print files or the step directory for files suitable for laser cutting.

You will also need two stepper motors with rods and two smooth rods to assemble the frame in its entirety.

Stepper Control Board

Stepper Controller

To drive the stepper motors I've made a control board powered by a Raspberry Pi Pico that uses TMC2209 chips to drive the steppers. This allows me to auto-detect limits of movement.

The design is in KiCad. Gerber files are also included in the repo for getting PCBs made.

At a high level the control board:

  • Initializes the system
  • Accepts a small command language over the UART interface.
  • Controls the motors appropriately.

I chose the Pi Pico so that I could use the PIO subprocessors to get extremely reliable control of the stepper signal waves. I'm able to run those completely deterministicly based on the clock speed where even IRQs won't affect triggering.

To build the software:

  • Set up your computer to build for Pico projects.
  • cd firmware/pico
  • mkdir build
  • cd build
  • cmake ..
  • make
  • picotool load can-crusher.uf2 && picotool reboot

If you have stepper motors hooked up they should perform a minor up/down jogging of the motors upon reboot. Use this to see if the code is actually running without the admin consoles set up.

High level control and UI

Head Unit

For the high level control and UI I've written a program for a Raspberry Pi that shows a minimal display on a TFT-LCD with touchscreen to allow users to interact.

To make a compact display I've created a Hat for a Pi Zero board that allows you to mount the parts together directly that is also released as a KiCad file.

Due to continuing Raspberry Pi shortages I'd like to build some alternate versions of the control boards for other SBCs. The software itself iswritten in python and should be portable to pretty much any linux system. There are only 3 hardware requirements so I expect other boards will be easy to integrate:

  • Ability to have a hardware level SPI control with /dev/spidevX.X exposed.

  • A kernel that supports ADS7846 touch screens and provides integration with evdev to read touch screen events.

  • A hardware serial/uart port capable of running at 115200 baud.

Cad render

Parts

26
QtyValueFootprintReferences
3100 uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1, C2, C3
2BTT_TMC2209btt_tmc2209:BTT_TMC2209U1, U3
10Resistor_SMD:R_1206_3216MetricR7
11N5819WSDiode_SMD:D_SOD-323D1
11kResistor_SMD:R_0805_2012MetricR1
1330 uFCapacitor_Tantalum_SMD:CP_EIA-7343-43_Kemet-XC4
1330 uHInductor_THT:L_Radial_D12.0mm_P5.00mm_Fastron_11PL1
13522-23522:FUSE_3522-2X1
157.6kResistor_SMD:R_0805_2012MetricR8
157.6kResistor_SMD:R_1206_3216MetricR6
1Barrel_JackConnector_BarrelJack:BarrelJack_CUI_PJ-063AH_HorizontalJ5
1Control UARTConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ2
1Expansion PortConnector_PinSocket_2.54mm:PinSocket_1x09_P2.54mm_VerticalJ6
1Ext powerConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1IRF9540NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1LM2575-5.0BUPackage_TO_SOT_SMD:TO-263-5_TabPin3U4
1MMBF170Package_TO_SOT_SMD:SOT-23Q2
1NCResistor_SMD:R_1206_3216MetricR5
1PicoRPi_Pico:RPi_Pico_SMD_THU2
1RebootButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1
1SW_SPSTR1966:SW_R1966ABLKBLKGRSW3
1Stepper LeftConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ4
1Stepper RightConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ1

More from grant-olson/can-crusher

1
  • 2 layers78 × 44.9 mmCan crusher pi hat, the printed circuit board in 3D

    Can crusher pi hat

    grant-olson/can-crusher

    Overly elaborate aluminum can crusher product with all original cad, 3d-printing, pcb design and builds, and software and firmware needed to build it.

    6 partsBSD-2-Clause

Similar boards

  • 4 layers139.6 × 129.4 mmScience v2, the printed circuit board in 3D

    Science v2

    Sagnik-Tech/jubilant-succotash

    Design of a Science PCB

    266 parts1
  • 2 layers14 × 14 mmTry2, the printed circuit board in 3D

    Try2

    SKGleba/psp2sdboot

    Tools and guides for achieving code execution in Playstation Vita/TV BootROM's "SD boot mode"

    10 parts51MIT
  • 2 layers72 × 22 mmCheating calc, the printed circuit board in 3D

    Cheating calc

    ChinesePrince07/TI-84-GPT-HACK

    A mod that gives your TI-84 Wi-Fi, ChatGPT, and the ability to disappoint your math teacher in ways never thought possible. Original idea by Chromalock, reconstructed by myself after his repo is taken down.

    8 parts9GPL-3.0
  • 6 layers44 × 118 mm3210retro test, the printed circuit board in 3D

    3210retro test

    DasBasti/NokiaRetroFit

    Retrofitting a Nokia 3210 with modern Processor

    195 parts9Apache-2.0
  • 2 layers114 × 89 mmAyn-4b, the printed circuit board in 3D

    Ayn-4b

    afiskon/ayn-4b

    Portable QRP CW Transceiver

    278 parts7MIT
  • 6 layers105 × 70 mmBUDDY v1.0.0, the printed circuit board in 3D

    BUDDY v1.0.0

    bobc/Prusa-Mini-assembly

    A Prusa Mini 3D model assembly using OpenSCAD

    364 parts7MIT
  • 2 layers100 × 90 mmAyn dc, the printed circuit board in 3D

    Ayn dc

    afiskon/ayn-dc

    DC QRP CW transceiver

    226 parts5MIT

Questions

How big is the Can crusher PCB?

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

What parts does the Can crusher use?

26 parts, built around the 1N5819WS, IRF9540NS and MMBF170. 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 Can crusher KiCad files?

From the grant-olson/can-crusher repository on GitHub, at the commit this page was made from: the board is kicad/can-crusher/can-crusher.kicad_pcb and its schematic kicad/can-crusher-pi-hat/can-crusher-pi-hat.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Can crusher design in my own project?

Its repository publishes it under the BSD-2-Clause licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).