Sentry is an RFID-based attendance monitoring system built using Arduino Uno and a C# desktop application. The system allows users to scan RFID cards to automatically record Time-In and Time-Out into a database and display attendance records in a user-friendly interface.
This project aims to provide a simple, efficient, and automated attendance tracking solution for schools, organizations, or offices.
- 📡 RFID Card Scanning using Arduino Uno
- 🖥 Desktop Application (C# / .NET)
- 🗄 SQL Server Database Integration
- ⏱ Automatic Time-In / Time-Out Logging
- 📊 Attendance Dashboard
- 👥 Resident/User Management
- 🔄 Real-time Serial Communication
- 📅 Attendance History Tracking
RFID Card
│
▼
Arduino Uno + RFID Reader
│ (Serial Communication)
▼
C# Desktop Application
│
▼
SQL Server Database
- Arduino Uno
- RFID Module (MFRC522)
- C# (.NET / WPF or WinForms)
- SQL Server LocalDB
- Serial Communication (COM Ports)
- Arduino Uno
- MFRC522 RFID Reader
- RFID Cards / Tags
- USB Cable
- Computer running Windows
- Arduino IDE
- .NET Framework / .NET SDK
- Visual Studio
- SQL Server LocalDB
git clone https://github.com/juswa005/Sentry.git
cd Sentry- Open the Arduino IDE
- Connect the Arduino Uno
- Upload the RFID reader sketch included in the project
- Open the project in Visual Studio
- Configure the connection string
- Ensure the
.mdfdatabase file is correctly linked
Example connection string:
Data Source=(LocalDB)\MSSQLLocalDB;
AttachDbFilename=|DataDirectory|\Attendance.mdf;
Integrated Security=True
- Build the project
- Run the desktop application
- Connect to the correct COM port
- Start scanning RFID cards
-
Launch the Sentry Application
-
Connect the RFID scanner
-
Scan an RFID card
-
The system automatically records:
- User ID
- Date
- Time In / Time Out
-
View attendance records in the dashboard.
Sentry
│
├── Arduino
│ └── RFID Reader Code
│
├── Desktop Application
│ ├── UI
│ ├── Database
│ └── Serial Communication
│
└── Database
└── Attendance.mdf
- 📱 Mobile notification support
- ☁ Cloud database support
- 📊 Attendance analytics
- 🔐 User authentication
- 🧠 AI-based attendance insights
Contributions are welcome!
- Fork the repository
- Create a new branch
- Commit your changes
- Open a pull request
This project is licensed under the MIT License.
Amiel Josh Basug
GitHub: https://github.com/juswa005