Repository navigation
Code Autovelox
elRaulito edited this page Nov 18, 2020
·
2 revisions
At the startup the ESP32 will start its own wifi, anyone with the password can connects to it and set the parameters using a webapp as dashboard. When the Autovelox is activated from the dashboard, the esp32 will connect to the wifi and start communicating with Keepy, posting data on the tangle. ESP32 is a 2 core micro-controller, therefore it is possible to execute two tasks in parallel like controlling the ultrasonic sensor output and sending data to keepy.

- camera.h With the functions to start the camera and take the pictures
- connect.h With the functions to connect as AP or STA
- fetch.h To make REST requests
- server.h The library that routes the dashboard requests
- tasks.h The library that defines the functions that are executed continously
Find me on telegram @elraulito