
Multistepper
eddyem/stm32samples
Code samples and ready projects based on bare-metal STM32

Code samples and ready projects based on bare-metal STM32
Stm32 is an open-source printed circuit board by eddyem, from the eddyem/stm32samples repository on GitHub. It is a 2-layer board of 98 × 63.5 mm with 98 parts on 74 nets, routed with 770 tracks and 37 vias.
It is built around the ISO1050DUB, MCP2551-I/SN and B0505S-1W, with the LM2576WT, IP4220CZ6 and LM1117-3.3 among its other parts. Its parts include 27 resistors, 24 connectors, 15 capacitors, 11 diodes and 7 transistors. It belongs with the sensors and measurement and computers and single-board computers boards and the STM32 boards of this library.
The stm32samples repository is a collection of low-level, bare-metal code examples and complete
projects for various STM32 microcontroller series (F0, F1, F3, F4, G0). It uses CMSIS header files
from modm-io/cmsis-header-stm32 for register definitions.
-flto optimisationsdeprecated/This repository is a valuable resource for learning low‑level STM32 programming without vendor libraries. It covers practical applications:
For the latest updates, check the repository on GitHub.
This repository is provided under the GNU General Public License v3 or later. Full text of the GPLv3 is available at https://www.gnu.org/licenses/gpl-3.0.html.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 0.1 | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C2, C3, C4, C6, C7, C8, C9, C11, C15 |
| 8 | 10k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R1, R8, R14, R17, R21, R25, R26, R27 |
| 7 | Hole | my_footprints:Hole_3mm | P1, P2, P3, P4, P5, P6, P7 |
| 5 | 330 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R9, R15, R22, R23, R24 |
| 5 | SI2300 | TO_SOT_Packages_SMD:SOT-23_Handsoldering | Q2, Q3, Q5, Q6, Q7 |
| 5 | SS14 | Diode_SMD:D_SMA-SMB_Universal_Handsoldering | D2, D4, D8, D9, D10 |
| 4 | 680 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R4, R5, R6, R7 |
| 3 | 22 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R3, R10, R11 |
| 3 | Screw_Terminal_01x03 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J11, J12, J17 |
| 2 | 1 | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1, C5 |
| 2 | 100u 16V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C10, C14 |
| 2 | 15k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R19, R20 |
| 2 | 2k2 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R12, R16 |
| 2 | CESD3v3 | Diode_SMD:D_SOD-523 | D6, D7 |
| 2 | Conn_01x02_Female | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J9, J16 |
| 2 | G5LE-1 | Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C | K1, K2 |
| 1 | +3.3V | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J1 |
| 1 | 01x03 | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | J15 |
| 1 | 01x05 | Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_Vertical | J18 |
| 1 | 01x05 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J7 |
| 1 | 100u | Inductor_SMD:L_12x12mm_H4.5mm | L1 |
| 1 | 120 | Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder | R13 |
| 1 | 1N5822 | Diode_THT:D_DO-201_P3.81mm_Vertical_AnodeUp | D11 |
| 1 | 3.3V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP2 |
| 1 | 47k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R18 |
| 1 | 47u 10V | Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C_Pad2.25x2.35mm_HandSolder | C13 |
| 1 | 47u 6V | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder | C12 |
| 1 | 4k7 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R2 |
| 1 | 5V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP1 |
| 1 | AO3407 | TO_SOT_Packages_SMD:SOT-23_Handsoldering | Q4 |
| 1 | B0505S | my_footprints:B0x0xS | Q1 |
| 1 | BOOT0 | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J3 |
| 1 | Connector_Generic:Conn_02x04_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J8 |
| 1 | GND | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J6 |
| 1 | IP4220CZ6 | Package_SO:TSOP-6_1.65x3.05mm_P0.95mm | U6 |
| 1 | ISO1050DUB | Package_SO:SOP-8_6.62x9.15mm_P2.54mm | U2 |
| 1 | LM1117-3.3 | TO_SOT_Packages_SMD:SOT-223-3_TabPin2 | U5 |
| 1 | LM2576 | TO_SOT_Packages_THT:TO-220-5_P3.4x3.7mm_StaggerEven_Lead3.8mm_Vertical | U4 |
| 1 | MCP2551-I/SN | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | MM3Z7V5 | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D5 |
| 1 | NON-ISOL | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical | JP1 |
| 1 | NRST | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J2 |
| 1 | PESD1CAN | TO_SOT_Packages_SMD:SOT-23 | D1 |
| 1 | STM32F072C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U3 |
| 1 | SWCLK | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J5 |
| 1 | SWDIO | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J4 |
| 1 | SW_DIP_x01 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile | SW2 |
| 1 | SW_DIP_x08 | Button_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mm | SW1 |
| 1 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_Horizontal | J10 |
| 1 | USB6B1 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | D3 |
| 1 | USB_B | Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal | J13 |

eddyem/stm32samples
Code samples and ready projects based on bare-metal STM32






eddyem/stm32samples
Code samples and ready projects based on bare-metal STM32





eddyem/stm32samples
Code samples and ready projects based on bare-metal STM32


eddyem/ARMsingleboard
Something for singleboard PC (Orange Pi Zero1/2 etc): I2C, SPI etc.

Seeed-Studio/OSHW-reCamera-Series
reCamera is a series of open-source AI cameras.


team-mountaineers-urc-2023/electronics
Block diagrams, schematics, and PCB files related to the electronics subteam

rivotmotors-rnd/ECU_Firmware_V3
RIVOT ECU V3.0 Repo containing STM32F446RE firmware and KiCad PCB hardware designs.


waicool20/Divergence-Meter-Project-v2
This is the second iteration of the Divergence Meter Project and another personal learning project, this time learning how to integrate Li-Ion batteries into a project, new electrical converter topologies, Rust…
It measures 98 × 63.5 mm and has 2 copper layers, 2.5 mm thick.
98 parts, built around the ISO1050DUB, MCP2551-I/SN, B0505S-1W and LM2576WT. 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 eddyem/stm32samples repository on GitHub, at the commit this page was made from: the board is F0:F030,F042,F072/usbcan_relay/kicad/stm32.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask eddyem before reusing the design.