
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 121.5 × 136.5 mm with 155 parts on 149 nets, routed with 1,637 tracks and 143 vias.
It is built around the ISO1050DUB, ISO3086DW and B0505S-1W, with the B0505S-2W, ISO7241CDW and LM2576-5.0WU among its other parts. Its parts include 38 resistors, 30 connectors, 29 capacitors, 18 ICs and 9 diodes. 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 |
|---|---|---|---|
| 17 | 0.1 | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2, C4, C5, C7, C10, C11, C12, C13, C14, C16, C17, C20, C21, C24, C25, C29 +1 |
| 9 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R9, R10, R12, R13, R14, R15, R16, R17 |
| 8 | 360 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R31, R32, R33, R34, R35, R36, R37, R38 |
| 8 | PC817 | Package_DIP:DIP-4_W7.62mm | U11, U12, U13, U14, U15, U16, U17, U18 |
| 6 | 7.5 | Resistor_SMD:R_2010_5025Metric_Pad1.40x2.65mm_HandSolder | R22, R23, R24, R25, R26, R27 |
| 6 | Hole | my_footprints:Hole_3mm | P1, P2, P3, P4, P5, P6 |
| 5 | 22 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R19, R20, R29, R30 |
| 4 | 1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C3, C15, C23 |
| 3 | 330 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R11, R18 |
| 3 | 4k7 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4, R21 |
| 2 | 100 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R5, R6 |
| 2 | 100u 35V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C18, C19 |
| 2 | 12 | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C6, C8 |
| 2 | 50k | Potentiometer_THT:Potentiometer_Bourns_3296W_Vertical | RV1, RV2 |
| 2 | 74HC4051 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1, U2 |
| 2 | B0505S-1W | my_footprints:B0x0xS | Q1, Q8 |
| 2 | CESD3V3 | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2 |
| 2 | Gnd | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP2, TP3 |
| 2 | MBRS130L | Diode_SMD:D_SMB_Handsoldering | D5, D7 |
| 2 | SI2300 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q4, Q5 |
| 2 | SW_Push | Button_Switch_SMD:SW_SPST_FSMSM | SW1, SW3 |
| 1 | 0 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J1 |
| 1 | 1 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J2 |
| 1 | 100u | Inductor_THT:L_Toroid_Horizontal_D6.5mm_P10.00mm_Diameter7-5mm_Amidon-T25 | L1 |
| 1 | 100u 16V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C28 |
| 1 | 120 | Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolder | R28 |
| 1 | 1F | Capacitor_THT:C_Rect_L18.0mm_W8.0mm_P15.00mm_FKS3_FKP3 | C22 |
| 1 | 1N5822 | Diode_THT:D_DO-201_P3.81mm_Vertical_AnodeUp | D10 |
| 1 | 2 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J7 |
| 1 | 3 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J8 |
| 1 | 3.3V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP4 |
| 1 | 4 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J3 |
| 1 | 4.6V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP1 |
| 1 | 47u 10V | Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C_Pad2.25x2.35mm_HandSolder | C26 |
| 1 | 47u 6V | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder | C27 |
| 1 | 5 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J4 |
| 1 | 5V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP5 |
| 1 | 5Vout | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_Horizontal | J27 |
| 1 | 6 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J5 |
| 1 | 7 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J6 |
| 1 | 8MHz | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | 91k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R8 |
| 1 | ADUM4160 | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U7 |
| 1 | Ain | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J21 |
| 1 | B0505S-2W | my_footprints:B0505S-2W | Q3 |
| 1 | Buzzer 3.3V | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | CAN | Connector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mm | J28 |
| 1 | D | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D3 |
| 1 | EXT_IN | Connector_Phoenix_MC_HighVoltage:PhoenixContact_MC_1,5_10-GF-5.08_1x10_P5.08mm_Horizontal_ThreadedFlange | J30 |
| 1 | HF115F-024-2ZS4 | Relay_THT:Relay_DPDT_Finder_40.52 | K1 |
| 1 | I2C | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J19 |
| 1 | IP4220CZ6 | Package_TO_SOT_SMD:SOT-23-6 | U6 |
| 1 | IRF9310 | Package_SO:SO-8_3.9x4.9mm_P1.27mm | Q7 |
| 1 | ISO1050DUB | Package_SO:SOP-8_6.62x9.15mm_P2.54mm | U8 |
| 1 | ISO3086 | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U3 |
| 1 | ISO7241C | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U5 |
| 1 | LM1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U10 |
| 1 | LM2576-5.0 | Package_TO_SOT_THT:TO-220-5_P3.4x3.7mm_StaggerEven_Lead3.8mm_Vertical | U9 |
| 1 | MM3Z7V5 | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D4 |
| 1 | PA15 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J17 |
| 1 | PA8 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J38 |
| 1 | PB10 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J15 |
| 1 | PB11 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J16 |
| 1 | PESD1CAN | Package_TO_SOT_SMD:SOT-23 | D9 |
| 1 | PROG | Connector_PinSocket_1.27mm:PinSocket_1x06_P1.27mm_Vertical | J9 |
| 1 | PWMout | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | J22 |
| 1 | Power | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J24 |
| 1 | RelayA | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J25 |
| 1 | RelayB | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J10 |
| 1 | Rx | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP2 |
| 1 | SI2308 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q6 |
| 1 | SPI | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-6_1x06_P5.00mm_Horizontal | J20 |
| 1 | SS14 | Diode_SMD:D_SMA-SMB_Universal_Handsoldering | D6 |
| 1 | SSI/422 | Connector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mm | J18 |
| 1 | SSI_VR | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP3 |
| 1 | SSI_Z | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP4 |
| 1 | STM32F072C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U4 |
| 1 | SW_DIP_x01 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile | SW4 |
| 1 | SW_DIP_x04 | Button_Switch_THT:SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mm | SW2 |
| 1 | Tx | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP1 |
The 150 most common of 155 parts.

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

Stab-Rabbit-coding/Serenity-UAV
A functional, security conscious, Unmanned Aerial Vehicle based on the Firefly Class spacecraft Serenity from the 2002 show..


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.


sihyun-noh/zephyr_485toSDI12
Zephyr RTOS 기반 Dajilog MCU 장비의 firmware, custom board 정의, 공통 component, KiCad hardware source를 함께 관리하는 repository입니다.
It measures 121.5 × 136.5 mm and has 2 copper layers, 1.6 mm thick.
155 parts, built around the ISO1050DUB, ISO3086DW, B0505S-1W and B0505S-2W. 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/CANbus4BTA/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.