Skip to the content
2 layers49.9 × 34 mmEsp12f si7021-v1.2, the printed circuit board in 3D

Low power MQTT temperature and humidity sensor

Size
49.9 × 34 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
17
Pads
87
Tracks, vias
246, 51
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
17 Oct 2020
Updated
10 Feb 2024

Overview

Esp12f si7021-v1.2 is an open-source printed circuit board by amadeuspzs, from the amadeuspzs/esp8266-temperature-humidity repository on GitHub. It is a 2-layer board of 49.9 × 34 mm with 25 parts on 17 nets, routed with 246 tracks and 51 vias.

It is built around the ESP-12F, SI7021-A20-GM and BSS84. Its parts include 8 resistors, 5 capacitors, 3 ICs, 2 transistors and 1 connector. It belongs with the home automation and IoT and sensors and measurement boards and the ESP8266 boards of this library.

Main components

3

README

README.md

esp8266-temperature-humidity

Problem statement:

As a home-owner/renter I need to control multiple heating systems with room-by-room thermostats that I can move around for optimum measurements.

Solution statement:

Hardware (ESP12F with Si7021 sensor) and software (Arduino) implementation of a WiFi MQTT temperature/humidity sensor with battery voltage monitoring and 9+ months rechargeable battery life. Designed for integration with Home Assistant.

See the product website for a summary.

Example output via Home Assistant

Example energy usage over startup and 4 measurements

Prerequisites

  1. An ESP8266 implementation like ESP-01, ESP-12F or NodeMCU
  2. A DHT22 or Si7021 sensor
  3. An MQTT server like Mosquitto
  4. 2.4GHz WiFi network with the ability to assign static IP addresses
  5. Arduino IDE for flashing

Hardware

Tested on:

  1. ESP-01 lacks easy GPIO16 access for deep sleep
  2. ESP-12F current preferred module
  3. NodeMCU has power-hungry onboard components

Tested with:

  1. DHT22 inefficient and low precision
  2. Si7021 current preferred sensor

Tested with:

  1. 2xAA batteries fine but unsustainable
  2. Generic JST Li-Ion battery current preferred battery

Tested with:

  1. MCP1700 current preferred regulator
  2. TPS62203 high frequency switching too fiddly to implement stably

End goal is to print the smallest PCB + battery package and 3D print a case for discrete deployment.

Software

Goal is to make the device last as long as possible on batteries.

Energy performance

Current best energy usage is using the Si7021 sensor, measured using a currentRanger.

Startup: 0.0789mAh

Startup

This includes initial connection to WiFi, sensor reading, publication, writing to RTC memory.

Reading (no change): 0.0012mAh

No change

This shows the initial reading of RTC memory, sensor measurement, sleep and wake up to publish result.

Reading (change): 0.0285mAh

Change

This shows the initial reading of RTC memory, sensor measurement, sleep and wake up to publish result.

Energy estimates

  • Worst case (a reading every 10 minutes): 4.75mAh/day this should last ~9 months on a 1200mAh battery.
  • Better case (heuristically 50 readings a day): 2.19mAh/day this should last over a year on a 1200mAh battery.

Credits

  • Many thanks to Andy Bennett for all the support and assistance throughout the projet
  • Thanks to the OpenEnergyMonitor Project for the tip on Si7021 sensor and low power inspirations.
  • Thanks to the LowPowerLab team for making the CurrentRanger and low power inspirations.

Parts

25
QtyValueFootprintReferences
610KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR3, R4, R5, R6, R7, R8
20.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC3, C5
21uFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC1, C2
2BSS84Package_TO_SOT_SMD:SOT-23Q1, Q2
1100KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR2
110uFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC4
1330KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1
1DownloadJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1
1ESP-12FRF_Module:ESP-12EU2
1JST GH2Connector_JST:JST_GH_SM02B-GHS-TB_1x02-1MP_P1.25mm_HorizontalGH2
1JST PH2Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalPH2
1JST PH3Connector_JST:JST_PH_S3B-PH-SM4-TB_1x03-1MP_P2.00mm_HorizontalPH3
1LOGOkicad-custom:ganthorpe-fibreG***
1LOGOkicad-custom:open-hardwareG***
1MCP1700Package_TO_SOT_SMD:SOT-23U1
1Si7021-A20Package_DFN_QFN:DFN-6-1EP_3x3mm_P1mm_EP1.5x2.4mmU3
1UARTkicad-custom:PinHeader_1x4_P2.54mm_Horizontal_SMDJ2

More from amadeuspzs/esp8266-temperature-humidity

1
  • 2 layers49.9 × 34 mmEsp12f si7021-v1.3, the printed circuit board in 3D

    Esp12f si7021-v1.3

    amadeuspzs/esp8266-temperature-humidity

    Low power MQTT temperature and humidity sensor

    25 parts24

Similar boards

  • 4 layers44.5 × 22.5 mmIkea fyrtur, the printed circuit board in 3D

    Ikea fyrtur

    mjuhanne/ikea-fyrtur

    ESP8266 WiFi module PCB for Ikea Fyrtur blinds

    46 parts23MIT
  • 2 layers107 × 52 mmCelestialSync, the printed circuit board in 3D

    CelestialSync

    davidfobar/CelestialSync

    This an telescope mount controller inspired by OnStep and OpenAstroTracker, but written OOP to be maintainable.

    75 parts
  • 2 layers24 × 57.8 mmWeather station, the printed circuit board in 3D

    Weather station

    mec-kon/weather_station

    A simple weather station hardware (pcb files) for recording temperature, humidity, pressure and airquality.

    73 parts3GPL-3.0
  • 4 layers47 × 39.5 mmStealthburner Toolhead PCB, the printed circuit board in 3D

    Stealthburner Toolhead PCB

    acha666/RP2040_ToolheadPCB_SB

    A Toolhead PCB for VORON StealthBurner based on RP2040

    145 parts43GPL-3.0
  • 2 layers78 × 40 mmNode base, the printed circuit board in 3D

    Node base

    LanternD/NB-Scope

    Hardware and software design for NB-Scope.

    79 parts6Apache-2.0
  • 4 layers92 × 88 mmIOT, the printed circuit board in 3D

    IOT

    Habib-creater/ESP32-IoT-Monitoring-Control-Board

    4-layer ESP32-based IoT monitoring and control board with environmental sensing, relay control, USB-C, and Qwiic expansion.

    63 parts1
  • 4 layers50 × 50 mmESP32-S3-testboard, the printed circuit board in 3D

    ESP32-S3-testboard

    Imdad2005/ESP32-S3-testboard

    Custom 4-layer ESP32-S3 IoT testboard designed in KiCad 9, featuring USB-C, 3.3 V power regulation, environmental sensing, and QWIIC/SPI expansion.

    42 parts1
  • 4 layers100 × 100 mmWroom board, the printed circuit board in 3D

    Wroom board

    SinaKarvandi/PCB-Designs

    Blue Pill PCB

    63 parts1GPL-3.0

Questions

How big is the Esp12f si7021-v1.2 PCB?

It measures 49.9 × 34 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esp12f si7021-v1.2 use?

25 parts, built around the ESP-12F, SI7021-A20-GM and BSS84. 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 Esp12f si7021-v1.2 KiCad files?

From the amadeuspzs/esp8266-temperature-humidity repository on GitHub, at the commit this page was made from: the board is hardware/esp12f-si7021/esp12f-si7021-v1.2.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp12f si7021-v1.2 design in my own project?

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