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

Code samples and ready projects based on bare-metal STM32
Servo control is an open-source printed circuit board by eddyem, from the eddyem/stm32samples repository on GitHub. It is a 2-layer board of 53 × 47 mm with 63 parts on 47 nets, routed with 539 tracks and 22 vias.
It is built around the CH340G, LM1117-3.3 and SMAJ5.0, with the SI2300, SP0504BAHTG and SS14 among its other parts. Its parts include 17 resistors, 14 capacitors, 10 connectors, 5 diodes and 5 transistors. It belongs with the sensors and measurement and robots and motor control 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_Pad0.84x1.00mm_HandSolder | C1, C2, C3, C5, C6, C8, C10, C11, C12 |
| 6 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R1, R7, R9, R15, R16, R17 |
| 5 | 510 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R6, R8, R12, R13, R14 |
| 4 | 220 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R2, R3, R4, R5 |
| 4 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q1, Q3, Q4, Q5 |
| 2 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R10, R11 |
| 2 | 22p | Capacitor_SMD:C_0603_1608Metric_Pad0.84x1.00mm_HandSolder | C7, C9 |
| 2 | SMAJ5.0 | Diode_SMD:D_SMA_Handsoldering | D3, D4 |
| 1 | 10u | Capacitor_SMD:C_1206_3216Metric_Pad1.24x1.80mm_HandSolder | C14 |
| 1 | 12MHz | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | 1u | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.50mm_HandSolder | C13 |
| 1 | 47u | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.53x1.40mm_HandSolder | C4 |
| 1 | 5V | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J10 |
| 1 | ADC_in | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J2 |
| 1 | BMBA 0.1mH | Inductor_SMD:L_0805_2012Metric_Pad1.15x1.50mm_HandSolder | L1 |
| 1 | Boot | Button_Switch_SMD:SW_SPST_FSMSM | SW2 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | CH340G | Package_SOIC:SOIC-16_3.9x9.9mm_P1.27mm | U2 |
| 1 | Dig_In | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J5 |
| 1 | Ext_LED | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J6 |
| 1 | Jumper0 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | Jumper1 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J4 |
| 1 | LM1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | Reset | Button_Switch_SMD:SW_SPST_FSMSM | SW1 |
| 1 | SI2300 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | SP0504BAHT | Package_TO_SOT_SMD:SOT-23-5 | D2 |
| 1 | SS14 | Diode_SMD:D_SMA_Handsoldering | D5 |
| 1 | STM32F030F4Px | Package_SSOP:TSSOP-20_4.4x6.5mm_P0.65mm | U3 |
| 1 | Servo1 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J7 |
| 1 | Servo2 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J8 |
| 1 | Servo3 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J9 |
| 1 | USB6B1 | Package_SOIC:SOIC-8_3.9x4.9mm_P1.27mm | D1 |
| 1 | USB_B_Micro | Connector_USB:USB_Micro-B_Wuerth-629105150521 | J1 |
The 59 most common of 63 parts.
It measures 53 × 47 mm and has 2 copper layers, 1.6 mm thick.
63 parts, built around the CH340G, LM1117-3.3, SMAJ5.0 and SI2300. 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/Servo/kicad/Servo_control.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/ARMsingleboard
Something for singleboard PC (Orange Pi Zero1/2 etc): I2C, SPI etc.




dennowiggle/FLEADiP
FLEADiP is a compatiable add-on board for the Z80 Retro! project

