
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 97 × 69.5 mm with 103 parts on 99 nets, routed with 1,048 tracks and 97 vias.
It is built around the CD4050BD, ISO1050DUB and B0505S-1W, with the LM2576-5.0WU, LM1117-3.3 and CESD3V3D5 among its other parts. Its parts include 34 resistors, 22 connectors, 16 capacitors, 12 diodes and 6 ICs. 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 |
|---|---|---|---|
| 15 | 100 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R5, R6, R8, R9, R11, R12, R14, R15, R23, R24, R25, R26, R27, R28, R29 |
| 9 | 0.1 | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C2, C3, C5, C6, C7, C8, C9, C11, C15 |
| 8 | Conn_01x04_Female | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J2, J3, J4, J5, J14, J15, J16, J17 |
| 6 | 10k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R1, R2, R17, R18, R20, R33 |
| 5 | 22 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R4, R7, R10, R30, R31 |
| 4 | CESD3V3 | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D3, D4, D6 |
| 4 | Hole | my_footprints:Hole_3mm | P1, P2, P6, P7 |
| 3 | 330 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R16, R21, R32 |
| 3 | 4k7 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R3, R13, R34 |
| 3 | D | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D2, D5, D7 |
| 3 | SI2300 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q2, Q3, Q4 |
| 2 | 01x03 | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | J1, J6 |
| 2 | 01x05 | Connector_JST:JST_PH_B5B-PH-K_1x05_P2.00mm_Vertical | J8, J9 |
| 2 | 1 | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1, C4 |
| 2 | 100u 16V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C10, C14 |
| 2 | CD4050 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U4, U5 |
| 2 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_Horizontal | J12, J13 |
| 2 | Screw_Terminal_01x03 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J7, J10 |
| 1 | 100u | Inductor_THT:L_Toroid_Horizontal_D6.5mm_P10.00mm_Diameter7-5mm_Amidon-T25 | L1 |
| 1 | 100u 35V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C16 |
| 1 | 120 | Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder | R19 |
| 1 | 1N5822 | Diode_THT:D_DO-201_P3.81mm_Vertical_AnodeUp | D12 |
| 1 | 3.3V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP2 |
| 1 | 47 | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R22 |
| 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 | 5V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP1 |
| 1 | B0505S | my_footprints:B0x0xS | Q1 |
| 1 | G5LE-1 | Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C | K1 |
| 1 | Gnd | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP4 |
| 1 | IRF9310 | Package_SO:SO-8_3.9x4.9mm_P1.27mm | Q5 |
| 1 | ISO1050DUB | Package_SO:SOP-8_6.62x9.15mm_P2.54mm | U1 |
| 1 | LM1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U6 |
| 1 | LM2576-5.0 | Package_TO_SOT_THT:TO-220-5_P3.4x3.7mm_StaggerEven_Lead3.8mm_Vertical | U3 |
| 1 | MM3Z7V5 | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D11 |
| 1 | NRST | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP3 |
| 1 | PESD1CAN | Package_TO_SOT_SMD:SOT-23 | D8 |
| 1 | SS14 | Diode_SMD:D_SMA-SMB_Universal_Handsoldering | D10 |
| 1 | STM32F072C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | SW_DIP_x01 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile | SW1 |
| 1 | SolderJumper_3_Open | Jumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm | JP1 |
| 1 | USB6B1 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | D9 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J11 |
| 1 | buzzer | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J18 |
It measures 97 × 69.5 mm and has 2 copper layers, 2.5 mm thick.
103 parts, built around the CD4050BD, ISO1050DUB, B0505S-1W and LM2576-5.0WU. 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/3steppersLB/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.

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.

