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

Code samples and ready projects based on bare-metal STM32
Nitrogen is an open-source printed circuit board by eddyem, from the eddyem/stm32samples repository on GitHub. It is a 4-layer board of 80 × 80 mm with 140 parts on 166 nets, routed with 1,254 tracks and 255 vias.
It is built around the MAX3485ED, MCP2551-I/SN-HG and BME280, with the LM2576HVS-5, LM1117-3.3 and USBLC6-2SC6 among its other parts. Its parts include 48 resistors, 22 capacitors, 17 connectors, 13 diodes and 8 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 |
|---|---|---|---|
| 12 | 0.1 | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C5, C6, C7, C8, C10, C11, C13, C14, C16, C19, C20, C22 |
| 12 | 6.8 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R14, R16, R17, R20, R26, R27, R40, R42, R43, R45, R46, R47 |
| 10 | 1k 0.1% | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R28, R29, R30, R31, R32, R33, R34, R35, R36, R37 |
| 8 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R5, R7, R9, R11, R12, R39, R41 |
| 6 | 330 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R10, R21, R22, R24, R54 |
| 5 | 330 | Resistor_SMD:R_Array_Convex_4x0603 | RN1, RN2, RN3, RN4, RN5 |
| 4 | 1u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C4, C9, C12 |
| 4 | 4k7 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R23, R25, R38, R44 |
| 4 | 510 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R4, R6, R8 |
| 4 | AOD4184 | Package_TO_SOT_SMD:TO-252-2 | Q1, Q2, Q3, Q4 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H1, H2, H3, H4 |
| 4 | SS14 | Diode_SMD:D_SMA_Handsoldering | D1, D2, D3, D4 |
| 3 | IDC2.54_02x05 | Connector_IDC:IDC-Header_2x05_P2.54mm_Vertical | J4, J10, J11 |
| 3 | SP0505BAHT | Package_TO_SOT_SMD:SOT-23-6 | D9, D10, D13 |
| 3 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_Horizontal | J2, J3, J13 |
| 2 | 22 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R15, R18 |
| 2 | 47u 6V | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder | C17, C21 |
| 2 | 6 | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2, C3 |
| 2 | LM1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U7, U8 |
| 2 | PESD1CAN | Package_TO_SOT_SMD:SOT-23 | D6, D7 |
| 2 | Power | Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_Vertical | J5, J12 |
| 1 | 100u | Inductor_THT:L_Toroid_Horizontal_D6.5mm_P10.00mm_Diameter7-5mm_Amidon-T25 | L1 |
| 1 | 120 | Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolder | R19 |
| 1 | 1N5822 | Diode_THT:D_DO-201_P3.81mm_Vertical_AnodeUp | D12 |
| 1 | 1k5 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R13 |
| 1 | 2.5k@100MHz | Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder | L2 |
| 1 | 3.3V | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP5 |
| 1 | 3v3 | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP4 |
| 1 | 47u 10V | Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C_Pad2.25x2.35mm_HandSolder | C18 |
| 1 | 47u 35V | Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C_Pad2.25x2.35mm_HandSolder | C15 |
| 1 | 485/CAN | Connector_JST:JST_EH_B5B-EH-A_1x05_P2.50mm_Vertical | J9 |
| 1 | 5V | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP4 |
| 1 | 5Vusb | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP1 |
| 1 | ADC8,9 | Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_Vertical | J1 |
| 1 | ADCext | Connector_JST:JST_EH_B4B-EH-A_1x04_P2.50mm_Vertical | J6 |
| 1 | BME280 | Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumbering | U5 |
| 1 | CAN | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1 |
| 1 | CESD3v3 | Diode_SMD:D_SOD-523 | D8 |
| 1 | DTA114Y | Package_TO_SOT_SMD:SOT-323_SC-70_Handsoldering | Q5 |
| 1 | Gnd | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP3 |
| 1 | I2C/U1 | Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_Vertical | J15 |
| 1 | IRF9310 | Package_SO:SO-8_3.9x4.9mm_P1.27mm | Q8 |
| 1 | LEDs | Connector_JST:JST_EH_B5B-EH-A_1x05_P2.50mm_Vertical | J18 |
| 1 | LM2576HVS-5 | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U6 |
| 1 | MAX3485 | Package_SO:SO-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | MBRS130L | Diode_SMD:D_SMB_Handsoldering | D5 |
| 1 | MCP2551-I-SN | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | MCU | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP3 |
| 1 | MM3Z7V5 | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D11 |
| 1 | NX5032GA-8MHz | Crystal:Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | Prog | Connector_PinSocket_1.27mm:PinSocket_1x06_P1.27mm_Vertical | J7 |
| 1 | RS-485 | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP6 |
| 1 | SI2300 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q6 |
| 1 | SI2305 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q9 |
| 1 | STM32F302VBTx | Package_QFP:LQFP-100_14x14mm_P0.5mm | U4 |
| 1 | U3/U4 | Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_Vertical | J14 |
| 1 | USB5V | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP2 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U2 |
| 1 | USB_B | Connector_USB:USB_B_TE_5787834_Vertical | J8 |
| 1 | Vadc | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP5 |
| 1 | Vadc | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP6 |
| 1 | Vin | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP2 |
| 1 | buzzer | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J16 |
It measures 80 × 80 mm and has 4 copper layers, 1.66 mm thick.
140 parts, built around the MAX3485ED, MCP2551-I/SN-HG, BME280 and LM2576HVS-5. 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/NitrogenFlooding/kicad/nitrogen/nitrogen.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.


