Flashlight stm32-dev
ahmadtak-3212·flashlight_project·electrical/flashlight-stm32-dev/flashlight-stm32-dev.kicad_pcb
About the Flashlight stm32-dev PCB
Flashlight stm32-dev is an open source STM32 PCB design by ahmadtak-3212, published on GitHub. It is a 6-layer board measuring 120 × 35 mm, with 77 components from 29 distinct parts.
Its main chip is the STM32L151C8TX, from the STM32 family. Other key parts include the BQ25185DLHR, MMA8452QR1, MCP1703AX-120XXTT and SMF05CT1G. By type, the board carries 6 ICs, 5 diodes, 3 transistors, 2 switches and 1 connector.
It belongs with the power & battery designs in this gallery.
From the project
A handheld flashlight built around a Cree XHP50.3 (6 V) LED. The repo holds two threads of work:
A handheld flashlight built around a Cree XHP50.3 (6 V) LED. The repo holds two threads of work:
1. The power converter (finished, documented in the final report): a discrete, analog, constant-current boost converter that takes 3 V from two alkaline cells up to about 6–6.5 V and regulates the LED at about 1–1.5 A. It uses op-amps, a comparator and a gate driver, with no microcontroller in the loop. It was built as the final project for MIT 6.2222 (fall 2025), including the graduate extension. 2. The product boards (in progress): an STM32 controller with shake-to-wake, a USB-PD charger and…

Main components on the Flashlight stm32-dev
Flashlight stm32-dev bill of materials (BOM)
77 components, 29 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | BQ25185DLHR | SON40P220X200X80-11N | U1 |
| 1 | STM32L151C8TX STM32L151C8Tx | LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | MMA8452QR1 | PQFN50P300X300X100-16N | U3 |
| 2 | MCP1703AX-120XXTT MCP1703Ax-120xxTT | SOT-23_Handsoldering | U4, U5 |
| 1 | SMF05CT1G | SOT65P210X110-6N | U6 |
| 3 | 2N7002H | SOT-23_Handsoldering | Q1, Q2, Q3 |
| 1 | C464604 USB_C_Receptacle | AMPHENOL_12401832E402A | J1 |
| 11 | 100N 100n | C_0402_1005Metric | CSW11, CU13, CU15, CU23, CU24, CU25, CU26, CU27 +3 |
| 8 | 10U 10u | C_0603_1608Metric | CU11, CU16, CU22, CU31, CU41, CU42, CU51, CU52 |
| 2 | 1u | C_0603_1608Metric | CU12, CU28 |
| 2 | 1u | C_0402_1005Metric | CU14, CU17 |
| 1 | 100N 100n | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | CU210 |
| 2 | 8p | C_0402_1005Metric | CY11, CY12 |
| 2 | 20P 20p | C_0402_1005Metric | CY21, CY22 |
| 7 | 220 | R_0402_1005Metric | RD11, RD12, RD13, RD21, RD31, RD41, RD51 |
| 2 | 5.1K 5.1k | R_0402_1005Metric | RJ11, RJ12 |
| 8 | 10K 10k | R_0402_1005Metric | RQ11, RQ21, RQ31, RSW21, RSW31, RU13, RU14, RU15 |
| 5 | 100 | R_0402_1005Metric | RQ12, RQ22, RQ32, RSW22, RSW32 |
| 1 | 13K 13k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | RU11 |
| 1 | 374 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | RU12 |
Show 9 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 10K 10k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | RU16 |
| 2 | 10K 4.7k | R_0402_1005Metric | RU31, RU32 |
| 3 | 0 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | RU33, RY11, RY21 |
| 1 | C318884 RESET | TS1187ABAB | SW1 |
| 1 | 218-2LPSTR BOOT | 2182LPSTR | SW2 |
| 1 | C96341 32.768 kHz 9pf | Crystal_SMD_2012-2Pin_2.0x1.2mm | YU21 |
| 1 | C115962 8mHz 20pf | Crystal_SMD_5032-2Pin_5.0x3.2mm | YU22 |
| 1 | C114830 LED_BARG | LED-SMD_4P-L1.6-W1.6-BR-RD | D1 |
| 4 | C2286 RED | LED_0603_1608Metric | D2, D3, D4, D5 |
Flashlight stm32-dev design files
The KiCad project lives in the ahmadtak-3212/flashlight_project repository on GitHub; these links point at the commit this page was built from.
Flashlight stm32-dev: common questions
What microcontroller does the Flashlight stm32-dev use?
The Flashlight stm32-dev is built around the STM32L151C8TX, from the STM32 family.
How big is the Flashlight stm32-dev PCB?
The Flashlight stm32-dev measures 120 × 35 mm, has 6 copper layers and is 1.6 mm thick.
How many components are on the Flashlight stm32-dev?
77 components, from 29 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Flashlight stm32-dev design files?
From the ahmadtak-3212/flashlight_project repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Flashlight stm32-dev design in my own project?
The repository has no license, so all rights stay with ahmadtak-3212. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Flashlight stm32-dev without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in flashlight_project
RP2040/RP2350
Flashlight power input dev
ahmadtak-3212
100 × 30 mm89 parts4LNo license0- schematic only · 85 partsSTM32
Flashlight full v1-1
ahmadtak-3212
85 parts6LNo license0 Flashlight boost dev-2
ahmadtak-3212
33 × 33 mm12 parts2LNo license0Flashlight boost dev
ahmadtak-3212
32 × 32 mm7 parts2LNo license0Flashlight led
ahmadtak-3212
32 × 32 mm5 parts2LNo license0
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
LibreVNA
jankae
122 × 98 mm592 parts6LGPL-3.01.6kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2k