https://github.com/datkanber/rfid-card
This project is a simple RFID card reader application that uses a USB HID device to read RFID cards, validate their authorization, and respond with appropriate actions.
https://github.com/datkanber/rfid-card
card-reader flask password-manager rfid
Last synced: about 1 month ago
JSON representation
This project is a simple RFID card reader application that uses a USB HID device to read RFID cards, validate their authorization, and respond with appropriate actions.
- Host: GitHub
- URL: https://github.com/datkanber/rfid-card
- Owner: datkanber
- Created: 2024-05-05T14:40:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-08T22:39:29.000Z (over 1 year ago)
- Last Synced: 2025-06-10T11:16:00.868Z (about 1 year ago)
- Topics: card-reader, flask, password-manager, rfid
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RFID Reader with Flask and Sound Alerts
This project is a simple RFID card reader application that uses a USB HID device to read RFID cards, validate their authorization, and respond with appropriate actions. The application also integrates a Flask web server and plays sound alerts for authorized and unauthorized access.
---
## Features
- **RFID Card Reading**: Reads RFID cards via a USB HID device.
- **Card Authorization**: Compares card data against a predefined authorized card number.
- **Sound Alerts**: Plays a sound for authorized or unauthorized card reads.
- **Flask Web Server**: Redirects to a specific URL for authorized cards, shows an unauthorized message for others.
- **Debounce Mechanism**: Prevents repeated reads of the same card within a short period.
---
## Prerequisites
- **Python**: Version 3.8 or higher.
- **pip**: Python package manager.
- **Dependencies**: Install the following Python packages:
- `Flask`
- `pygame`
- `hidapi`
---
## Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/your-repository/rfid-reader.git
cd rfid-reader
pip install -r requirements.txt
python app.py
## Dependencies
- Flask: Web framework for serving the app.
- pygame: Plays audio feedback for card reads.
- hidapi: Handles communication with the RFID USB device.
2. **Install them via:**
```bash
git clone https://github.com/your-repository/rfid-reader.git