
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 192 parts on 158 nets, routed with 1,665 tracks and 276 vias.
It is built around the STM32F303CBT6, ISO1050DUB and ISO3086DW, with the ISO3088DW, B0505S-1W and B0505S-2W among its other parts. Its parts include 58 resistors, 46 capacitors, 17 diodes, 15 connectors and 14 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 |
|---|---|---|---|
| 22 | 0.1 | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2, C4, C11, C26, C27, C28, C30, C31, C32, C33, C34, C35, C37, C38, C39 +6 |
| 11 | 330 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4, R5, R6, R7, R8, R9, R10, R11, R56, R57 |
| 10 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R41, R42, R43, R44, R47, R48, R53, R55, R58 |
| 10 | 1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C9, C10, C17, C20, C23, C25, C41, C42, C44, C46 |
| 9 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1, JP2, JP3, JP4, JP5, JP6, JP7, JP10, JP11 |
| 8 | 1n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C13, C14, C15, C16, C18, C19, C21, C22 |
| 8 | 3k3 | Resistor_SMD:R_2010_5025Metric_Pad1.40x2.65mm_HandSolder | R13, R14, R15, R16, R17, R18, R19, R20 |
| 8 | 560 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R21, R22, R24, R25, R26, R27, R28, R29 |
| 8 | LED SMD | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2, D3, D4, D5, D6, D7, D8 |
| 6 | 7.5 | Resistor_SMD:R_2010_5025Metric_Pad1.40x2.65mm_HandSolder | R34, R35, R36, R37, R38, R39 |
| 6 | Hole | my_footprints:Hole_3mm | P1, P2, P3, P4, P5, P6 |
| 5 | 22 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R31, R32, R45, R46, R54 |
| 4 | 0.5A | Fuse:Fuse_1206_3216Metric | F1, F3, F4, F5 |
| 4 | 110 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R49, R50, R51, R52 |
| 3 | 50k | Potentiometer_THT:Potentiometer_Bourns_3296W_Vertical | RV1, RV2, RV3 |
| 3 | Gnd | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP1, TP2, TP3 |
| 3 | SM712_SOT23 | Package_TO_SOT_SMD:SOT-23 | D14, D15, D17 |
| 3 | SW_Push | Button_Switch_SMD:SW_SPST_FSMSM | SW3, SW4, SW5 |
| 2 | 12 | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3, C5 |
| 2 | 3 | Jumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mm | JP8, JP9 |
| 2 | 4k7 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R12 |
| 2 | 74HC4051 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U4, U5 |
| 2 | B340A | Diode_SMD:D_SMA-SMB_Universal_Handsoldering | D12, D13 |
| 2 | PC844 | Package_DIP:DIP-16_W7.62mm | U6, U7 |
| 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 | C24 |
| 1 | 100u 35V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C12 |
| 1 | 10M | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R33 |
| 1 | 120 | Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolder | R23 |
| 1 | 1N5822 | Diode_THT:D_DO-201_P3.81mm_Vertical_AnodeUp | D11 |
| 1 | 1k5 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R30 |
| 1 | 24V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP4 |
| 1 | 3.3V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP7 |
| 1 | 4.6V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP6 |
| 1 | 47u 6V | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder | C36 |
| 1 | 5A | Fuse:Fuse_1206_3216Metric | F2 |
| 1 | 5V | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP5 |
| 1 | 8MHz | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | 91k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R40 |
| 1 | ADUM4160 | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U9 |
| 1 | Ain | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4_1x04_P5.00mm_Horizontal | J4 |
| 1 | B0505S-1W | my_footprints:B0x0xS | Q1 |
| 1 | B0505S-2W | my_footprints:B0505S-2W | Q5 |
| 1 | B0509S-1W | my_footprints:B0x0xS | Q2 |
| 1 | B2424S-2W | my_footprints:B0505S-2W | Q4 |
| 1 | BME280 | Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumbering | U1 |
| 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 | J3 |
| 1 | EXT_IN | Connector_Phoenix_MC_HighVoltage:PhoenixContact_MC_1,5_10-GF-5.08_1x10_P5.08mm_Horizontal_ThreadedFlange | J2 |
| 1 | G5LE-1-5VDC | Relay_THT:Relay_SPDT_Omron-G5LE-1 | K1 |
| 1 | IP4220CZ6 | Package_TO_SOT_SMD:SOT-23-6 | U12 |
| 1 | ISO1050DUB | Package_SO:SOP-8_6.62x9.15mm_P2.54mm | U3 |
| 1 | ISO3086 | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U13 |
| 1 | ISO3088DW | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U14 |
| 1 | LM1117MP-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U11 |
| 1 | LM2576HVS-5 | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U8 |
| 1 | LOGO | my_footprints:QR | G*** |
| 1 | PESD1CAN | Package_TO_SOT_SMD:SOT-23 | D10 |
| 1 | Prog | Connector_PinSocket_1.27mm:PinSocket_1x06_P1.27mm_Vertical | J6 |
| 1 | RS-485 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J9 |
| 1 | Relay | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J8 |
| 1 | SE-5R5-D105VYV3C | Capacitor_THT:DX_5R5VxxxxU_D19.0mm_P5.00mm | C29 |
| 1 | SI2300 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q6 |
| 1 | SI2308 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q3 |
| 1 | SMBJ30A | Diode_SMD:D_SMB-SMC_Universal_Handsoldering | D9 |
| 1 | SS14 | Diode_SMD:D_SMA-SMB_Universal_Handsoldering | D16 |
| 1 | SSI/422 | Connector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mm | J7 |
| 1 | STM32F303CBT6 | 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 | SW_DIP_x04 | Button_Switch_THT:SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mm | SW2 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U10 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J5 |
| 1 | Vin | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_Horizontal | J1 |

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..


sihyun-noh/zephyr_485toSDI12
Zephyr RTOS 기반 Dajilog MCU 장비의 firmware, custom board 정의, 공통 component, KiCad hardware source를 함께 관리하는 repository입니다.

cuspaceflight/m2-electronics
This repository contains the schematics, PCB designs and firmware for the various electronic systems onboard Martlet 2.


It measures 121.5 × 136.5 mm and has 2 copper layers, 1.6 mm thick.
192 parts, built around the STM32F303CBT6, ISO1050DUB, ISO3086DW and ISO3088DW. 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 F3:F303/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.