Flashlight stm32-dev

ahmadtak-3212·flashlight_project·electrical/flashlight-stm32-dev/flashlight-stm32-dev.kicad_pcb

Flashlight stm32-dev PCB layout, top view — open source STM32 board by ahmadtak-3212

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…

Flashlight stm32-dev, from the project README
From the project README

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.

QtyPartRefs
1
BQ25185DLHR
U1
1
STM32L151C8TX
STM32L151C8Tx
U2
1
MMA8452QR1
U3
2
MCP1703AX-120XXTT
MCP1703Ax-120xxTT
U4, U5
1
SMF05CT1G
U6
3
2N7002H
Q1, Q2, Q3
1
C464604
USB_C_Receptacle
J1
11
100N
100n
CSW11, CU13, CU15, CU23, CU24, CU25, CU26, CU27 +3
8
10U
10u
CU11, CU16, CU22, CU31, CU41, CU42, CU51, CU52
2
1u
CU12, CU28
2
1u
CU14, CU17
1
100N
100n
CU210
2
8p
CY11, CY12
2
20P
20p
CY21, CY22
7
220
RD11, RD12, RD13, RD21, RD31, RD41, RD51
2
5.1K
5.1k
RJ11, RJ12
8
10K
10k
RQ11, RQ21, RQ31, RSW21, RSW31, RU13, RU14, RU15
5
100
RQ12, RQ22, RQ32, RSW22, RSW32
1
13K
13k
RU11
1
374
RU12
Show 9 more
QtyPartRefs
1
10K
10k
RU16
2
10K
4.7k
RU31, RU32
3
0
RU33, RY11, RY21
1
C318884
RESET
SW1
1
218-2LPSTR
BOOT
SW2
1
C96341
32.768 kHz 9pf
YU21
1
C115962
8mHz 20pf
YU22
1
C114830
LED_BARG
D1
4
C2286
RED
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

Similar boards