Skip to the content
2 layers59 × 34 mmIot postbox v1, the printed circuit board in 3D

Iot postbox v1

paclema/iot-postbox

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

Size
59 × 34 mm
Copper layers
2
Thickness
1.6 mm
Parts
87
Nets
75
Pads
323
Tracks, vias
890, 142
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Jul 2021
Updated
26 Sep 2025

Overview

Iot postbox v1 is an open-source printed circuit board by paclema, from the paclema/iot-postbox repository on GitHub. It is a 2-layer board of 59 × 34 mm with 87 parts on 75 nets, routed with 890 tracks and 142 vias.

It is built around the ESP32-S2, W25Q128JVSIQ and LY68L6400SLIT, with the RFM95W-868S2, AO3401A and BAT60JFILM among its other parts. Its parts include 25 capacitors, 22 resistors, 7 ICs, 7 connectors and 4 switches. It belongs with the radio and wireless and home automation and IoT boards and the ESP32 boards of this library.

Main components

6

README

README.md

IoT-PostBox

CC BY-NC-SA 4.0 Donate

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:

  • v0.x (ESP8266): WiFi-only communication, basic power management using CH_PD pin to disable the microcontroller, battery charging system, switch sensor inputs.
  • v1.x (ESP32-S2): Enhanced with LoRaWAN capability, improved power management with deep sleep modes managed by interrupts (allowing identification of wake-up source via WAKE_UP_BITMASK), advanced battery management, native USB programming, and expanded I/O options.

[!NOTE]
For detailed hardware specifications, BOMs, and pinouts, see pcb_desings/readme.md.


📁 Repository Structure

  • /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 configuration

⚡ Getting Started

  1. Select and configure your hardware:

    • For IoT-PostBox PCBs: Choose between IoT-PostBox v0.x (ESP8266-based) or IoT-PostBox v1.x (ESP32-S2-based) versions. See pcb_desings/readme.md for detailed specifications.
    • For development boards: The firmware also supports various ESP8266/ESP32 development boards (see available targets in platformio.ini), but full compatibility and functionality is only guaranteed with the custom IoT-PostBox PCBs designed for this purpose.
    • Configure the appropriate target in platformio.ini for your hardware version (e.g., IoT-PostBox_v1 for IoT-PostBox v1.x PCB).
    • Edit data/config/config.json with your initial configuration (WiFi credentials, MQTT settings, etc.) following the WebConfigServer library standard.
  2. Upload SPIFFS data:

    sh
    pio run -t uploadfs
  3. Build and upload firmware: Use PlatformIO to compile and flash the firmware to your device.

  4. 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.


📈 Web Dashboard

The static web dashboard is provided by the WebConfigServer library and served directly from the device.

If you need to customize the dashboard:

  • Go to the WebConfigServer repository and follow the build instructions
  • Copy the generated static files to the /data/ folder
  • Upload /data/ to the device SPIFFS

📚 Dependencies

This project uses the following main libraries:


📄 License

CC BY-NC-SA 4.0    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.


Parts

87
QtyValueFootprintReferences
90.1uFCapacitor_SMD:C_0603_1608MetricC1, C4, C7, C9, C11, C15, C16, C20, C21
510kResistor_SMD:R_0603_1608MetricR3, R8, R11, R12, R13
4100kResistor_SMD:R_0603_1608MetricR4, R5, R21, R22
410uFCapacitor_SMD:C_1206_3216MetricC2, C17, C18, C19
41uFCapacitor_SMD:C_0603_1608MetricC22, C23, C24, C25
31uFCapacitor_SMD:C_0805_2012MetricC3, C8, C14
215pFCapacitor_SMD:C_0603_1608MetricC5, C6
21kResistor_SMD:R_0805_2012MetricR16, R17
222Resistor_SMD:R_0603_1608MetricR1, R2
2NCP167BMX330TBGiot-postbox:NCP167BMX330TBG_XDFN4U6, U7
2uFLConnector_Coaxial:U.FL_Molex_MCRF_73412-0110_VerticalAE3, AE4
1100kResistor_SMD:R_0805_2012MetricR14
1100pFCapacitor_SMD:C_0603_1608MetricC10
110kResistor_SMD:R_0805_2012MetricR18
1160kResistor_SMD:R_0805_2012MetricR7
12.3pFCapacitor_SMD:C_0402_1005MetricC12
127kResistor_SMD:R_0805_2012MetricR19
12kResistor_SMD:R_0805_2012MetricR10
12k2Resistor_SMD:R_0805_2012MetricR15
13.3kResistor_SMD:R_0805_2012MetricR9
133kResistor_SMD:R_0805_2012MetricR20
13V3_LDOTestPoint:TestPoint_Pad_D2.0mmTP4
13V3_LDO2Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
13V3_LDO2_ENJumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP6
14.7nHInductor_SMD:L_0402_1005MetricL1
140MHziot-postbox:ECS-400-10-37B2-CKM-TRY1
1442kResistor_SMD:R_0805_2012MetricR6
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1BATConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1BAT60JFILMDiode_SMD:D_SOD-323D1
1BOOTButton_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW3
1CHRGLED_SMD:LED_0805_2012MetricD2
1CHRG DONELED_SMD:LED_0805_2012MetricD3
1Coiliot-postbox:868Mhz_sprin_antenna_SW868-TH13AE2
1ESP32-S2iot-postbox:ESP32_S2_QFN56U1
1ESP32_ANTiot-postbox:Jumper_0402_x3JP1
1EXT1Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ6
1EXT2Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ7
1FRACTUSiot-postbox:NN01-102AE1
1GNDTestPoint:TestPoint_Pad_D2.5mmTP2
1JTAGConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical_SMDJ2
1JTAG_VCCJumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mm_NumberLabelsJP3
1LEDConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1LORA_ANTiot-postbox:Jumper_0402_x3JP2
1LY68L6400SLITPackage_SO:SOP-8_3.9x4.9mm_P1.27mmU3
1Logo_Open_Hardware_SmallSymbol:OSHW-Logo_5.7x6mm_SilkScreenLOGO1
1MCP73831-2-OTPackage_TO_SOT_SMD:SOT-23-5U5
1RFM95W-868S2RF_Module:HOPERF_RFM9XW_SMDU4
1RSTButton_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW4
1SW1Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalSW1
1SW2Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalSW2
1TBDCapacitor_SMD:C_0402_1005MetricC13
1USB_B_MicroConnector_USB:USB_Micro-B_Amphenol_10118194_HorizontalJ1
1VBAT_STATTestPoint:TestPoint_Pad_D2.0mmTP3
1VBAT_STAT_SENSEJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP5
1VBUSTestPoint:TestPoint_Pad_D2.5mmTP1
1VDD_STATJumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP4
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU2
1iot-postbox_logoiot-postbox:iot-postbox_logoLOGO2

More from paclema/iot-postbox

2
  • 2 layers31 × 43.6 mmIot postbox, the printed circuit board in 3D

    Iot postbox

    paclema/iot-postbox

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

    40 parts
  • 2 layers16 × 19 mmTtl to usb adapter, the printed circuit board in 3D

    Ttl to usb adapter

    paclema/iot-postbox

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

    10 parts

Similar boards

  • 4 layers99 × 60 mmGrip strength meter, the printed circuit board in 3D

    Grip strength meter

    houseofbigseals/grip_strength_meter_pcb

    schematic and pcb for custom esp32 grip strength meter project

    123 parts
  • 2 layers35.9 × 62.7 mmRp2040-memcard, the printed circuit board in 3D

    Rp2040-memcard

    sd2psx/pcb

    The PCB must be produced in 0.8mm thickness. Production files are provided under the "Releases" tab. These do not include the through-hole OLED module.

    60 parts241
  • 4 layers40 × 55 mmCopterCat cm4, the printed circuit board in 3D

    CopterCat cm4

    matveylapin/CopterCat_cm4

    Полётный контроллер для стандарта FMU-v6u. Обычно на дронах для программирования устанавливают полётный контроллер, одноплатный компьютер и иногда arduino.

    164 parts3Apache-2.0
  • 4 layers17.8 × 53.4 mmESPHMI, the printed circuit board in 3D

    ESPHMI

    maglash64/ESP32-S2-DEV

    ESP32-S2 Dev Board (Designed for Manufacturing) JLCPCB 2313 4-Layer Controlled Impedence Stackup All Components Available on LCSC. Features: 128Mb FLASH. USB-C Connector for Programming All Usable GPIOs exposed.

    39 parts9
  • 4 layers75 × 65 mmCam, the printed circuit board in 3D

    Cam

    elktownlabs/murgcam

    Autonomous, time-based, low power still camera

    116 parts
  • 2 layers22.9 × 41.3 mmEsp32-s2 corebase, the printed circuit board in 3D

    Esp32-s2 corebase

    pedrominatel/esp32-s2_corebase

    This is the base template for the ESP32-S2 SoC projects.

    46 partsGPL-3.0

Questions

How big is the Iot postbox v1 PCB?

It measures 59 × 34 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Iot postbox v1 use?

87 parts, built around the ESP32-S2, W25Q128JVSIQ, LY68L6400SLIT and RFM95W-868S2. 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 Iot postbox v1 KiCad files?

From the paclema/iot-postbox repository on GitHub, at the commit this page was made from: the board is pcb_desings/iot-postbox_v1/iot-postbox_v1.kicad_pcb and its schematic pcb_desings/iot-postbox_v1/INTERFACE.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Iot postbox v1 design in my own project?

Its repository states no licence, so its author keeps all rights: ask paclema before reusing the design.