Skip to the content
2 layers61 × 31 mmLatch mosfet boite lettres, the printed circuit board in 3D

Latch mosfet boite lettres

Phil-dav/mailbox-lora-tracker2

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

Size
61 × 31 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
9
Pads
33
Tracks, vias
49, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
8 Sep 2026
Updated
23 Sep 2026

Overview

Latch mosfet boite lettres 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 61 × 31 mm with 17 parts on 9 nets, routed with 49 tracks and 0 vias.

It is built around the 2N2222A and ZVP2106A. Its parts include 5 resistors, 2 diodes, 2 transistors, 2 connectors and 1 capacitor. It belongs with the radio and wireless and sensors and measurement boards of this library.

Main components

2

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

17
QtyValueFootprintReferences
21N4002Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D2
2220kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R3
11.5kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
1100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5
1220µFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1
12N2222APackage_TO_SOT_THT:TO-92_InlineQ1
1820Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
1AlimTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ2
1LORATerminalBlock:TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mmJ1
1MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3M3
1SW_PushTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmSW1
1ZVP2106APackage_TO_SOT_THT:TO-92_InlineQ4

The 14 most common of 17 parts.

More from Phil-dav/mailbox-lora-tracker

4
  • 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 layers150 × 50 mmLatch colis, the printed circuit board in 3D

    Latch colis

    Phil-dav/mailbox-lora-tracker

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

    12 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 layers114 × 96 mmARIII, the printed circuit board in 3D

    ARIII

    na103/ar3

    Amiga Action Replay III remake

    34 parts64
  • 2 layers114 × 104 mmBBARIII, the printed circuit board in 3D

    BBARIII

    na103/bbar3

    Big Box Amiga Action Replay III remake

    48 parts12
  • 4 layers129.5 × 55 mmAmiga500 Actionreplay 5, the printed circuit board in 3D

    Amiga500 Actionreplay 5

    Gnome78/MKV_4_DENISE_ITX

    Action Replay MK3 For DeniseITX (Based Of Demon Card Project for Amiga)

    47 parts1
  • 2 layers179 × 88.4 mmBMS, the printed circuit board in 3D

    BMS

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    64 parts1
  • 2 layers56 × 84 mmOpenLaserMouseTHT, the printed circuit board in 3D

    OpenLaserMouseTHT

    chris-jh/OpenLaserMouse

    Quadrature Optical Mouse Replacement Using an Arduino for the Amiga Tank Mouse

    24 parts61LGPL-3.0
  • 2 layers111.8 × 50.8 mmWallClockGen, the printed circuit board in 3D

    WallClockGen

    martinbros/Quantifying-the-Current

    Art piece demonstrating the power grid

    38 parts2GPL-3.0
  • 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

Questions

How big is the Latch mosfet boite lettres PCB?

It measures 61 × 31 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Latch mosfet boite lettres use?

17 parts, built around the 2N2222A and ZVP2106A. 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 mosfet boite lettres 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_mosfet_boite_lettres/latch_mosfet_boite_lettres.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 mosfet boite lettres 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).