
Iot postbox v1
paclema/iot-postbox
Integrated open-source HW and FW for an IoT smart mailbox sensor with Wi-Fi and LoRaWAN connectivity.

Integrated open-source HW and FW for an IoT smart mailbox sensor with Wi-Fi and LoRaWAN connectivity.
Iot postbox is an open-source printed circuit board by paclema, from the paclema/iot-postbox repository on GitHub. It is a 2-layer board of 31 × 43.6 mm with 40 parts on 42 nets, routed with 572 tracks and 27 vias.
It is built around the ESP-12F, DW01 and FS8205A, with the TP4056 among its other parts. Its parts include 13 resistors, 7 capacitors, 7 connectors, 6 ICs and 5 diodes. It belongs with the radio and wireless and home automation and IoT boards and the ESP8266 boards of this library.
IoT-PostBox is a complete smart mailbox sensor solution that monitors mailbox activity and sends wireless notifications when events occur. The project consists of custom hardware designs with integrated battery management and charging system, and firmware that monitors switch sensors to detect mailbox events. The hardware has evolved from initial ESP8266-based designs (IoT-PostBox v0.x) to current ESP32S2-based designs (IoT-PostBox v1.x) with added LoRaWAN capabilities for extended range communication beyond WiFi and a optimized power management system. The device is designed for battery-powered operation with onboard charging circuitry. When an event is detected, the device wakes from deep sleep, connects wirelessly (WiFi or LoRa), publishes the event via MQTT or LoRaWAN, and returns to sleep to maximize battery life. The system includes device configuration and management through the WebConfigServer library, which provides a web-based dashboard to visualize data and handle device configurations easily using a config.json file.
Installation and use: The device is installed inside the mailbox with switches positioned to detect when the mail slot or door is opened. One switch can detect mail insertion (when the slot is opened to insert mail), while another can detect mail collection (when the mailbox door is opened to retrieve mail). This allows monitoring both mail delivery and pickup events.
Hardware evolution:
[!NOTE]
For detailed hardware specifications, BOMs, and pinouts, seepcb_desings/readme.md.
/src/ — Main firmware source code for IoT-PostBox/pcb_desings/ — Hardware designs, documentation, BOMs, gerbers, and 3D models/data/ — SPIFFS filesystem data (configs, static webapp, certificates)/platformio.ini — PlatformIO project configurationSelect and configure your hardware:
pcb_desings/readme.md for detailed specifications.platformio.ini), but full compatibility and functionality is only guaranteed with the custom IoT-PostBox PCBs designed for this purpose.platformio.ini for your hardware version (e.g., IoT-PostBox_v1 for IoT-PostBox v1.x PCB).data/config/config.json with your initial configuration (WiFi credentials, MQTT settings, etc.) following the WebConfigServer library standard.Upload SPIFFS data:
pio run -t uploadfsBuild and upload firmware: Use PlatformIO to compile and flash the firmware to your device.
Configure the device: Access the web dashboard hosted by the device for WiFi, MQTT, and power management setup, or update the configuration by editing config.json and re-uploading SPIFFS data.
The static web dashboard is provided by the WebConfigServer library and served directly from the device.
If you need to customize the dashboard:
/data/ folder/data/ to the device SPIFFSThis project uses the following main libraries:
IoT-PostBox © 2019-2025 by paclema is licensed under CC BY-NC-SA 4.0
Hardware and firmware designs are provided for educational and non-commercial use. For commercial use, please contact the author for permission.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 10K | Resistor_SMD:R_0805_2012Metric | R1, R2, R3, R4, R5, R6, R7 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric | C1, C3, C4 |
| 3 | 1K | Resistor_SMD:R_0805_2012Metric | R8, R9, R10 |
| 3 | 1N4007 | Diode_SMD:D_SOD-123 | D1, D2, D3 |
| 2 | 1uf | Capacitor_SMD:C_0805_2012Metric | C6, C7 |
| 1 | 0.1uF | Capacitor_SMD:C_0805_2012Metric | C5 |
| 1 | 100R | Resistor_SMD:R_0805_2012Metric | R11 |
| 1 | 100nF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 1M | Resistor_SMD:R_0805_2012Metric | R12 |
| 1 | 2K | Resistor_SMD:R_0805_2012Metric | R_PROG1 |
| 1 | 300K | Resistor_SMD:R_0805_2012Metric | R13 |
| 1 | Battery | Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_Horizontal | J5 |
| 1 | Battery | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J6 |
| 1 | CHRG | LED_SMD:LED_0805_2012Metric | D4 |
| 1 | DW01 | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | U4 |
| 1 | ESP-12F | RF_Module:ESP-12E | U1 |
| 1 | FS8205A | Package_SO:TSSOP-8_4.4x3mm_P0.65mm | U5 |
| 1 | LED | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J7 |
| 1 | MCP1700-3302E_SOT23 | Package_TO_SOT_SMD:SOT-23 | U6 |
| 1 | POWER | MSK12C02:1P2T_SPDT_MSK-C02_7pin | SW1 |
| 1 | PowerIn | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | STDBY | LED_SMD:LED_0805_2012Metric | D5 |
| 1 | Switch_1 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J1 |
| 1 | Switch_2 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | TP4056 | lib:TP4056_SOP-8-PP | U3 |
| 1 | TTL_UART_adapter_iot_postbox | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | U2 |
| 1 | USB_B_Micro | Connector_USB:USB_Micro-B_Amphenol_10118194_Horizontal | J4 |
It measures 31 × 43.6 mm and has 2 copper layers, 1.6 mm thick.
40 parts, built around the ESP-12F, DW01, FS8205A and TP4056. 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 paclema/iot-postbox repository on GitHub, at the commit this page was made from: the board is pcb_desings/iot-postbox/iot-postbox.kicad_pcb and its schematic pcb_desings/iot-postbox_v1/INTERFACE.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask paclema before reusing the design.

paclema/iot-postbox
Integrated open-source HW and FW for an IoT smart mailbox sensor with Wi-Fi and LoRaWAN connectivity.

paclema/iot-postbox
Integrated open-source HW and FW for an IoT smart mailbox sensor with Wi-Fi and LoRaWAN connectivity.

greenMikeEU/shrdzm
SHRDZM (just a name, not an acronym) is an ESP8285/ESP8266 based sensor and actor integration platform.


brev-dev/another_esp8266_sensor_board
PCB layout and instructions for a multi-purpose esp8266 sensor device, with optional LORA connectivity.


fishPointer/Joule-Thief
I teach myself new skills by designing projects that require to develop the skills I want in order to complete them.


skrmsh/skirmish-hardware
Skirmish Hardware © 2022-2023 by Ole Lange is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/
