- 📏 Measurement and calibration of the HC-SR04 sensor;
- 📶 Communication via MQTT protocol and API;
- 📈 Dashboard made through a web page.
- ESP32 Code;
- Client MQTT;
- API;
- Web Page.
This project aims to collect measurements from the HC-SR04 ultrasonic sensor, sending them to an MQTT Broker, which in turn will provide the data to the MQTT Client, which will be responsible for performing the calibration based on the flight time received. After that, the Client will send the calibrated data to an API, which will register it in a database. Thus, a web application will consume this API and visually display the obtained data.
Calibration is done using statistical calculations such as linear regression to estimate the measurement, combined and expanded uncertainty to estimate measurement error.