Doorbell/README.md
2025-09-29 16:23:09 +00:00

103 lines
3.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🔐 Intelligente Türklingel mit ESP32C3
Dieses Projekt nutzt einen **ESP32C3 Super Mini**, einen **R503 Fingerabdrucksensor** sowie ein **3x4 Tastenfeld**, um eine smarte Türklingel mit Zutrittskontrolle zu realisieren.
---
## 📦 Komponenten
- [ESP32-C3 Super Mini Board](https://de.aliexpress.com/item/1005005097410991.html)
- [R503 Fingerabdrucksensor](https://datasheet.lcsc.com/lcsc/1811141221_FPM-Fingerprint-R503_C83050.pdf)
- [3x4 Matrix Keypad (Tastenfeld)](https://www.handsontec.com/dataspecs/module/Keypad%203x4.pdf)
- Jumper-Kabel, Stromversorgung (5V oder USB), Gehäuse etc.
---
## 🧠 Funktionen
- Authentifizierung über Fingerabdruck
- PIN-Code Eingabe über 3x4 Keypad
- Kombination aus Fingerabdruck und PIN möglich
- Ansteuerung von z.B. Türöffner oder Alarmanlage
- Optional: Web-Anbindung über WiFi zur Protokollierung
---
## 🔌 Schaltplan (Verdrahtung)
### 🔹 R503 Fingerabdrucksensor
| **R503 Sensor** | **ESP32C3 Pin** | **Beschreibung** |
|------------------|------------------|-------------------------------|
| VCC | 3V3 | Stromversorgung (3.3V) |
| GND | GND | Masse |
| TX | GPIO20 | Daten zum ESP (RX) |
| RX | GPIO21 | Daten vom ESP (TX) |
| Touch INT | GPIO10 | Interrupt-Signal vom Sensor |
📄 [R503 Datenblatt (PDF)](https://datasheet.lcsc.com/lcsc/1811141221_FPM-Fingerprint-R503_C83050.pdf)
---
### 🔹 3x4 Tastenfeld (Keypad)
| **Keypad Pin** | **ESP32C3 Pin** | **Beschreibung** |
|----------------|------------------|-----------------------|
| ROW0 | GPIO1 | Zeile 1 |
| ROW1 | GPIO6 | Zeile 2 |
| ROW2 | GPIO5 | Zeile 3 |
| ROW3 | GPIO3 | Zeile 4 |
| COL0 | GPIO2 | Spalte 1 |
| COL1 | GPIO0 | Spalte 2 |
| COL2 | GPIO4 | Spalte 3 |
| **Pin** | **ESP32C3 Pin** | **Beschreibung** |
|---------|-----------------------|-------------------|
| SDA | GPIO8 | I2C Port expander |
| SCL | GPIO9 | I2C Port expander |
| **Aktor ** | **Port-Expander Pin** | **Beschreibung** |
|----------------|-----------------------|-----------------------|
| Buzzer | GPIO8 | Piepser |
| Opener | GPIO9 | Türöffner |
| bell | GPIO10 | Glocke innen |
---
## 📸 ESP32C3 Super Mini Pinout
![ESP32C3 Super Mini Pinout](https://github.com/SENTHILRAJ-K/ESP32-C3-SuperMini/raw/main/images/esp32-c3-supermini-pinout.png)
Quelle: [SENTHILRAJ-K/ESP32-C3-SuperMini (GitHub)](https://github.com/SENTHILRAJ-K/ESP32-C3-SuperMini)
---
## 🛠️ Benötigte Libraries (Arduino)
- `Adafruit_Fingerprint` (für R503)
- `Keypad.h` (für 3x4 Keypad)
- `WiFi.h` (für spätere Netzwerkintegration)
- ggf. `ESPAsyncWebServer`, `EEPROM`, `Preferences` u.a.
---
## 🚧 ToDo
- [ ] Fingerabdruck-Registrierung über Tastenkombination
- [ ] PIN-Code Backup-Funktion
- [ ] Web-Interface zur Verwaltung
- [ ] Daten-Logging (SD-Karte oder Cloud)
---
## 📝 Lizenz
MIT freie Nutzung für private und kommerzielle Projekte.
---
## 📬 Kontakt
Bei Fragen oder Vorschlägen: einfach melden!