A compact security system where ESP32-CAM captures an image after a successful fingerprint match and uploads user details to Google Apps Script.
This system combines an ESP32-CAM with a serial fingerprint module such as R307 or GT-511C3. When a valid fingerprint is detected, the device captures a photo, converts it to Base64, and sends the user name, UID, and image data to a Google Apps Script endpoint.
It acts as a smart door security prototype with photo logging, access tracking, and optional LED or buzzer feedback.
View GitHub Repo| Component | NodeMCU Pin |
|---|---|
| HC-SR04 TRIG | D1 (GPIO5) |
| HC-SR04 ECHO | D2 (GPIO4) |
| LED Indicator | D5 (GPIO14) |
| VCC | VIN |
| GND | GND |
Handles fingerprint authentication, image capture, Base64 conversion, cloud upload, and access logging.
#include <esp_camera.h>
#include <WiFi.h>
#include <HTTPClient.h>
#include <Adafruit_Fingerprint.h>
/* Complete source available in download */
Receives image data, stores access records, processes uploads, and manages cloud integration.
function doPost(e) {
// Receive image
// Save to Drive
// Log user details
// Return image URL
}
/* Complete source available in download */