Biometric Fingerprint Sensor, Relay & Solenoid Lock Simulator
Test the complete biometric security loop in your browser: touch the optical scanner to simulate authorized vs unknown fingerprints, watch the 5V optoisolated relay click closed, observe the 12V electromagnetic solenoid bolt retract against its spring, and track animated LCD glyphs with live UART telemetry.
Bench Parts & Hardware Components
MCU
Arduino Uno
Runs the fingerprint state machine, arbitrates SoftwareSerial on Pins 2/3, and triggers Relay Pin 7.
BIOMETRIC
AS608 Fingerprint Reader
Captures high-res fingerprint images, compares against stored templates, and returns match ID.
SWITCH
1-Channel Relay Module
Optocoupler isolation protects the 5V Arduino circuitry from 12V inductive kickback spikes.
ACTUATOR
12V Solenoid Strike
Heavy-duty electromagnetic coil retracts spring-loaded bolt when energized to release door latch.
Interactive Fingerprint & Solenoid Simulator
Verified Arduino C++ Firmware
Frequently Asked Questions
Technical details on how this digital twin models physical relay switching, solenoid bolt throw, Web Audio buzzer synthesis, and C++ sketch execution.
1. How does this simulator model the physical hardware? +
image2Tz), relay coil triggering on Digital Pin 7, electromagnetic solenoid armature retraction with 25px physical stroke, status LEDs on Pins 9 & 10, active piezo buzzer feedback on Pin 8 via native Web Audio synthesis, and real-time UART serial telemetry output.
2. Can I use the C++ code shown on this page directly on physical hardware? +
3. Why does the solenoid bolt retract by -48px in the simulator? +
4. Why is the Web Audio buzzer synthesizing square waves instead of playing an audio file? +
tone(buzzerPin, frequency, duration)). Synthesizing a native square wave via the browser's Web Audio API emulates the genuine electronic timbre of a physical workbench buzzer with zero network loading latency.