DEV Community

Cover image for Attendance System Using ESP32-CAM and WhatsApp Alerts
David Thomas
David Thomas

Posted on

Attendance System Using ESP32-CAM and WhatsApp Alerts

Taking attendance manually feels outdated now.

Every classroom has gone through the same routine:
“Arun?”
“Present, sir.”
“Priya?”
“Present.”

And somehow five to ten minutes disappear every single day.

That’s what inspired this project.

I built a simple smart attendance system using an ESP32-CAM, an OLED display, and a rotary encoder that captures student images and sends attendance updates directly to WhatsApp over Wi-Fi.

What makes this project interesting is that it combines embedded systems, IoT, cloud APIs, and user interaction into one compact setup without needing expensive hardware.

And honestly, it feels like one of those projects engineering students would genuinely enjoy building.


How Does ESP32-CAM Attendance System Works

Circuit Diagram of Attendance System

The workflow is surprisingly smooth.

A student walks up to the device and selects their name using the rotary encoder. Then they choose whether they are entering or leaving.

After a short countdown, the ESP32-CAM captures an image and sends:

  • student name
  • IN/OUT status
  • timestamp
  • photo proof

directly to WhatsApp.

So instead of maintaining registers manually, every attendance entry becomes digitally verified.

That’s a huge upgrade from traditional systems.


Why ESP32-CAM Fits This Project Perfectly

Hardware Connection of the Attendance System

The ESP32-CAM is honestly one of the most fun boards to experiment with.

For a low-cost module, you get:

  • Wi-Fi
  • Bluetooth
  • camera support
  • GPIO pins
  • enough processing power for IoT projects

all packed into something tiny.

Instead of using separate modules for networking and image capture, the ESP32-CAM handles everything together.

That keeps the entire setup lightweight and affordable.


The Hardware Setup

The project mainly uses:

  • ESP32-CAM
  • SSD1306 OLED display
  • Rotary encoder
  • Breadboard or perfboard

The OLED shows menus and instructions, while the rotary encoder acts as the navigation system.

Rotating the knob scrolls through names.

Clicking selects options.

It actually feels surprisingly smooth once everything starts working.


Real-Time WhatsApp Alerts

Once the image gets captured, the ESP32-CAM sends the data through Wi-Fi using a cloud API. Within seconds, the registered phone number receives:

  • captured image
  • student name
  • attendance status
  • timestamp

directly on WhatsApp.

The photo arrives instantly on the phone.


Real-World Applications

This system could easily be adapted for:

  • classrooms
  • coaching centers
  • office attendance
  • hostel entry systems
  • libraries
  • restricted access rooms

Adding face recognition later would make it even more powerful.

And honestly, the hardware is already capable enough for that upgrade.


Why Engineering Students Would Enjoy This Project

A lot of IoT projects online feel repetitive.

Read sensor → upload to cloud → show graph.

This project feels more interactive.

You physically interact with the system, capture images, process attendance, and instantly receive updates on WhatsApp. That combination makes the whole experience much more engaging.

And seeing your own mini attendance terminal working in real time is genuinely satisfying.

ESP32 Projects
IoT Projects

Top comments (0)