Coupons
Help
  • FAQ
    browse most common questions
  • Live Chat
    talk with our online service
  • Email
    contact your dedicated sales:
EN
EN

ESP32 Fingerprint Voting Machine Video: Custom 2-Layer PCB Delivers Reliable Biometrics

Daniel Li 3,957

 

Project Background

Many electronics projects begin with a practical need rather than a pure experiment. In this case the goal was clear: create a fully self-contained biometric voting system that could enroll voters by fingerprint, block double-voting, accept a candidate choice through simple button presses, and stream live results to any browser—without depending on an external cloud server or paid hosting. The finished experience had to feel professional: clear OLED status messages, a clean web dashboard, and one-click CSV export of the complete voting history.

Breadboards and jumper wires are excellent for proving concepts. They are rarely adequate when an optical fingerprint sensor such as the R503 must capture clean images while an ESP32 simultaneously runs Wi-Fi, serves web pages, and maintains a stable 3.3 V rail. Contact resistance, long inductive traces, and uncontrolled ground returns quickly degrade image quality and trigger brown-outs. The moment a purpose-designed double-sided FR4 PCB arrived, the project stopped looking like a laboratory prototype and began to behave like a finished device that could be shown to real users.

This class of biometric edge system is increasingly relevant for classrooms, makerspaces, small offices, and pilot elections where data privacy, offline operation, and low cost matter. The combination of ESP32 processing power, local web server capability, and a high-performance optical sensor creates a compelling platform—provided the hardware foundation is solid.

 

ESP32 Fingerprint Voting Machine

 

What This Video Covers

In the accompanying video, the complete development journey is demonstrated step by step. Viewers see the initial breadboard validation, the schematic drawn in EasyEDA, the transition to a clean two-layer layout, the ordering process with AIVON PCB, the arrival and assembly of the finished boards, and the final system operating reliably end-to-end.

Key sequences include voter enrollment through the self-hosted web interface (name, ID, date of birth, sex, city plus two fingerprint captures), real-time fingerprint matching that prevents re-voting, candidate selection via four active-low push buttons, live dashboard updates showing turnout and leading candidate, activity feed, full history, and CSV export. The video also highlights the mechanical and electrical improvements that only a properly manufactured PCB can deliver—short UART and I2C runs, local decoupling exactly where the R503 needs it, continuous ground pours, and solid mechanical mounting for the sensor and OLED.

 

Project Highlights and Key Features

  • Self-contained architecture: ESP32 joins the local Wi-Fi network, serves its own web pages, and displays the IP address directly on the 0.96-inch OLED—no external server required.
  • Biometric core: R503 optical sensor (up to 200 templates, UART interface, strong FAR/FRR performance) provides fast and reliable fingerprint capture and matching.
  • Professional user experience: clear OLED status messages, clean multi-page web dashboard (main overview, enrollment, live results, management), and one-click CSV export of complete voting logs.
  • Practical hardware choices: mostly through-hole components for easy hand assembly, female headers on ESP32, OLED and R503 for future module swaps, dedicated 6-pin terminal replacing long jumper wires, and carefully placed 10 µF electrolytic plus 0.1 µF ceramic capacitors at every critical module.
  • Robust two-layer PCB parameters: FR-4, 1.6 mm thickness, 1 oz copper on both sides, lead-free HASL finish, continuous ground pours, short power and signal paths, and selective via treatment.
  • Serviceability focus: critical modules kept on the top side, mechanical stability for the sensor and display, and layout decisions that prioritize noise control and reliability over extreme density.

Fingerprint voting machine hardware set

 

Challenges Encountered During Development

Even a modest two-layer board reveals its weaknesses the first time the fingerprint sensor acquires an image or the Wi-Fi radio becomes active. Three interrelated issues dominated early testing.

Power integrity appeared first. The R503 draws a short, sharp current spike while capturing a fingerprint image. On a breadboard that spike frequently pulled the ESP32 into brown-out or scrambled the UART link. The sensor datasheet is explicit: supply ripple must remain under roughly 50 mV peak-to-peak or image quality collapses. Long thin power traces and inadequate local energy storage made the problem worse.

Mechanical reliability came next. Long jumper wires to the R503 connector created intermittent contacts every time a finger pressed the sensor. Flex and unreliable connections translated directly into failed captures and frustrated users.

Via treatment and copper-to-edge clearances required the same careful attention that appears in many production two-layer jobs. Design files originally showed double-sided open windows on vias while process notes called for tented vias. Left unresolved, that mismatch allows solder-mask ink to flow into the holes, leaves copper exposed at the hole mouths, and traps solder beads during HASL—defects that often pass initial electrical test yet fail later under thermal cycling. In parallel, copper-to-edge clearances that were too tight risked burrs, plating voids, and weak annular rings after depanelization.

None of these issues were exotic. They were ordinary DFM realities that separate a working demonstration from a board that can be relied upon day after day.

 

How AIVON PCB Helps

The creator uploaded the Gerber files, selected standard parameters, and the boards arrived from AIVON in three days. They looked clean, the holes were accurate, the solder mask was consistent, and the surface finish was ready for hand assembly. That physical quality proved decisive.

AIVON's rapid PCB manufacturing delivered short, controlled traces for the UART and I2C links, local energy reservoirs exactly where the R503 needed them, continuous ground returns for the capture current spikes, and solid mechanical mounting so the sensor and display stayed firmly in place. Female headers allowed any module to be swapped without lifting a soldering iron. The finished unit boots cleanly, displays its IP address without hesitation, accepts fingerprints without drop-outs, and keeps the live dashboard updating without unexplained resets.

Equally important was the engineering support. When via mask intent and outline data needed clarification, an Engineering Question received a prompt, precise answer. Early file review also caught copper-to-edge and via-pad issues that could have produced field failures. Manufacturing precision—consistent plating, accurate registration, clean lead-free HASL, and solid solder-mask coverage—did the quiet work that turned a promising breadboard into a device that feels finished.

The same pattern appears across many two-layer FR-4 projects handled by AIVON: responsive DFM analysis, fast-turn production, and boards that simply work the first time they are powered. For engineers moving biometric or sensor-heavy designs off the breadboard, that combination of speed, quality, and technical dialogue removes the usual sources of delay and unreliability.

 

Conclusion

The creative work—the system logic, the web dashboard, the enrollment flow, and the overall user experience—belonged entirely to the maker. The custom two-layer PCB simply cleared the path so that work could shine. Once the boards arrived from AIVON, the project stopped fighting the hardware and started looking like a product that could be demonstrated to anyone.

Anyone sitting on a similar idea that needs clean power delivery, solid sensor interfaces, and mechanical reliability does not need to stay on the breadboard longer than necessary. A well-reviewed board and a manufacturing partner who actually reads the files can move a project from "it almost works" to "this can be shown to real users."

 

 

FAQ

Q1: Why leave the breadboard for a custom PCB on an ESP32 + R503 project?

A1: Breadboards introduce contact resistance, long traces, and noise that the R503 will not tolerate. A proper board supplies short solid connections, correct local decoupling, and mechanical stability so fingerprint matching and Wi-Fi remain reliable day after day.

Q2: What stack-up is realistic for this class of biometric board?

A2: Standard 2-layer FR-4, 1.6 mm thickness, 1 oz copper with continuous ground pours is usually sufficient. Keep power and sensor traces short and place the decoupling capacitors exactly where the layout intends.

Q3: How critical is via tenting on a simple 2-layer fingerprint design?

A3: Selective tenting protects vias near noisy digital or power areas while leaving others open for probing. Document the intent clearly so the manufacturer does not have to guess—mismatches are a frequent source of later reliability issues.

Q4: What power practices stop the ESP32 from resetting during a fingerprint scan?

A4: Use both bulk and high-frequency capacitors right at the modules, keep the 3.3 V rail stiff, and avoid long thin power traces. The R503 itself specifies ripple under roughly 50 mV peak-to-peak.

Q5: What DFM checks should be run before sending Gerbers for an ESP32 biometric board?

A5: Verify copper-to-edge clearances, consistent via mask treatment, proper annular rings, local decoupling placement, and that any special features match the manufacturer's process capabilities. Early Engineering Questions save far more time than late surprises.

AIVON

Leading PCB Manufacturer for PCB Prototype and Mass Production

Get instant quote

2026 AIVON.COM All Rights Reserved
Intellectual Property Rights | Terms of Service | Privacy Policy | Refund Policy