The IoT Distance Monitoring System is an innovative project that combines the power of the Wemos D1 Mini microcontroller, the accuracy of the HC-SR04 ultrasonic distance sensor, and the robustness of MySQL database integration to create a versatile and data-driven solution for real-time distance monitoring.
To perfrom this project, follow these steps:
- Start by creating a database. In this case, I've named it "distance."
- Next, create a table in the database using the provided query in the "maketable.sql" file.
- Copy the "connect.php" file to your local development environment, for example, in the "htdocs" directory.
- Finally, upload the "distance.ino" sketch to your microcontroller.