A project using vl53l5cx to detect the passage of the cat to the outside.
Warning This Project only works on ESP32D with at least 8MB of flash size.
The data processing will be detailed in four layers of data processing. First we need to prepare data, next analyze the data with the necessary calculations and finally determine the result.
The raw data of the sensor as a major issue : the sensor is tilted by 60Β° then all values are not standardize, so we need to correct that with some math.
This project has 2 value that must be assigned to work properly. In order to configure them, you must run this command in your project folder :
> idf.py menuconfig
Next go to Ouchat Configuration
category.
The values to be assigned are :
- Ouchat Secret Key
- Ouchat Cat ID
This project is using my V53L5CX-Library for esp-idf framwork (all the source code is available on github).
βββ CMakeLists.txt
βββ π components /
β βββ π ouchat /
β βββ ouchat_api.c
β βββ ouchat_ble.c
β βββ ouchat_led.c
β βββ ouchat_logger.c
β βββ ouchat_processing.c
β βββ ouchat_protocomm.c
β βββ ouchat_sensor.c
β βββ ouchat_utils.c
β βββ ouchat_wifi.c
β βββ ouchat_wifi_prov.c
β βββ π include /
β βββ ouchat_api.h
β βββ ouchat_ble.h
β βββ ouchat_led.h
β βββ ouchat_logger.h
β βββ ouchat_processing.h
β βββ ouchat_protocomm.h
β βββ ouchat_sensor.h
β βββ ouchat_utils.h
β βββ ouchat_wifi.h
β βββ ouchat_wifi_prov.c
βββ π main /
β βββ CMakeLists.txt
β βββ main.c
βββ README.md
Copyright Β© 2023 RJRP44.
This project is GNU GPL licensed.
Give a βοΈ if this project helped you!