
CM5 MINIMA 2
piecol/CM5_MINIMA_REV2
Compact, feature-filled CM5 carrier board

Started as a firmware for https://hackaday.io/project/177237-corexy-pen-plotter, possibly could be adapted to other CNCs as well.
Plotter is an open-source printed circuit board by iwasz, from the iwasz/zephyr-grbl repository on GitHub, published under the MIT licence. It is a 2-layer board of 222.6 × 42.4 mm with 80 parts on 92 nets, routed with 732 tracks and 299 vias.
It is built around the PUSB3F96X. Its parts include 45 capacitors, 13 resistors, 9 connectors, 8 ICs and 2 switches. It belongs with the robots and motor control boards and the STM32 boards of this library.
A GRBL ported to Zephyr RTOS with some additional features like software CDC ACM serial port and SD card support. Developed for my CoreXY pen ploter, so some features of GRBL are commented out. Please create an issue or propose a pull request if you are interested in more functionality (list of unsupported bits is below). The greatest benefit of having the GRBL ported to Zephyr is the ability of running it on variety of platforms with way more powerful CPUs than the original Arduino. As of now this project is targeting the STM32F405RG (earlier tests were performed on the STM32F446RE) and with minor modifications in the boards directory or overlay file (or adding either of those to be precise) it should work on different STM32-s as well.
The only non standard driver this project uses is the modules/hw_timer and this is the only obstacle for running this on MCUs different than STM32-s. modules/hw_timer is derived from the pwm driver and its only purpose is to fire a callback(s) on a timer update event (and possibly on output compare event in the future). Other parts are implemented in stock Zephyr.
The project was written to power my CoreXY pen plotter, and as such has some parts not implemented (probing) and others not tested (Z-axis with stepper motor, see below). It should be a good starting point to develop something more complete that would run the variety of CNC machines. Pull requests are welcome.
Tested with Zephyr RTOS 2.6.99. Familiarize yourself with the Zephyr RTOS build process first. :
?
That is when CONFIG_BOOTLOADER_MCUBOOT=n in the prj.conf.
rm -Rf build
cmake -B build -GNinja -DBOARD=plotter_f405rg -DBOARD_ROOT=. .
ninja -C build
west flash # Or use IDE, or use openocd directlyconfig.h and globally in the CMakeLists.txt. Used mostly in the defaults.hextern "C" { to most of the *.h files to enable C++ interoperability.defaults.h.delay function in the main loop. This prevents scheduler from switching to other lower-priority threads which in my case were : idle, logging and shell_uart. I've lowered the main thread priority to 14 (from 0) and added k_yeld, so other low priority threads have a chance to run now. This include logging, shell and others.Derived from PWM driver. Changes:
Header:
typedef for the callback.Source file:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 35 | 100nF | Capacitor_SMD:C_0603_1608Metric | C2, C3, C10, C11, C12, C13, C14, C15, C17, C18, C19, C22, C26, C27, C28, C30 +19 |
| 8 | 1k | Resistor_SMD:R_0603_1608Metric | R5, R6, R7, R8, R9, R10, R11, R12 |
| 4 | 22R | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R4 |
| 3 | 1µF | Capacitor_SMD:C_0603_1608Metric | C23, C24, C25 |
| 3 | PUSB3F96 | iwasz:Diodes_UDFN-10_1.0x2.5mm_P0.5mm | U4, U7, U8 |
| 2 | 100µF | Capacitor_SMD:CP_Elec_8x10 | C29, C35 |
| 2 | 2.2µF | Capacitor_SMD:C_1206_3216Metric | C20, C21 |
| 2 | bigtreetech-tmc2130 | iwasz:Pololu_Breakout-16_15.2x20.3mm | U2, U3 |
| 1 | 10k | Resistor_SMD:R_0603_1608Metric | R13 |
| 1 | 22µF 16V | Capacitor_SMD:CP_Elec_8x10 | C1 |
| 1 | 330µF, 50V | Capacitor_SMD:CP_Elec_8x10 | C37 |
| 1 | 4.7µF | Capacitor_SMD:C_1210_3225Metric | C16 |
| 1 | AP1117-33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U6 |
| 1 | Barrel_Jack_Switch | iwasz:BarrelJack_Horizontal | J6 |
| 1 | Console | Connector_PinHeader_1.27mm:PinHeader_1x03_P1.27mm_Vertical | J3 |
| 1 | Ferrite_Bead | Inductor_SMD:L_0603_1608Metric | FB1 |
| 1 | Limit switches | Connector_JST:JST_PH_B8B-PH-K_1x08_P2.00mm_Vertical | J10 |
| 1 | MPRB2405S-6W | iwasz:MPRB2405S-6W | U5 |
| 1 | Micro_SD_Card_Det | iwasz:microSD_HC_Hirose_DM3AT-SF-PEJM5 | J4 |
| 1 | Motor1 | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J9 |
| 1 | Motor2 | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J8 |
| 1 | Polyfuse | Fuse:Fuse_1812_4532Metric | F1 |
| 1 | Reset | TestPoint:TestPoint_Pad_1.5x1.5mm | TP1 |
| 1 | Rotary_Encoder_Switch | iwasz:RotaryEncoder_Alps_EC11E_Vertical_H20mm | SW1 |
| 1 | SH 1106 Display | iwasz:SH1106 | J1 |
| 1 | STM32F405RGTx | Package_QFP:LQFP-64_10x10mm_P0.5mm | U1 |
| 1 | SWD | Connector_PinHeader_1.27mm:PinHeader_1x04_P1.27mm_Vertical | J2 |
| 1 | SW_SPDT | iwasz:MFP 201 NR_copy | SW2 |
| 1 | USB_B_Micro | iwasz:USB_Micro-B_Amphenol_10104110_Horizontal | J5 |

piecol/CM5_MINIMA_REV2
Compact, feature-filled CM5 carrier board

antmicro/snapdragon-845-baseboard
https://antmicro.com/blog/2022/04/open-source-snapdragon-845-baseboard/

antmicro/cm4-baseboard
Experimental baseboard supporting System on Modules with Raspberry Pi CM4/CM5 pinout

antmicro/cm4-baseboard-lvds-adapter
Adapter board converting MIPI DSI into LVDS with additional circuitry for integrating custom displays


antmicro/job-storage-expansion
This project contains open hardware design files for an expansion board compatible with Antmicro's Jetson Orin Baseboard.


It measures 222.6 × 42.4 mm and has 2 copper layers, 1.6 mm thick.
80 parts, built around the PUSB3F96X. 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 iwasz/zephyr-grbl repository on GitHub, at the commit this page was made from: the board is pcb/plotter/plotter.kicad_pcb and its schematic pcb/plotter/motors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).