the pcb is no good, im looking to make it slimmer so in case it needs ot be knowcked off its lightweight, also the rpi should be able to just be placed on to the pcb, plug in a camera and battery and it should be good to gom this layout isnt there, yet. messy, large not intiutive. it hsould have a nfc reader on the bottom of the device too and a reed switch. usb c charging
I’ll review the current design, then redefine it into a slimmer Pi-based architecture with drop-on Pi mounting, camera, battery charging, NFC on the underside, reed switch input, and a cleaner board layout.
I confirmed the current board is the wrong architecture and wrote a clean Pi-based redesign brief with the slim board, NFC underside, reed switch, battery, and USB-C charging direction.
I reviewed the project and the current board is not aligned with your product anymore: it’s still an ESP32 sensor design on a large 160 × 100 mm board, so this needs a full redesign, not cleanup.
I captured the new direction in Cabinet Eye Redesign Brief and the earlier Pi mounting notes in Pi Zero W Carrier Concept. The recommended direction is a thin Pi Zero W carrier PCB where the Pi drops onto low-profile header pins, with:
USB-C charging
battery connector
camera flex corridor
reed switch input
bottom-side NFC area
much smaller, more intuitive rectangular layout
What remains to be done:
replace the existing ESP32 schematic with a Pi Zero W carrier architecture
choose the exact charging/power-path and NFC parts
resize the PCB around the Pi footprint
place parts by mechanical priority before routing
This is a major plan change, so the right next step is to rebuild around the Pi instead of trying to salvage the current board. Want me to proceed with that full redesign plan when execution is available again?
MCU/radio: ESP32-C3-MINI-1-N4 for 2.4 GHz 802.11 b/g/n + BLE 5, native USB Serial/JTAG, low-power IoT duty cycling.
Sensor: SHT40-AD1B-R3 digital temperature/humidity sensor on I2C.
USB front end: USB-C sink with 5.1 kΩ CC pull-downs and USBLC6-4SC6 ESD protection on VBUS and USB D+/D−.
Input protection: TPS25940LRVCR eFuse for reverse blocking, OVP, UVLO, and programmable current limit.
3.3 V rail: AP2112K-3.3TRG1 LDO.
Power Budget
ESP32-C3 external supply capability from module datasheet: 0.5 A recommended available supply current.
SHT40 current is negligible compared with the radio load (measurement current typ. 320 µA, idle typ. 0.08 µA).
System target: keep average load low by duty-cycling Wi‑Fi/BLE and periodic measurements; design peak remains below 0.5 A from 3.3 V rail.
Protection Setpoints
eFuse current limit target: 0.75 A using RILIM≈89/0.75≈118.7 kΩ → choose 118 kΩ / 1%.
UVLO target: about 4.35 V rising.
OVP target: about 5.8 V rising.
Divider with Rtop = 143 kΩ, Rmid = 10.5 kΩ, Rbot = 31.6 kΩ gives the intended UVLO/OVP thresholds using the TPS25940 datasheet equations.
LDO Thermal Check
AP2112 typical dissipation at 150 mA average load: P=(5−3.3)×0.15=0.255 W.
Worst-case continuous 500 mA would be 0.85 W, so this design assumes a low-duty-cycle environmental node rather than sustained heavy Wi‑Fi transmit. If sustained high radio duty cycle is required, replace the LDO with a buck regulator in a later revision.