knock-knock-esp32
PublicLoading 3D model… large boards can take a moment.
Klap-Klap
URL to repository: https://github.com/Universumgames/knock-knock-esp32
Description
This project is a simple knock pattern recognizer for a door or chest. The knock pattern is stored on an SD card connected to the ESP32. The knock pattern is recognized by the ESP32 and if the pattern is correct, the door or chest is unlocked. The lock is controlled by a solenoid lock. The project is written in C with the ESP-IDF and uses the PlatformIO IDE. The project is based on the ESP32-C3 microcontroller.
Important files and directories
documentation/sprint_plan.md: Contains the Sprint Plan and detailed description by whom the task was completeddocumentation/backlog.md: Contains the backlog, a detailed beakdown of the seperate task of this projectsrc/: Contains the source code of the projecttest/: Contains the test code of the projectplatformio.ini: Contains the configuration of the projectREADME.md: Contains the description of the projectLICENSE: Contains the license of the projectCHANGELOG.md: The changeloglib/: Contains the self written librariesdocumentation/: Contains the documentation of the projectdatasheets/: Contains the datasheets for the used componentsdocker/: Contains the docker files to build the platformio environment in a docker containerpinout.txt: Contains the pinout of the used microcontrollerpcb/: Contains the pcb files
Contributing Setup
- install clang-format
- Debian/Ubuntu:
sudo apt install clang-format - Arch:
sudo pacman -S clang - MacOS:
brew install clang-format - Windows:
pip3 install clang-format
- Debian/Ubuntu:
- configure githooks
- run
git config core.hooksPath .githooks
- run
- configure IDE to use clang-format
- VS Code: install the
Clang-Formatextension (https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) - CLion: enable clang-format (https://www.jetbrains.com/help/clion/clangformat-as-alternative-formatter.html)
- VS Code: install the
Project setup
- Install VS Code
- Install PlatformIO extension
- open PIO Home -> Platforms -> Espressif 32 -> Install (should be installed automatically when opening the project via PlatformIO)
- building the project by clicking on checkmark in the bottom left corner (when hovering over it, it says: "Build")
- run tests via the
pio testcommand in the terminal
Ask about this board
No comments yet. Be the first to ask about this board.