Skip to the content
4 layers98 × 48 mmEsphome pressure, the printed circuit board in 3D

esphome board with a differential pressure sensor, supporting a variety of power sources

Size
98 × 48 mm
Copper layers
4
Thickness
1.6 mm
Parts
51
Nets
54
Pads
234
Tracks, vias
393, 114
Pours
5
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
24 Sep 2023
Updated
7 Oct 2026

Overview

Esphome pressure is an open-source printed circuit board by gcormier, from the gcormier/esphome-pressure repository on GitHub. It is a 4-layer board of 98 × 48 mm with 51 parts on 54 nets, routed with 393 tracks and 114 vias.

It is built around the ESP32-C3-MINI-1, BD9G101G-TR and AMS1117-3.3, with the SS210 and SMTSOM225BTR among its other parts. Its parts include 13 resistors, 12 capacitors, 8 diodes, 4 connectors and 3 ICs. It belongs with the home automation and IoT and sensors and measurement boards and the ESP32 and RISC-V boards of this library.

Main components

5

README

readme.md

esphome-pressure

Purchase via my online store.

This is a custom device for reading differential pressure. The most useful example I can think of is monitoring your pressure drop across your air filter. This is a great way to know when to change your filter.

It is based on an ESP32-C3-MINI, which has native USB-C for flashing.

The pressure sensor part number will control the differential range that can be expected, as well as the accuracy (+/- 2%). I've chosen +/- 0.5kPa, which is about 2" of pressure drop. Most HVAC systems are designed to have a pressure drop of 0.1" (0.025kPa).

Temperature Sensors

Version 3 (Dec 2024) is now available. It adds an additional pluggable header that will support Dallas 1-wire temperature sensors. The temperature sensor is optional, and the device will work without it. If you are using a Dallas DS18B20 sensor, I strongly recommend using Digikey, Mouser or Adafruit to avoid obtaining counterfeit sensors. Since these sensors use a 1-wire bus, and each have a unique ID, you can have as many sensors as you want using the single connection.

You will need to find out your sensor ID's as per the esphome documentation.

Damage

Sensor specifications:

  • Up to 5X rated pressure is unlikely to cause issues
  • Between 5X-10X rated pressure, the sensor might gain a permanent 'offset'
  • Above 10X it is likely to burst and/or be permanently damaged

Power Supply

  • USB-C
  • AC - 24VAC maximum. (common voltage used in HVAC system)
  • DC - 9-30VDC. A 12V or 24V DC wall wart should be fine.

It has a 500mA polyfuse directly off the screw terminal inputs to protect your HVAC system. The USB-C port is unfused and should be protected by the upstream device.

Flashing / Programming

The USB-C port can be used to program. The first time, the reset button must be held. After this, all subsequent programming does not require access to the button.

Enclosure

The PCB will fit inside a Hammond 1593KBK or a Bud Industries HP-3650-B case. Both are available from Mouser, Digikey and elsewhere. You can either cut (CNC), fab (PCB) or 3D-print the faceplates. You can superglue some magnets in the case to have it stick to your HVAC system.

Setup guide

  1. While holding the button, plug in the USB-C cable to your computer. This will put the device into programming mode. Holding the button is only required the first time you flash the firmware, or if you really mess something up. Future updates can be done over WiFi, or without needing to push the button.
  2. Flash esphome using the sample esphome.yaml file. You will need to change the wifi settings to match your network. You can use a secrets.yaml file to keep your wifi password out of the main file, or you can keep it hardcoded into the main file.
  3. Power-cycle the device, and you should be able to see the device shortly in Home Assistant.
  4. With both ports unconnected, make a note of the value of the sensor.
  5. For example, if your sensor is reading -40Pa when the ports are disconnected, you can set the offset to 40 to zero out the sensor in the esphome.yaml file. eg.
text
sensor:
  - platform: xgzp68xx
    temperature:
        name: "Temperature"
    pressure:
        name: "Differential Pressure"
        filters:
            - offset: 40
  1. Reprogram the device with the new offset. It should now report 0Pa when the ports are unconnected.
  2. Using some tubing, connect the ports to the pressure points you wish to measure. For example, you can connect one port after the air filter, and the other to the return air duct. You can then monitor the pressure drop across the filter.

Note the sensor accuracy is +/- 2%. It is quite sensitive to pressure changes, so you may with to use other esphome filters in order to smooth out the values.

Hose/tubing

The following are based on feedback from users. If you would like to contribute something you've found to work well, please let me know via pull request, GitHub issue, or email.

Size/MaterialSample Amazon KeywordsComments
2.5mm ID, 4mm OD polyurethanePneumatic Tubing - Polyurethane Air Compressor Hose Pipe, Apply to Air Line Transfer (4mm OD 2.5mm ID)Works well, a bit stiff
1/16" ID, 1/8" OD silicone1/16" ID x 1/8" OD Pure Thin Silicone Tubing Food Grade Pure Silicon Tube High Temp Home Brewing Winemaking Silicone Hose Tubing, 26.25ft LengthVery tight fit, suggest other sizes
2mm ID, 4mm OD siliconePure Silicone Tubing, 2mm ID x 4mm OD High Temp Food Grade Tube Pure Silicone Hose TubeWorks well
3mm ID, 5mm OD siliconeToo loose! Do not use

GPIO Breakout

There are now GPIO's broken out on a 2.54mm (0.1") header. The i2c bus is also broken out. These are all 3.3V logic pins, be careful not to source too much current from the power pins.

Absolute pressure

If you want to change the sensor to an absolute pressure sensor, the XGZP6887D appears to be footprint compatible. The code should also work, but you will need to set your K value according to the datasheet.

Please see https://github.com/gcormier/esphome-pressure/discussions/12 for more discussion and leave a comment if you are using it successfully.

Sensor modules

The sensor is moving onto plug-in modules that use an SFP connector, so one main board can take different sensors. The interface (pinout, I²C/SPI/UART, +3V3/+5V, module lengths) is specified in interface/INTERFACE.md.

text
pcb/                  main board (the carrier)
interface/            shared SensorModule symbol, SFP footprints, INTERFACE.md
modules/hybrid/       sensor module: fits an SDP810 or an XGZP6899D on one board
modules/skeleton/     blank L42 module to start new ones from (hole grid, keepouts)

Every project references interface/ relatively, so nothing needs configuring in KiCad. The main board is released with pcb-v<N> tags; a module with <project>-v<N>, eg hybrid-v1.

Parts

51
QtyValueFootprintReferences
105k1Resistor_SMD:R_0402_1005MetricR1, R3, R4, R5, R7, R8, R9, R10, R11, R13
710uF 50VCapacitor_SMD:C_1206_3216MetricC1, C6, C7, C8, C9, C11, C12
7SS210Diode_SMD:D_SMAD1, D2, D3, D4, D5, D6, D7
4MountingHoleMountingHole:MountingHole_3.2mm_M3H101, H102, H103, H104
30.1u 25vCapacitor_SMD:C_0603_1608MetricC2, C3, C4
2680Resistor_SMD:R_0402_1005MetricR2, R6
1100uF 50VCapacitor_SMD:CP_Elec_8x10C10
1140mA hold / 340mA trip mSMD014Fuse:Fuse_1812_4532MetricF1
115nFCapacitor_SMD:C_0603_1608MetricC5
124VACConnector_Phoenix_MC:PhoenixContact_MC_1,5_2-G-3.81_1x02_P3.81mm_HorizontalJ1
13k9Resistor_SMD:R_0402_1005MetricR12
16.8uHInductor_SMD:L_Sunlord_SWPA5012SL1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1BD9G101GPackage_TO_SOT_SMD:SOT-23-6U1
1ESP32-C3-MINI-1Espressif:ESP32-C3-MINI-1U4
1M2 nut 10 mmMounting_Wuerth:Mounting_Wuerth_WA-SMSI-M2_H2.5mm_9774025243H9
1M2 nut 2.925 mmMounting_Wuerth:Mounting_Wuerth_WA-SMSI-M2_H2.5mm_9774025243H5
1M2 nut 34 mmMounting_Wuerth:Mounting_Wuerth_WA-SMSI-M2_H2.5mm_9774025243H7
1M2 nut 40 mmMounting_Wuerth:Mounting_Wuerth_WA-SMSI-M2_H2.5mm_9774025243H8
1PWRLED_SMD:LED_0805_2012MetricD8
1RESETButton_Switch_SMD:SW_Push_1P1T_XKB_TS-1187ASW1
1SensorModulesensor_module:SFP+J6
1T1Connector_Phoenix_MC:PhoenixContact_MC_1,5_3-G-3.81_1x03_P3.81mm_HorizontalJ5
1USBCConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ4

More from gcormier/esphome-pressure

2
  • 2 layers51 × 20 mmHybrid, the printed circuit board in 3D

    Hybrid

    gcormier/esphome-pressure

    esphome board with a differential pressure sensor, supporting a variety of power sources

    7 parts102
  • 2 layers51 × 20 mmSkeleton, the printed circuit board in 3D

    Skeleton

    gcormier/esphome-pressure

    esphome board with a differential pressure sensor, supporting a variety of power sources

    3 parts102

Similar boards

  • 4 layers56.6 × 57.7 mmEspairqual, the printed circuit board in 3D

    Espairqual

    gcormier/espairqual

    esphome board to interface with a few air quality (PM) sensors

    47 parts6
  • 2 layers81 × 59 mmAlarmbuddy, the printed circuit board in 3D

    Alarmbuddy

    gcormier/alarmbuddy

    The output current for sensors is limited to a few milliamps.

    34 parts22
  • 2 layers50 × 80 mmHelgatchi front PCB, the printed circuit board in 3D

    Helgatchi front PCB

    Pips801/Helgatchi

    Handheld BLE/WiFi detector and foxhunter

    43 parts15
  • 2 layers56.5 × 40.5 mmUSBC M2E HaLow Adapter, the printed circuit board in 3D

    USBC M2E HaLow Adapter

    Diode663/USBC_M2E_HaLow_Adapter

    USB-C (USB 2.0) to M.2 Key-E carrier for the Gateworks GW16170 Wi-Fi HaLow card. KiCad 10, generated from Python, Rev A sent to JLCPCB.

    30 partsCERN-OHL-P-2.0
  • 4 layers100 × 75 mmAwg, the printed circuit board in 3D

    Awg

    flaviut/awg

    The optional controls board for this device

    110 parts
  • 4 layers100 × 80 mmNew dac, the printed circuit board in 3D

    New dac

    jonaheinke/dac

    158 partsMIT
  • 4 layers75.2 × 99.5 mmFOC, the printed circuit board in 3D

    FOC

    nordstream3/FOC

    Date | Manufacturer | amount | includes | shipping & tax | price | -------- | -------- | -------- | -------- | -------- | -------- | 2024-01-17 | JLCPCB | 10 boards | All assembled excl fets and caps | YES, to EU |…

    261 parts81

Questions

How big is the Esphome pressure PCB?

It measures 98 × 48 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Esphome pressure use?

51 parts, built around the ESP32-C3-MINI-1, BD9G101G-TR, AMS1117-3.3 and SS210. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Esphome pressure KiCad files?

From the gcormier/esphome-pressure repository on GitHub, at the commit this page was made from: the board is pcb/esphome-pressure.kicad_pcb and its schematic modules/hybrid/hybrid.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esphome pressure design in my own project?

Its repository states no licence, so its author keeps all rights: ask gcormier before reusing the design.