● ● ● fatima_ramirez / portfolio.2026 v.01
Project 03 · Trihton

CAHD
unbreakable attendance

Building hardware tough enough to outlast the people trying to break it.

01 / Hero
CAHD V4 DEVICE /assets/images/cahd-hero.jpg
year 2019 – 2020
role Lead electronics & firmware · 5-person team (initial), 2 (final)
team Trihton owned all hardware + firmware; external vendor for cloud/UI
stack Dual ESP32 · PCB (EAGLE, 13 iterations) · C/C++ · WiFi/Ethernet/GPRS
status 4 functional prototypes · paused before deployment
01 · Context

Why this matters

An investor approached us with a frustrating problem: schools in Nayarit, Mexico were trying to introduce attendance enforcement, but every device they installed kept getting destroyed. Conventional plastic-housed fingerprint scanners didn't survive in environments with active labor tensions.

The brief was unusual: design hardware tough enough to outlast the people trying to break it — while still offering full IoT-grade functionality (remote enrollment, real-time alerts, cloud backup, OTA updates). Trihton owned the full physical and firmware side; a separate vendor handled the cloud platform and HR management UI.

02 · Approach

How I solved it

The device runs on two ESP32 microcontrollers in parallel: one handles user-facing tasks (touchscreen, fingerprint sensor, local logic), the other handles server communication and connectivity orchestration. This split kept the UX responsive while networking ran in the background — and gave a fallback path if one channel failed.

Connectivity stack with intentional redundancy

WiFi (802.11n) Primary cloud sync.
Ethernet Wired fallback for unstable WiFi environments.
GPRS / 2G-3G Last-resort SMS alerts when internet fails.
SD card (16 GB) Local backup of attendance records when all channels fail.

The system spoke HTTP/JSON with the HR management server — bidirectional sync of users, fingerprints, and attendance logs.

Multi-domain ownership

PCB design Mixed-signal board through 13 design iterations. Dual-input power (120/220 VAC mains + UPS battery, 3–4 hr backup); analog signal conditioning for the fingerprint sensor; multi-protocol routing (UART, SPI, I²C) for all peripherals.
EMC & form-factor The stainless-steel enclosure introduced severe RF reflection problems. Routed signals carefully, added shielding strategies, and laid out the board to minimize coupling inside a tightly confined metal cavity.
Firmware C/C++ on dual ESP32 — fingerprint enrollment/matching, touchscreen menu system, multi-channel networking with graceful degradation, SD logging, server sync, tamper alerts, OTA exploration.
System integration Coordinated with mechanical and industrial design colleagues on housing constraints (cable routing, vibration, polycarbonate window, solenoid lock for admin access).
DUAL-ESP32 + CONNECTIVITY STACK
fig.01 — UX controller + connectivity controller elec · firmware

Designed-in for the environment

03 · Result

What it achieved

Reached
V4 — production-ready prototype
4 full product iterations alongside 13 PCB revisions.

V4 specs

V1 → V4 · MP4

Device in operation — fingerprint check

What remained open

What I took from it

CAHD was my first multi-year, multi-iteration hardware product — and it taught me how much real engineering happens in the iterations after something already works. The leap from V3 (functional) to V4 (deployable) involved no new features, only relentless tightening: power budget cut by two-thirds, sensor module made hot-swappable, tamper detection refined, EMC issues hunted down one by one inside a metal cavity that fought me at every revision.

04 · Gallery

Process & details

Next project →
Honey packager
Semi-automatic honey packaging system