Stencil
mikelawrence·esphome-indoor-multi-sensor-hardware·pcb/stencil/stencil.kicad_pcb
About the Stencil PCB
Stencil is an open source ESP32 PCB design by mikelawrence, published on GitHub under the CERN-OHL-P-2.0 license. It is a 4-layer board measuring 52.5 × 59.7 mm, with 97 components from 44 distinct parts.
Its main chip is the ESP32-S3-WROOM-2-N32R16V, from the ESP32 family. Other key parts include the SN74LV1T34DBV, TLV62568DRL, MAX98357AETE, TLV75533PDRV and INA228AIDGSR. By type, the board carries 41 capacitors, 21 resistors, 19 ICs, 6 connectors, 4 diodes and 2 switches.
It belongs with the sensors, iot & wireless and audio designs in this gallery.
From the project
ESPHome Indoor Multi-Sensor hardware. This design supports Radar/PIR Presence, Temperature, Humidity, Pressure, Light, CO2, CO, VOC, NOX and PM sensors. Add a speaker and microphone and you have the kitchen sink too! Click the link below to configure a new device.
The PCB is designed in KiCad. Fabrication and is tuned toward JCLPCB. I chose not to use JLCPCB for assembly because they had a hard time with some the parts I included in this design. When I had the boards fabricated I also had them panelize two PCBs and produce a stencil for both for the panelized boards.

Main components on the Stencil
Stencil bill of materials (BOM)
97 components, 44 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | SN74LV1T34DBV Texas Instruments | SOT-23-5 | U1 |
| 2 | TLV62568DRL Texas Instruments | SOT50P160X60-6N | U2, U5 |
| 1 | MAX98357AETE MAX98357A Maxim | TQFN-16-1EP_3x3mm_P0.5mm_EP1.23x1.23mm | U3 |
| 1 | TLV75533PDRV Texas Instruments | VREG_TLV75533PDRVR | U4 |
| 1 | ESP32-S3-WROOM-2-N32R16V Espressif | ESP32-S3-WROOM-2 | U6 |
| 3 | INA228AIDGSR INA228 Texas Instruments | VSSOP-10_3x3mm_P0.5mm | U7, U18, U19 |
| 1 | TSL2591 AMS | AMS_TSL25911FN | U8 |
| 1 | SGP41-D-R4 SGP41 Sensirion | XCDR_SGP40-D-R4 | U9 |
| 1 | SCD41-D-R2 SCD41 Sensirion | Sensirion_SCD4x-1EP_10.1x10.1mm_P1.25mm_EP4.8x4.8mm | U10 |
| 1 | BMP581 Bosch Sensortec | BMP581 | U11 |
| 1 | MCP6042T-I/MS MCP6042 Microchip | MSOP-8_3x3mm_P0.65mm | U12 |
| 1 | ADS1115IDGS ADS1115 Texas Instruments | TSSOP-10_3x3mm_P0.5mm | U13 |
| 1 | SHT45-AD1B-R2 SHT45 Sensirion | Sensirion_DFN-4_1.5x1.5mm_P0.8mm_SHT4x_NoCentralPad | U14 |
| 1 | EKMC1603111 Panasonic | EKMC163111 | U15 |
| 1 | TGS5141-P00 TGS5141 Figaro | TGS-5141 | U16 |
| 1 | DS18S20+ DS18S20 Maxim | TO-92_Inline | U17 |
| 1 | MMBFJ201 Onsemi | SOT-23 | Q1 |
| 1 | BM06B-GHS-TBT SEN66 JST | JST_GH_BM06B-GHS-TBT_1x06-1MP_P1.25mm_Vertical | J1 |
| 1 | 1332645 USB-C Phoenix Contact | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J2 |
| 1 | CES-105-01-T-S SEN0609 Samtec | PinHeader_1x05_P2.54mm_Vertical | J3 |
Show 24 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | RSM-105-02-S-S LD2410 Samtec | PinSocket_1x05_P1.27mm_Vertical_SMD_Pin1Right | J4 |
| 1 | CMS-251437-24SP-X8 SPKR Same Sky | PinHeader_1x02_P2.00mm_Vertical | J5 |
| 1 | 79109-1003 LD2450 Molex | PinSocket_2x04_P2.00mm_Vertical_SMD | J6 |
| 1 | ICS-43434 TDK InvenSense | InvenSense_ICS-43434-6_3.5x2.65mm | MK1 |
| 1 | B3U-1000P BOOT Omron | SW_SPST_B3U-1000P-B | SW1 |
| 1 | B3U-1000P RESET Omron | SW_SPST_B3U-1000P-B | SW2 |
| 3 | ESDA8P80-1U1M STMicroelectronics | TVS_ESDA25P35-1U1M | D1, D2, D3 |
| 1 | 1938 NeoPixel_THT Adafruit | LED_D5.0mm-4_RGB | D4 |
| 2 | DFE252012F-1R0M=P2 1uH Murata | L_1008_2520Metric | L1, L2 |
| 11 | CL05A105KA5NQNC 1uF Samsung | C_0402_1005Metric | C1, C4, C5, C22, C25, C26, C27, C31 +3 |
| 12 | GRM188R60J226MEA0D 22uF Murata | C_0603_1608Metric | C2, C3, C8, C9, C11, C12, C13, C15 +4 |
| 18 | CL05B104KB54PNC 100nF Samsung | C_0402_1005Metric | C6, C7, C10, C14, C17, C20, C21, C23 +10 |
| 1 | CRCW0402499KFKED 499KΩ Vishay / Dale | R_0402_1005Metric | R1 |
| 4 | CRCW0402100KFKED 100KΩ Vishay / Dale | R_0402_1005Metric | R2, R5, R11, R16 |
| 1 | CRCW0402634KFKED 634KΩ Vishay / Dale | R_0402_1005Metric | R3 |
| 1 | CRCW0402453KFKED 453KΩ Vishay / Dale | R_0402_1005Metric | R4 |
| 6 | CRCW04025K10FKED 5.1KΩ Vishay / Dale | R_0402_1005Metric | R6, R7, R17, R18, R19, R20 |
| 1 | WSLP0603R0680FEA 68mΩ Vishay | R_0603_1608Metric | R8 |
| 1 | WSL0805R1500FEA18 150mΩ Vishay | R_0805_2012Metric | R9 |
| 1 | WSLP0603R0800FEB 80mΩ Vishay | R_0603_1608Metric | R10 |
| 2 | CRCW040210K0FKED 10KΩ Vishay / Dale | R_0402_1005Metric | R12, R13 |
| 1 | CRCW04024R70FKED 4.7Ω Vishay / Dale | R_0402_1005Metric | R14 |
| 1 | CRCW040264K9FKED 64.9KΩ Vishay / Dale | R_0402_1005Metric | R15 |
| 1 | CRCW0402133KFKED 133KΩ Vishay / Dale | R_0402_1005Metric | R21 |
Stencil design files
The KiCad project lives in the mikelawrence/esphome-indoor-multi-sensor-hardware repository on GitHub; these links point at the commit this page was built from.
Stencil: common questions
What microcontroller does the Stencil use?
The Stencil is built around the ESP32-S3-WROOM-2-N32R16V, from the ESP32 family.
How big is the Stencil PCB?
The Stencil measures 52.5 × 59.7 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the Stencil?
97 components, from 44 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 Stencil design files?
From the mikelawrence/esphome-indoor-multi-sensor-hardware repository on GitHub, which has the KiCad layout and the BOM; the links under Design files point to each one.
Can I use the Stencil design in my own project?
Yes, under the terms of its CERN-OHL-P-2.0 license, which mikelawrence chose for the repository.
Can I test firmware for the Stencil without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
More boards in esphome-indoor-multi-sensor-hardware
Similar boards
ESP32
Open Book Abridged Edition
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Bitaxe
skot
56.5 × 99.8 mm86 parts4LCERN-OHL-S-2.01.4k