Latch mosfet boite lettres
Phil-dav/mailbox-lora-tracker
Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells
Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells
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.
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."
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 aboveEvery 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.
| GPIO | Function |
|---|---|
| 33 | Power cutoff (drives the relay-latch transistor) |
| 13 | 2nd door contact (detects door close) |
| 17 | HX711 DT |
| 23 | HX711 SCK |
| 5 / 27 / 19 / 18 | LoRa SPI (SCK / MOSI / MISO / NSS) — fixed on-module wiring |
| 14 | LoRa reset — fixed on-module wiring |
| 4 / 15 | OLED I2C (SDA / SCL) — fixed on-module wiring |
| 21 / 16 | OLED 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.
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.
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.
MIT — see LICENSE.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | KF301-2P | Mes empreintes:KF301-2P | J1, J2, J3 |
| 2 | 1N4001 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D2 |
| 2 | Relay_SPDT | Mes empreintes:Relay_SPDT_SANYOU_SRD_Series_Form_C | K1, K2 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 2N2222A | Package_TO_SOT_THT:TO-92_Inline_Wide | Q1 |
| 1 | Heltec_LoRa32_V2_RST_side | Mes empreintes:MODULE_ESP32_LORA_V2.0 | U1 |
| 1 | Jauges | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J4 |
| 1 | Module HX711 | Mes empreintes:HX711_Module | U2 |
Phil-dav/mailbox-lora-tracker
Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells
Phil-dav/mailbox-lora-tracker
Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells
Phil-dav/mailbox-lora-tracker
Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells
Phil-dav/mailbox-lora-tracker
Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells


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

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

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

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.


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.

cnobile2012/Li-IonBatteryProtection
Circuit to protect Li-Ion and Li-Po batteries at the cell level.
It measures 150 × 50 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
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).