
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.

Overly elaborate aluminum can crusher product with all original cad, 3d-printing, pcb design and builds, and software and firmware needed to build it.
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.
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.
The Most Technologically Advanced Aluminum Can Crusher In The World

The frame starts with 3 standard 2040 slotted aluminum extrusions. From there the major structural elements, the:
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.

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:
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:
cd firmware/picomkdir buildcd buildcmake ..makepicotool load can-crusher.uf2 && picotool rebootIf 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.

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.

| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 100 uF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C1, C2, C3 |
| 2 | BTT_TMC2209 | btt_tmc2209:BTT_TMC2209 | U1, U3 |
| 1 | 0 | Resistor_SMD:R_1206_3216Metric | R7 |
| 1 | 1N5819WS | Diode_SMD:D_SOD-323 | D1 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 330 uF | Capacitor_Tantalum_SMD:CP_EIA-7343-43_Kemet-X | C4 |
| 1 | 330 uH | Inductor_THT:L_Radial_D12.0mm_P5.00mm_Fastron_11P | L1 |
| 1 | 3522-2 | 3522:FUSE_3522-2 | X1 |
| 1 | 57.6k | Resistor_SMD:R_0805_2012Metric | R8 |
| 1 | 57.6k | Resistor_SMD:R_1206_3216Metric | R6 |
| 1 | Barrel_Jack | Connector_BarrelJack:BarrelJack_CUI_PJ-063AH_Horizontal | J5 |
| 1 | Control UART | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J2 |
| 1 | Expansion Port | Connector_PinSocket_2.54mm:PinSocket_1x09_P2.54mm_Vertical | J6 |
| 1 | Ext power | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | IRF9540N | Package_TO_SOT_THT:TO-220-3_Vertical | Q1 |
| 1 | LM2575-5.0BU | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U4 |
| 1 | MMBF170 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | NC | Resistor_SMD:R_1206_3216Metric | R5 |
| 1 | Pico | RPi_Pico:RPi_Pico_SMD_TH | U2 |
| 1 | Reboot | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1 |
| 1 | SW_SPST | R1966:SW_R1966ABLKBLKGR | SW3 |
| 1 | Stepper Left | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J4 |
| 1 | Stepper Right | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J1 |

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.


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

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.

DasBasti/NokiaRetroFit
Retrofitting a Nokia 3210 with modern Processor




It measures 100 × 100 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
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).