- Add root README.md and AGENTS.md for hardware repo - Fix cross-repo and internal broken links - Document hardware/common/scripts - Populate v2.9 placeholder READMEs - Update replica-omnisciente central brain pointer
2.6 KiB
2.6 KiB
Savearth PCB v2.9 — Placeholder
This directory is a placeholder for the upcoming PCB v2.9 hardware revision.
Purpose
PCB v2.9 addresses the architectural flaws identified in v2.7 and v2.8:
| Issue | v2.7 | v2.8 | v2.9 Target |
|---|---|---|---|
| Reed switch pin | GPIO43 (TX0) |
PCAL9538A P5 | Dedicated RTC GPIO |
| Deep-sleep wake | Yes (with UART conflict) | No | Yes via EXT1 |
| Hard reset | Cut regulator power | None (always-on) | Supervisor IC / delay circuit |
| Factory flashing | Blocked by reed switch | Tweezers on CON header | On-board BOOT + RESET tactile buttons |
Required Architectural Changes
-
Reed Switch → RTC GPIO
- Move the reed switch from the PCAL9538A I/O expander to a dedicated, non-strapping RTC GPIO on the ESP32-S3.
- Candidate pins:
GPIO4,GPIO5, or another RTC-capable pin that does not conflict with boot strapping (GPIO0,GPIO3,GPIO45,GPIO46).
-
Hardware Hard-Reset Circuit
- Long magnet hold (> 10 s) must unconditionally pull
CHIP_PU(EN) LOW. - Options under evaluation:
- Dedicated supervisor IC (e.g., LTC2950, MAX16054, TPS3420).
- Passive RC delay + MOSFET / comparator.
- Long magnet hold (> 10 s) must unconditionally pull
-
Soft-Latch Power Circuit (optional / TBD)
- Replace the always-on
EN-to-VSYSconnection with a soft-latch that the firmware can release for true zero-power shutdown. - Requires a
POWER_HOLDGPIO available immediately at boot.
- Replace the always-on
-
Tactile Buttons
- Add
RESETbutton:CHIP_PU→ GND (100 nF debounce). - Add
BOOTbutton:GPIO0→ GND (100 nF debounce).
- Add
Directory Layout
hardware/v2.9/
├── altium/ # Altium Designer project placeholders
├── bom/ # Bill of Materials placeholders
├── easyeda/ # EasyEDA Professional project placeholders
├── manufacturing/ # Gerber, pick-and-place, 3D STEP placeholders
└── parsed_data/ # Extracted schematic/BOM/netlist placeholders
Open Decisions
- RTC GPIO selection for reed switch.
- Supervisor IC vs. passive RC for hard reset.
POWER_HOLDGPIO selection (if soft-latch is implemented).- Boot/reset button footprint and enclosure cutout strategy.
- BOM cost target and budget for added components.
- PIR noise: hardware RC filter required or firmware-only debounce?
Related Documents
docs/v2.9_mitigation_plan.mddocs/hw_meeting_v28_v29_agenda.mddocs/v2.8_hardware_analysis_and_fixes.md- Jira: HW-52, HW-55, HW-56, HW-57, HW-58