Skip to the content
2 layers150 × 50 mmLatch colis, the printed circuit board in 3D

Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells

Size
150 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
48
Pads
77
Tracks, vias
121, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
8 Sep 2026
Updated
23 Sep 2026

Overview

Latch colis is an open-source printed circuit board by Phil-dav, from the Phil-dav/mailbox-lora-tracker repository on GitHub, published under the MIT licence. It is a 2-layer board of 150 × 50 mm with 12 parts on 48 nets, routed with 121 tracks and 0 vias.

It is built around the 2N2222A. Its parts include 4 connectors, 2 ICs, 2 diodes, 2 switches and 1 resistor. It belongs with the radio and wireless and sensors and measurement boards of this library.

Main components

1

README

README.md

Mailbox LoRa Tracker

A weight-sensing mailbox notifier built around a Heltec WiFi LoRa 32 (V2) and an HX711 + 4 load cells. A door-triggered latching relay wakes the board with zero standby current, it weighs whatever was just dropped in, sends the result over LoRa to a receiver elsewhere in the house, waits for an ACK, then cuts its own power.

Built for a shared/collective mailbox (multiple households behind one postal-carrier door), where a simple door contact alone can't tell "someone delivered to me" from "a neighbor's delivery, same door."

How it works

text
Door opens (mechanical contact, no power needed)
  -> latching relay powers the board
  -> tare the HX711 (empty platform reference)
  -> wait for the door to close, or a safety timeout
  -> weigh again, with a settling/stability loop
     (absorbs shocks from a dropped/thrown package)
  -> if weight > threshold: send "COLIS:<grams>" over LoRa,
     wait for an ACK (bounded retries)
  -> cut its own power (transistor + relay), whatever happened above

Every branch converges on the same final power-cutoff step, so the board always ends up switching itself off in bounded time, regardless of whether a package was actually detected or an ACK came back.

Hardware

  • Heltec WiFi LoRa 32 V2 (ESP32 + SX127x), one per side (sender/receiver)
  • HX711 + 4x 50kg half-bridge load cell sensors (bathroom-scale style)
  • 2-relay latching power circuit (door contact triggers wake, transistor cuts power at end of cycle)
  • 2nd door contact (independent GPIO) to detect when the door closes

GPIO map (sender)

GPIOFunction
33Power cutoff (drives the relay-latch transistor)
132nd door contact (detects door close)
17HX711 DT
23HX711 SCK
5 / 27 / 19 / 18LoRa SPI (SCK / MOSI / MISO / NSS) — fixed on-module wiring
14LoRa reset — fixed on-module wiring
4 / 15OLED I2C (SDA / SCL) — fixed on-module wiring
21 / 16OLED Vext / reset — fixed on-module wiring

GPIO 34/35 are hardwired on the Heltec module to the SX127x's DIO2/DIO1 and must never be reused for anything external.

Repo contents

  • src/bin/courrier_emetteur.rs — sender firmware (in the mailbox)
  • src/bin/courrier_recepteur.rs — receiver firmware (indoors, mains-powered)
  • src/sx127x.rs — minimal SX127x LoRa driver (SPI, ping/ack style)
  • KiCAD/Latch colis/ — schematic + PCB for the power-latch/relay board, plus etching files (single-sided, hand-etched)

The schematic uses a couple of custom symbols/footprints (HX711 module, Heltec pinout) from a personal KiCad library that isn't included here yet — expect missing-footprint warnings if you open the project directly.

Status

Weighing is calibrated and validated on the bench (13g to 2.25kg, <1% error against a reference scale). Mechanical assembly (load cell mounting, door contacts on the shared mailbox door) is still in progress.

License

MIT — see LICENSE.

Parts

12
QtyValueFootprintReferences
3KF301-2PMes empreintes:KF301-2PJ1, J2, J3
21N4001Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D2
2Relay_SPDTMes empreintes:Relay_SPDT_SANYOU_SRD_Series_Form_CK1, K2
11kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
12N2222APackage_TO_SOT_THT:TO-92_Inline_WideQ1
1Heltec_LoRa32_V2_RST_sideMes empreintes:MODULE_ESP32_LORA_V2.0U1
1JaugesConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ4
1Module HX711Mes empreintes:HX711_ModuleU2

More from Phil-dav/mailbox-lora-tracker

4
  • 2 layers61 × 31 mmLatch mosfet boite lettres, the printed circuit board in 3D

    Latch mosfet boite lettres

    Phil-dav/mailbox-lora-tracker

    Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells

    17 parts2MIT
  • 2 layers93.5 × 31.1 mmLatch mosfet boite lettres RS, the printed circuit board in 3D

    Latch mosfet boite lettres RS

    Phil-dav/mailbox-lora-tracker

    Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells

    13 parts2MIT
  • 2 layers81 × 56 mmLatch colis sans inter, the printed circuit board in 3D

    Latch colis sans inter

    Phil-dav/mailbox-lora-tracker

    Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells

    8 parts2MIT

Similar boards

  • 2 layers101.5 × 83 mmSd2snes, the printed circuit board in 3D

    Sd2snes

    mrehkopf/sd2snes

    SD card based multi-purpose cartridge for the SNES

    154 parts722GPL-2.0
  • 2 layers279.4 × 203.2 mmZ180GDC, the printed circuit board in 3D

    Z180GDC

    lynchaj/rhyophyre

    Single Board Computer featuring Zilog Z180 processor and NEC µPD7220 Graphics Display Controller

    249 parts12
  • 2 layers99.1 × 99.1 mmQL Qsound10x10, the printed circuit board in 3D

    QL Qsound10x10

    alvaroalea/QL_QsoundQprint_clone

    A clone board of the Sound card for the Sinclair QL Computer.

    23 parts11
  • 2 layers156.5 × 67.5 mmNixieScanDisplay, the printed circuit board in 3D

    NixieScanDisplay

    profdc9/NixieClock

    A Nixie clock that uses IN-14 tubes and very generic components that can be easily sourced.

    106 parts10
  • 2 layers89.3 × 50 mmMM58167-ISA RTC, the printed circuit board in 3D

    MM58167-ISA RTC

    jensma-de/MM58167-ISA-RTC

    RTC module for the ISA slot. With schematics, project files in kicad and open source software to drive the clock.

    29 parts9
  • 2 layers97.6 × 76.8 mm12f675-mppt, the printed circuit board in 3D

    12f675-mppt

    rasberryrabbit/PIC12F675MPPT

    Solar MPPT circuit.

    45 parts9GPL-3.0
  • 2 layers14.6 × 13.6 mmChip and transistor, the printed circuit board in 3D

    Chip and transistor

    gidim/e61-gauge

    An analog temperature gauge for E61 espresso machines. A custom PCB drives a VID6606 stepper motor gauge needle, reading temperature from an NTC thermistor.

    15 parts8
  • 2 layers147.2 × 58.3 mmLi IonBatteryProtection, the printed circuit board in 3D

    Li IonBatteryProtection

    cnobile2012/Li-IonBatteryProtection

    Circuit to protect Li-Ion and Li-Po batteries at the cell level.

    81 parts6MIT

Questions

How big is the Latch colis PCB?

It measures 150 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Latch colis use?

12 parts, built around the 2N2222A. 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 Latch colis KiCad files?

From the Phil-dav/mailbox-lora-tracker repository on GitHub, at the commit this page was made from: the board is KiCAD/Latch colis/Latch colis.kicad_pcb and its schematic KiCAD/Latch colis/Latch colis sans inter/Latch colis sans inter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Latch colis design in my own project?

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