Skip to the content
4 layers75 × 75 mmWeatherstation, the printed circuit board in 3D

Custom PCB for sensor node

Size
75 × 75 mm
Copper layers
4
Thickness
1.6 mm
Parts
65
Nets
70
Pads
292
Tracks, vias
506, 223
Pours
4
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
7 Jul 2026
Updated
7 Jul 2026

Overview

Weatherstation is an open-source printed circuit board by Stylt1, from the Stylt1/lora-weather-station-pcb repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 75 × 75 mm with 65 parts on 70 nets, routed with 506 tracks and 223 vias.

It is built around the E22-900M22S, ESP32-S3-WROOM-1-N8 and USBLC6-2SC6, with the TLV75733PDBVR-MS among its other parts. Its parts include 20 resistors, 14 capacitors, 9 connectors, 8 ICs and 3 diodes. It belongs with the home automation and IoT boards and the ESP32 boards of this library.

Main components

4

README

README.md

View this project on CADLAB.io.

lora-weather-station-pcb

Custom PCB for sensor node

Low-power outdoor weather station board based on the ESP32-S3 and Ebyte E22 LoRa module. Designed for autonomous solar/battery operation to monitor environmental and meteorological data over long distances.

Project Gallery:

TOP 3D Render:

Snímek obrazovky 2026-07-07 v 15 17 46

BOTTOM 3D Render:

Snímek obrazovky 2026-07-07 v 15 22 01

more:

Snímek obrazovky 2026-07-07 v 16 03 05 Snímek obrazovky 2026-07-07 v 16 02 17

IMPORTANT INFO:

This board is RX as well as TX

Dual Power Mode (JP1): for USB-C short USB and middle for Battery short BAT and middle, (DONT SHORT USB AND BAT!)

SDA (JP3), SCL (JP2) 4K7 pullups, if sensors dont have them

RESET (JP6): short for MCU reset

BOOT (JP5): short to enter bootloading state

BAT_SENSE (JP4): short to connect battery voltage divider to mcu for measuring bat voltage

USB-C connector: power, upload

⚡ Power Supply & LDO Regulator

The board utilizes the TLV75733PDBVR Low-Dropout (LDO) regulator from Texas Instruments to supply the 3.3V rail:

  • High Output Current: Delivers up to 1A, which easily handles the transient current spikes when the ESP32-S3 and E22 LoRa module transmit simultaneously.
  • Low Quiescent Current ($I_Q$): Draws only 25 µA in active idle state, making it highly suitable for long-term battery operation.
  • Active Discharge (P-version): Features an internal pulldown resistor on the output pin when disabled. This ensures fast and clean power-down of the MCU without leaving floating voltages on the 3.3V rail.
  • Shutdown Mode: The EN (Enable) pin allows complete hardware shutdown, dropping the regulator's current consumption to just 0.1 µA.

🔌 USB-C Interface, Impedance Matching & ESD Protection

For flashing the ESP32-S3 and handling serial communication, the board features a robust USB-C interface designed with signal integrity and hardware protection in mind:

1. 90Ω Differential Impedance Matching

The $D+$ and $D-$ data lines routing from the USB-C connector to the ESP32-S3 are designed as a 90-ohm differential pair.

  • Why it matters: Proper impedance matching prevents signal reflections, ensuring stable and error-free high-speed data transmission during firmware flashing and debugging, even with low-quality USB cables.

2. USBLC6-2SC6 ESD Protection

To protect the sensitive internal circuitry of the ESP32-S3 from Electrostatic Discharge (ESD) when plugging or unplugging the USB-C cable, a dedicated STMicroelectronics USBLC6-2SC6 protection chip is implemented.

  • Low Capacitance: With a very low capacitance ($\approx 3.5\text{ pF}$), it provides robust ESD protection without distorting the data signals on the 90Ω lines.
  • Protection: It clamps dangerous voltage spikes safely to GND, shielding the MCU data pins and the 5V VBUS line.

💻 How to Program the Board

Thanks to the ESP32-S3's native USB OTG peripheral, you don't need an external USB-to-UART chip (like CP2102 or CH340). You can flash it directly over the USB-C port.

  1. Connect the Board: Plug a USB-C cable from your computer into the board.
  2. Auto-Reset Circuit: Under normal conditions, your development environment (Arduino IDE, PlatformIO, or ESP-IDF) will automatically trigger the auto-reset circuit using the USB DTR/RTS signals to put the MCU into flashing mode.
  3. Manual Bootloader Mode (Fallback): If the board is brand new, empty, or locked up:
    • Press and hold the BOOT pin/pad.
    • Momentarily short the RESET (EN) pin/pad to GND.
    • Release the BOOT pin.
    • Your PC will now detect the board as an ESP32-S3 USB JTAG/serial debug unit (or a COM/tty port).
  4. Flash the Firmware: Select the correct port in your IDE, choose ESP32-S3 Dev Module as your target board, and click Upload/Flash.

📡 Data Transmission Lifecycle & Network Topology

This hardware design supports a highly efficient, dual-role topology. You can deploy the exact same PCB as either the outdoor transmitter node or the indoor receiver/gateway node, simply by altering the firmware configuration and power management settings.


🗺️ Network Topology at a Glance

RolePower SourcePrimary Radio StateData Action
Outdoor Node (TX)Li-Po Battery / SolarDeep Sleep (99%) / TX BurstReads sensors $\rightarrow$ Sends compressed LoRa packet
Indoor Gateway (RX)USB-C (Continuous)Continuous RX (100%)Receives LoRa packet $\rightarrow$ Forwards to Web via Wi-Fi

🔋 Outdoor Transmitter Node (TX Mode)

To maximize battery runtime and allow years of autonomous operation, the outdoor station employs an aggressive power-saving lifecycle:

  • 😴 Deep Sleep State: The ESP32-S3 spends 99% of its life in deep sleep mode. The Ebyte E22-900M22S module is put into its ultra-low-power SX1262 sleep state, and the wind vane sensor is completely cut off from power. Hardware interrupts stay alert only to count incoming pulses from the anemometer and rain gauge (Pluvio).
  • ⏰ Scheduled Wakeup: Every $X$ minutes (configurable in firmware), the internal RTC timer wakes up the ESP32-S3 core.
  • 📊 Sensor Acquisition: The MCU drives the Power GPIO HIGH to instantly power the wind vane, takes a rapid ADC sample, reads the accumulated pulse counters, collects I2C environmental data, and organizes the metrics.
  • 🚀 Burst Transmission: The ESP32-S3 boots up the E22-900M22S radio, transmits a highly compressed, compact binary data packet (C-struct payload) to minimize on-air time, and immediately commands the radio back to sleep.
  • 💤 Return to Sleep: The entire active cycle takes less than a second, dropping the board consumption back to microamps.

🏠 Indoor Gateway Node (RX Mode)

The receiver node acts as a bridge between the long-range LoRa link and the internet:

  • ⚡ Power Configuration: Permanently powered via USB-C, allowing both the LDO regulator and the MCU to run in active high-performance modes without power constraints.
  • 🎧 Continuous Listening: The E22-900M22S LoRa module runs non-stop in RX (Receive) mode, waiting to catch the rapid data bursts from the outdoor station.
  • 🌐 Wi-Fi Forwarding: Upon receiving and validating the binary payload, the gateway's ESP32-S3 unpacks the data, establishes a Wi-Fi connection, and uploads the weather metrics directly to a web server, MQTT broker, or smart-home dashboard (e.g., Home Assistant or ThingSpeak).

📶 RF Specifications & Expected Range (Ebyte E22-900M22S)

The RF link utilizes the high-efficiency Semtech SX1262 chipset, tuned for the 868 MHz (Europe) or 915 MHz (US) ISM bands:

  • Transmit Power: Configurable up to +22 dBm (160 mW) for maximum penetration through obstacles.
  • Urban / Built-up Areas: $\approx \mathbf{1\text{ to }3\text{ km}}$ (depending on buildings, trees, and antenna placement).
  • Open Line-of-Sight (Rural/Field): $\approx \mathbf{5\text{ to }7\text{ km}}$ under normal conditions, and up to 10+ km with an elevated, well-tuned omni or directional antenna.

🌦 Weather Sensors Implementation (Low-Power Design)

The board is optimized for ultra-low-power meteorological sensing, specifically tailored for standard tipping-bucket rain gauges, cup anemometers, and resistive wind vanes, while maintaining complete I2C bus flexibility.


📊 Sensors Overview

Sensor TypePhysical MechanismPower ManagementInterface
Rain Gauge (Pluvio)Mechanical Reed SwitchAlways Alert (Deep Sleep Interrupt)Digital GPIO
Anemometer (Wind Speed)Mechanical Reed SwitchAlways Alert (Deep Sleep Interrupt)Digital GPIO
Wind Vane (Direction)Resistive Network & ReedsPower-Gated (0 mA standby)Analog ADC
Environmental PackDigital ICs (Temp/Humi/Pres)Active on DemandI2C (Configurable)

🌦 Weather Sensors Implementation (Low-Power Design)

The board is optimized for ultra-low-power meteorological sensing, specifically tailored for standard tipping-bucket rain gauges, cup anemometers, and resistive wind vanes, while maintaining complete I2C bus flexibility.


📊 Sensors Overview

Sensor TypePhysical MechanismPower ManagementInterface
Rain Gauge (Pluvio)Mechanical Reed SwitchAlways Alert (Deep Sleep Interrupt)Digital GPIO
Anemometer (Wind Speed)Mechanical Reed SwitchAlways Alert (Deep Sleep Interrupt)Digital GPIO
Wind Vane (Direction)Resistive Network & ReedsPower-Gated via GPIO (0 mA standby)Analog ADC
Environmental PackDigital ICs (Temp/Humi/Pres)Active on DemandI2C (Configurable)

💧 1. Rain Gauge (Pluvio) & Anemometer (Wind Speed) — Pulse Counting

Both the rain gauge and the anemometer operate using mechanical Reed switches that momentarily short to GND on every trigger (tipping of the bucket or a full rotation of the cups).

  • 🛡️ Hardware Debounce: External hardware debounce filters (RC networks) are implemented directly on the PCB to eliminate mechanical switch bouncing and noise before the signal reaches the MCU.
  • 🔋 Ultra-Low-Power Operation: The ESP32-S3 utilizes internal pull-up resistors and relies on GPIO Interrupts. The MCU can remain in Deep Sleep and wake up instantly to register a pulse, or count them efficiently via the internal ULP (Ultra Low Power) co-processor without fully waking up the main cores.

🧭 2. Wind Vane (Wind Direction) — Direct GPIO-Gated Voltage Divider

Traditional wind vanes use a series of internal reed switches paired with different resistor values. Depending on the wind direction, the active reed switch closes, creating a unique resistor value that forms a Voltage Divider to output a specific analog voltage.

To prevent continuous current drain through this resistor network, the board uses a Direct GPIO Power-Gating Design:

  • 🔄 The Measurement Lifecycle:
    1. Standby: The ESP32-S3 keeps the Power GPIO pin turned OFF (LOW or INPUT floating state) by default. Current draw is exactly $0\text{ mA}$.
    2. Activation: When a measurement is scheduled, the MCU pulls this Power GPIO HIGH ($3.3\text{ V}$), directly supplying current to the divider. Since the total resistance is high, the current draw is minimal and well within the safe limits of a single ESP32-S3 GPIO pin.
    3. Sampling: The internal reed switches inside the wind vane complete the voltage divider, and the ESP32-S3 immediately reads the resulting voltage via its ADC pin.
    4. Shutdown: The MCU instantly pulls the Power GPIO LOW, completely cutting off the current to the sensor until the next measurement cycle.
  • 💡 Benefit: This approach reduces the wind vane's power consumption to absolute zero for 99.9% of the day, drastically extending battery life without needing an external transistor or MOSFET.

🔌 3. I2C Bus Flexibility (SDA & SCL Pull-ups)

The board features a dedicated I2C bus for environmental sensors (such as Barometric Pressure, Temperature, and Humidity sensors). To ensure compatibility with various sensor breakout boards and modules, configurable pull-up resistors are integrated into the design:

  • 🎛️ Hardware Components: $4.7\ \text{k}\Omega$ (4K7) resistors are connected to the SDA and SCL lines.
  • 📍 Jumpers JP2 & JP3:
    • SDA Line Control: Handled via jumper JP3.
    • SCL Line Control: Handled via jumper JP2.
  • 🛠️ Configuration Modes:
    • Open (Disconnected): If your connected I2C sensors already include on-board pull-up resistors, leave JP2 and JP3 open to prevent the total bus resistance from dropping too low.
    • Closed (Shorted/Soldered): If you are using bare sensor ICs without internal or external pull-ups, close JP2 and JP3 to activate the on-board 4K7 resistors, ensuring stable I2C clock and data signals.

Parts

65
QtyValueFootprintReferences
9100nFCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5, C6, C7, C9, C13
5USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U1, U2, U4, U5, U7
4100KResistor_SMD:R_0603_1608MetricR10, R12, R19, R20
410KResistor_SMD:R_0603_1608MetricR1, R2, R6, R7
31KResistor_SMD:R_0603_1608MetricR4, R11, R13
31uFCapacitor_SMD:C_0603_1608MetricC11, C12, C14
3330RResistor_SMD:R_0603_1608MetricR16, R17, R18
3redLED_SMD:LED_0603_1608MetricD1, D2, D3
222uFCapacitor_SMD:C_1206_3216MetricC8, C10
24K7Resistor_SMD:R_0603_1608MetricR14, R15
25K1Resistor_SMD:R_0603_1608MetricR8, R9
12K2Resistor_SMD:R_0603_1608MetricR5
1470RResistor_SMD:R_0603_1608MetricR3
1ANEMO_PLUVIOConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1BAT_SENSEJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP4
1BOOT_PulldownJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP5
1Battery_connectorTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ8
1Battery_connector_EXTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ9
1E22-900M22SE22-900M22S:E22-900M22SIC1
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U3
1I2C_BUSConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1I2C_BUS_GNDSConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ7
1LOGOLOGOG***
1REEDSConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1REED_GNDSConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1REED_GNDS2Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1RST_PulldownJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP6
1SCL_PullupJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1SDA_PullupJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP3
1TLV75733PDBVRTLV75733PDBVR:SOT95P280X145-5NU6
1TX_RX_modeJumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mmJP1
1USB_CConnector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11J3

The 61 most common of 65 parts.

Similar boards

  • 2 layers139 × 113 mmHc radio, the printed circuit board in 3D

    Hc radio

    ras-rap/hc-radio

    131 partsMIT
  • 2 layers78.8 × 36.6 mmIRIS-868, the printed circuit board in 3D

    IRIS-868

    StringLess80/IRIS-868

    IRIS-868 is a custom embedded RF platform based on the STM32F303RET6 microcontroller and Semtech LLCC68 sub-GHz transceiver, designed for 868 MHz ISM-band wireless communication.

    53 parts1
  • 2 layers94 × 72 mmHome sense meteostation, the printed circuit board in 3D

    Home sense meteostation

    trabem/home_sense_meteostation

    Репозиторій автономної battery-powered метеостанції на ESP32-C3-WROOM-02. Містить firmware (ESP-IDF / FreeRTOS), KiCad-проєкти двох плат і матеріали фінальної презентації.

    93 parts
  • 4 layers80 × 50 mmOzone telecom, the printed circuit board in 3D

    Ozone telecom

    DashiellRussell/UNSW_Rocketry_Senior_Flight_Computer

    KiCad project for the senior flight computer used by UNSW Rocketry.

    118 parts
  • 4 layers34 × 86 mmMinisumo 2025, the printed circuit board in 3D

    Minisumo 2025

    alexivan04/Minisumo-PCB

    109 parts
  • 2 layers48.3 × 84.2 mmESP IMU Board, the printed circuit board in 3D

    ESP IMU Board

    oaklandrobotics/electrical_ora25

    Electrical 2025 for Oakland Robotics.

    41 parts
  • 4 layers51.4 × 31.4 mmRP2350, the printed circuit board in 3D

    RP2350

    engelberd/sensor-system

    Working notes for the first custom RP2350A board with ADXL355, USB-C development power/data, 12 V field input, RS485, and a power architecture biased toward a clean accelerometer supply.

    87 parts2

Questions

How big is the Weatherstation PCB?

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

What parts does the Weatherstation use?

65 parts, built around the E22-900M22S, ESP32-S3-WROOM-1-N8, USBLC6-2SC6 and TLV75733PDBVR-MS. 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 Weatherstation KiCad files?

From the Stylt1/lora-weather-station-pcb repository on GitHub, at the commit this page was made from: the board is Weatherstation.kicad_pcb and its schematic Weatherstation.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Weatherstation design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).