LuxMeter
legend9ama·LuxMeterPCB·LuxMeter/LuxMeter.kicad_pcb
About the LuxMeter PCB
LuxMeter is an open source STM32 PCB design by legend9ama, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 40 × 50 mm, with 36 components from 23 distinct parts.
Its main chip is the C89040, from the STM32 family. Other key parts include the C78960, C632000 and C150772. By type, the board carries 13 resistors, 8 capacitors, 5 connectors, 4 ICs, 3 diodes and 2 switches.
It belongs with the displays & leds, power & battery and sensors designs in this gallery.
From the project
LuxMeter started as a PCB design assignment for my Fundamentals of Electronics course.
LuxMeter started as a PCB design assignment for my Fundamentals of Electronics course.
The requirement was just to submit the layout files, but I decided to go all the way. I ordered the PCBAs and wrote the firmware.
This repository contains the hardware design files (KiCad), schematics, and manufacturing data.
The full schematic design is available in the LuxMeter/ folder.

Main components on the LuxMeter
LuxMeter bill of materials (BOM)
36 components, 23 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C78960 BH1750FVI-TR | XDCR_BH1750FVI-TR | U1 |
| 1 | C632000 MCP1700T-3302E_MB | MCP1700T-3302E_MB | U2 |
| 1 | C150772 MCP73831-2ACI_MC | MCP73831-2ACI_MC | U3 |
| 1 | C89040 STM32F030F4P6 | SOP65P640X120-20N | U4 |
| 1 | C8545 2N7002 | SOT-23 | Q1 |
| 1 | C456012 USB_C_Receptacle_PowerOnly_6P | CUI_UJC-HP-3-SMT-TR | J1 |
| 1 | C585350 104031-0811 | MOLEX_104031-0811 | J2 |
| 1 | SWD | PinHeader_1x05_P1.00mm_Vertical | J3 |
| 1 | OLED | PinHeader_1x04_P1.00mm_Vertical | J4 |
| 1 | Battery | PinHeader_1x02_P1.00mm_Vertical | J5 |
| 2 | C318884 TS-1187A-B-A-B | SW_TS-1187A-B-A-B | S1, S2 |
| 2 | C2297 LED | LED_0805_2012Metric | D1, D2 |
| 1 | C2286 LED | LED_0603_1608Metric | D3 |
| 3 | C19666 4.7μF | C_0603_1608Metric | C1, C2, C4 |
| 1 | C15849 1μF | C_0603_1608Metric | C3 |
| 4 | C14663 0.1μF | C_0603_1608Metric | C5, C6, C7, C8 |
| 1 | C21190 1kOhm | R_0603_1608Metric | R1 |
| 2 | C23186 5.1kOhm | R_0603_1608Metric | R2, R3 |
| 3 | C25804 10kOhm | R_0603_1608Metric | R4, R6, R11 |
| 1 | C23212 6.8kOhm | R_0603_1608Metric | R5 |
Show 3 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | C23138 330 Ohm | R_0603_1608Metric | R7, R8 |
| 2 | C25803 100kOhm | R_0603_1608Metric | R9, R10 |
| 2 | C23162 4.7kOhm | R_0603_1608Metric | R12, R13 |
LuxMeter design files
The KiCad project lives in the legend9ama/LuxMeterPCB repository on GitHub; these links point at the commit this page was built from.
- LayoutLuxMeter/LuxMeter.kicad_pcb
- SchematicLuxMeter/LuxMeter.kicad_sch
- BOMgerbers/bom.xls
LuxMeter: common questions
What microcontroller does the LuxMeter use?
The LuxMeter is built around the C89040, from the STM32 family.
How big is the LuxMeter PCB?
The LuxMeter measures 40 × 50 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the LuxMeter?
36 components, from 23 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 LuxMeter design files?
From the legend9ama/LuxMeterPCB 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 LuxMeter design in my own project?
Yes, under the terms of its GPL-3.0 license, which legend9ama chose for the repository.
Can I test firmware for the LuxMeter 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.
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