diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..460ba55 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# Vim temporary files +*.swp +*.swo +*.wsp diff --git a/C8ZLtB-py-basic-ui.jpg b/C8ZLtB-py-basic-ui.jpg deleted file mode 100755 index c13d47c..0000000 Binary files a/C8ZLtB-py-basic-ui.jpg and /dev/null differ diff --git a/PaginaResultado.png b/PaginaResultado.png new file mode 100644 index 0000000..6e4b50d Binary files /dev/null and b/PaginaResultado.png differ diff --git a/README.md b/README.md index 0d77014..b6c29ac 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,6 @@ Data is captured by the sensor, processed by the C program, stored as JSON, serv ### 📷 Pin Reference Images -Include these images in your repository: - ![Esquema de conexiones para la Raspberry Pi 4 y Sensor HTU21D](RaspberryPi4_Sensor_PinMap.jpg) --- @@ -244,6 +242,12 @@ http://192.168.1.100 --- +### 12. Result + +![Pagina resultante con las mediciones](PaginaResultado.png) + +--- + ## 🔄 Real-Time Updates JavaScript fetch: @@ -269,40 +273,6 @@ fetch('./data/HTU21D.json?nocache=' + Date.now()) --- -## ⚠️ Troubleshooting - -### ❌ No data update - -* Check loop is running -* Verify `nocache` in fetch - ---- - -### ❌ Permission denied - -```bash -sudo nano /var/www/html/index.html -# Edit file with admin privileges -``` - ---- - -### ❌ Sensor not detected - -* Check wiring -* Run `i2cdetect` - ---- - -## 📈 Improvements - -* WebSockets (real-time without polling) -* Database storage -* Historical charts -* Remote access via internet - ---- - ## 🎯 Conclusion This project integrates: diff --git a/sensors/HTU21D/.htu21d.c.swp b/sensors/HTU21D/.htu21d.c.swp deleted file mode 100755 index f5a189b..0000000 Binary files a/sensors/HTU21D/.htu21d.c.swp and /dev/null differ diff --git a/sensors/HTU21D/.htu21d.h.swp b/sensors/HTU21D/.htu21d.h.swp deleted file mode 100755 index 1e647ae..0000000 Binary files a/sensors/HTU21D/.htu21d.h.swp and /dev/null differ diff --git a/sensors/HTU21D/.main.c.swp b/sensors/HTU21D/.main.c.swp deleted file mode 100755 index 62204f9..0000000 Binary files a/sensors/HTU21D/.main.c.swp and /dev/null differ