This is an IoT door lock firmware based on STM32 MCU.
WARNING: This is an unfinished firmware.
Currently the firmware is developed based on STM32F103RCT6.
| Emoji | Description |
|---|---|
| ✔️ | The driver is available |
| ❌ | The driver is under development |
| 🚧 | In progress. . . |
- ✔️ STM32F103RCT6 or other development boards
- ✔️ 0.96 inch OLED display (4Pin: SDA, SCL, VCC +3.3V, GND)
- ✔️ TTP229 Matrix keypad Module (PH2.0 to 4Pin DuPont line: SCL, SDO, VCC +5V, GND)
- ✔️ RFID-RC522 (8Pin: SDA, SCK, MOSI, MISO, IRO, GND, RST, VCC +3.3V)
- ✔️ SD Card module (6Pin: CS, MOSI, SCK, MISO, VCC +3.3V, GND)
- 🚧 ESP-8266(ESP-12F)
| Device | Device PIN | MCU PIN |
|---|---|---|
| OLED Display | SDA | PB10 |
| SCL | PB11 | |
| VCC | 3V3 | |
| GND | GND | |
| TTP229 | SCL | PB6 |
| SDO | PB7 | |
| V (VCC) | VCC5 | |
| G (GND) | GND | |
| RFID-RC522 | SDA | PB12 |
| SCK | PB13 | |
| MOSI | PB15 | |
| MISO | PB14 | |
| IRQ | --- | |
| GND | GND | |
| RST | PB0 | |
| VCC | 3V3 | |
| SD Card module | CS | PA4 |
| MOSI | PA7 | |
| SCK | PA5 | |
| MISO | PA6 | |
| GND | GND | |
| VCC | 3V3 | |
| ESP-8266 | RX | PC10 |
| TX | PC11 | |
| V (VCC) | VCC5 | |
| G (GND) | GND |
- CLion or other IDE
- STM32CubeMX
- gcc-arm-none-eabi
- CMake
This project is licensed under the MIT License - see the LICENSE.md file for details.
- 野火STM32庫開發實戰指南
- RFC3174 - SHA-1
- Waiting for update ...
CLion is an IDE that maximizes developer productivity in every aspect.
Special thanks to JetBrains for providing a free CLion license for open source and educational learning.
