Smart Attendance Register System with Passcode / ID Entry
The “Smart Attendance Register System with Passcode Entry” is an Arduino-based project designed to streamline attendance tracking in various environments.
Utilizing an Arduino Uno microcontroller, a keypad, and an LCD display, this system enables users to input their unique passcodes for attendance logging.
The Arduino processes the passcodes, verifies them against stored data, and displays real-time attendance status on the LCD. The project is suitable for educational institutions, offices, or any setting where maintaining accurate attendance records is crucial.
Component List:
Name | Quantity | Component |
---|---|---|
U1 | 1 | Arduino Uno R3 |
R1 R2 | 2 | 1 kΩ Resistor |
Rpot1 | 1 | 250 kΩ Potentiometer |
KEYPAD1 | 1 | Keypad 4×4 |
U2 | 1 | LCD 16 x 2 |
D1 | 1 | Green LED |
Connect the keypad and LCD to the Arduino Uno as follows:
- Connect keypad pins to specified digital pins.
- Connect LCD pins to designated digital and analog pins.
Implement a secure passcode verification system in the Arduino code.
Arduino Code:
#include <Keypad.h>
#include <LiquidCrystal.h>
const byte ROWS = 4;
const byte COLS = 4;
LiquidCrystal lcd(15, 14, 13, 12, 11, 10);
int led = 16;
int led2 = 17;
char hexaKeys[ROWS][COLS] =
{
{'1', '2', '3', 'A'},
{'4', '5', '6', 'B'},
{'7', '8', '9', 'C'},
{'*', '0', '#', 'D'}
};
byte rowPins[ROWS] = {9, 8, 7, 6};
byte colPins[COLS] = {5, 4, 3, 2};
Keypad customKeypad = Keypad(makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);
String v_passcode = "";
void setup()
{
lcd.begin(16, 2);
pinMode(led, OUTPUT);
pinMode(led2, OUTPUT);
}
void loop()
{
char key = customKeypad.getKey();
lcd.setCursor(0, 0);
lcd.print("Enter ID:");
if (key)
{
v_passcode = v_passcode + key;
lcd.setCursor(12, 0);
lcd.print(v_passcode);
if (v_passcode == "A012")
{
lcd.setCursor(0, 1);
lcd.print("Jack Present");
digitalWrite(led, HIGH);
}
else
{
lcd.setCursor(0, 1);
lcd.print("Invalid ID");
}
v_passcode = ""; // Reset the passcode for the next entry
}
}
The Smart Attendance Register System with Passcode Entry provides a reliable, secure, and straightforward solution for attendance management. The absence of a buzzer simplifies the hardware setup while maintaining the project’s effectiveness. This system caters to organisation seeking an uncomplicated yet efficient approach to attendance tracking in diverse scenarios.