TimeGuard Access Shield is an embedded access-control system built using the LPC2148 microcontroller.
It combines secure password authentication, RTC-based scheduling, and an interrupt-driven configuration menu to ensure that only authorized users can operate a device β and only at allowed times.
d60065d294baca52b2d59971f610aee24066f479
- π Real-Time Clock Display (Time, Date, Day)
- π Password-Based Authentication (Changeable Password)
- ποΈ Password Show / Hide Feature using Eye Toggle
- πͺ Entry Access Only in Working Hours
- βοΈ Admin Menu via EINT0 Interrupt
- Change Date
- Change Time
- Change Password
- Change Working Hours
- β‘ Edge-Triggered EINT0 Interrupt Handling
- π¨ LCD Custom Characters (Lock, Eye, Success, Warning)
- β Blocks login after 3 failed attempts
- π Full RTC configuration and live display
- LPC2129 / LPC2148 (or any LPC21xx)
- 16x2 LCD (HD44780)
- 4x4 Matrix Keypad
- EINT0 External Interrupt Switch
- RTC Module (DS1307 or compatible)
- Power Supply 5V
- Wires, Breadboard / PCB
/project
β-- main.c
β-- lcd.c / lcd.h
β-- rtc.c / rtc.h
β-- kpm.c / kpm.h
β-- system_init.c
β-- delay.c / delay.h
β-- arduino.c
β-- pin_connect_block.h
β-- types.h
- Accepts 4-digit password
- Shows
*by default - Eye button toggles Show / Hide
- Supports backspace with
C - Auto-block after 3 wrong attempts
A custom CGRAM eye icon is displayed at the right side.
Pressing the E key toggles:
- ποΈ Show Mode β Displays actual digits
- π Hide Mode β Displays
*for all digits (including previously entered ones)
This ensures full privacy during password entry.
System allows login only between Entry & Exit hours:
if ((EnHr <= cHour) && (ExHr >= cHour)) return 1;When EINT0 switch is pressed, system shows:
1 β Change Date
2 β Change Time
3 β Change Password
4 β Employee Working Hours
5 β Exit
Continuously updates:
- Time β HH:MM:SS
- Date β DD/MM/YYYY
- Day β SUN to SAT
- Shows title screen
- Shows RTC continuously
- Press ENTRY switch β Password Login Screen
- Press EINT0 button
- Press 1 to open admin menu
Use Keil uVision, Arm-GCC, FlashMagic.
- Lock icon
- Eye icon (show/hide)
- Success tick
- Warning sign
- Clock icon
TimeGuard Access Shield ensures secure, reliable, and time-restricted machine operation β ideal for labs, workshops, and industrial environments.