Night light-PCB-prototype

oyeniyihakeem08-blip·Night-light-PCB-prototype

Night light-PCB-prototype layout, top view — open source STM32 board by oyeniyihakeem08-blip

About the Night light-PCB-prototype

Night light-PCB-prototype is an open source STM32 PCB design by oyeniyihakeem08-blip, published on GitHub. It is a 4-layer board measuring 242.1 × 170 mm, with 147 components from 71 distinct parts.

Its main chip is the STM32G031K8T6TR, from the STM32 family. Other key parts include the NRF24L01P-R, TLV3012AIDBVTG4, BISS0001, BQ24074RGT and ATTINY1616-S. By type, the board carries 52 resistors, 46 capacitors, 18 ICs, 6 LEDs, 6 inductors and 4 transistors.

It belongs with the power & battery designs in this gallery.

From the project

A smart, motion-sensing LED night light that runs straight from the mains, keeps working through power cuts on its own battery, and is controlled by a paired wireless remote.

A smart, motion-sensing LED night light that runs straight from the mains, keeps working through power cuts on its own battery, and is controlled by a paired wireless remote.

I designed and built both custom PCBs end to end: schematic, PCB layout, power design, component selection and firmware for both the light and the remote.

- Mains to light, all on one board: 100 to 240 VAC input, isolated 5 V conversion, battery charging, 3.3 V logic, RF, sensing and a six-LED lighting array. - Seamless battery backup: an 18650 Li-ion cell takes over automatically during a power outage, designed for…

Main components on the Night light-PCB-prototype

NRF24L01P-RTLV3012AIDBVTG4BISS0001STM32G031K8T6TRBQ24074RGTATTINY1616-Smouse biteTLV75533PDBVPIS-209S

Night light-PCB-prototype bill of materials (BOM)

147 components, 71 distinct parts — part numbers from the project's BOM.

QtyPartRefs
2
NRF24L01P-R
IC1, IC5
1
TLV3012AIDBVTG4
IC2
1
BISS0001
IC3
1
STM32G031K8T6TR
IC4
1
BQ24074RGT
U1
1
ATTINY1616-S
ATtiny1616-S
U2
9
mouse bite
U3, U5, U7, U8, U9, U10, U11, U12 +1
1
TLV75533PDBV
U4
1
PIS-209S
U6
2
AO3407A
Q1, Q3
2
AO3400A
Q2, Q4
2
X322516MOB4SI
crystal
Y1, Y2
1
C160262
Battery
J1
2
CONN_01X01_PIN
Conn_01x01_Pin
J4, J5
1
BC2AAAPC
Battery
BT1
1
SF-3812TL100T-2
JFC2410-1100TS
F1
1
UU9.8-10MH
FL2
1
HLK-5M05
PS1
1
C2839517
Varistor
RV1
3
1301.9314.24
S1, S2, S3
Show 51 more
QtyPartRefs
1
PVG3A103C01R00
VR1
6
SPMWH1228MD5WATUVK
LED1, LED2, LED3, LED4, LED5, LED6
1
LED
D1
2
8.2NH
8.2nH
L4, L7
2
3.9NH
3.9nH
L5, L9
2
2.7NH
2.7nH
L6, L8
1
1UF
1uf
C1
1
1NF
1nf
C2
2
100NF
100nf
C3, C6
1
0.1
C4
4
4.7UF
4.7uf
C5, C8, C9, C11
1
0.1UF
0.1uf
C7
1
220UF
220uf
C10
1
1UF
1uf
C12
1
10UF
10uf
C14
2
33NF
33nf
C16, C47
1
10UF
10uf
C19
4
47UF
47uf
C21, C26, C35, C41
1
510PF
510pf
C22
4
22PF
22pf
C23, C25, C48, C49
2
1NF
1nf
C28, C50
3
56NF
56nf
C30, C38, C46
2
10NF
10nf
C31, C51
3
470PF
470pf
C34, C44, C45
2
100NF
100nf
C36, C53
1
103PF
103pf
C37
2
1.5PF
1.5pf
C39, C55
2
4.7PF
4.7pf
C40, C54
2
1PF
1pf
C42, C56
2
2.2NF
2.2nf
C43, C52
1
2.7K
R1
14
10K
10k
R2, R5, R8, R9, R11, R16, R17, R18 +6
1
1.8K
R3
1
NTC
R4
2
22K
22k
R6, R21
1
4K7
4k7
R7
3
100K
100k
R10, R13, R29
1
174K
174k
R12
5
1M
R14, R26, R32, R33, R47
2
100R
100r
R15, R38
1
120K
120k
R19
1
C125627
R_Photo
R20
5
18K
18k
R23, R24, R25, R28, R30
2
6.2K
6.2k
R27, R35
1
2.2M
R31
1
3.3M
R34
1
180K
R36
1
4.7M
R37
1
470K
470k
R39
6
33R
R41, R42, R43, R44, R45, R46
1
330R
330r
R52

Night light-PCB-prototype design files

The KiCad project lives in the oyeniyihakeem08-blip/Night-light-PCB-prototype repository on GitHub; these links point at the commit this page was built from.

Night light-PCB-prototype: common questions

What microcontroller does the Night light-PCB-prototype use?

The Night light-PCB-prototype is built around the STM32G031K8T6TR, from the STM32 family.

How big is the Night light-PCB-prototype?

The Night light-PCB-prototype measures 242.1 × 170 mm, has 4 copper layers and is 1.6062 mm thick.

How many components are on the Night light-PCB-prototype?

147 components, from 71 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 Night light-PCB-prototype design files?

From the oyeniyihakeem08-blip/Night-light-PCB-prototype 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 Night light-PCB-prototype design in my own project?

The repository has no license, so all rights stay with oyeniyihakeem08-blip. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Night light-PCB-prototype 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