{"id":31588582,"url":"https://github.com/ggkooo/esp32-sensors","last_synced_at":"2025-10-06T02:11:48.666Z","repository":{"id":315241016,"uuid":"1058302253","full_name":"ggkooo/esp32-sensors","owner":"ggkooo","description":"Developing an ESP32 code to read environmental variables","archived":false,"fork":false,"pushed_at":"2025-09-29T14:58:51.000Z","size":43,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-29T15:14:24.910Z","etag":null,"topics":["arduino-ide","c","esp32","esp32-devkit-v1","humidity-sensor","ino","noise-sensor","sensors","temperature-sensor"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ggkooo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-16T23:02:09.000Z","updated_at":"2025-09-22T11:13:19.000Z","dependencies_parsed_at":"2025-09-29T15:14:31.658Z","dependency_job_id":null,"html_url":"https://github.com/ggkooo/esp32-sensors","commit_stats":null,"previous_names":["ggkooo/hospital-environmental-control-esp32","ggkooo/esp32-sensors"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ggkooo/esp32-sensors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkooo%2Fesp32-sensors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkooo%2Fesp32-sensors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkooo%2Fesp32-sensors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkooo%2Fesp32-sensors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggkooo","download_url":"https://codeload.github.com/ggkooo/esp32-sensors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkooo%2Fesp32-sensors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547821,"owners_count":26004775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino-ide","c","esp32","esp32-devkit-v1","humidity-sensor","ino","noise-sensor","sensors","temperature-sensor"],"created_at":"2025-10-06T02:11:01.254Z","updated_at":"2025-10-06T02:11:48.659Z","avatar_url":"https://github.com/ggkooo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌱 ESP32 Environmental Monitoring Projects\n\nWelcome! This repository contains a collection of ESP32-based projects for capturing, displaying, logging, and serving environmental data such as temperature, humidity, and noise levels. All projects are modular, well-documented, and use widely available sensors and displays, making them ideal for learning, prototyping, or real-world IoT applications.\n\n---\n\n## ✨ Features\n- Real-time measurement of temperature, humidity, and noise\n- OLED display visualization\n- Data logging in JSON format\n- Web server and API for remote data access\n- Visual feedback with LEDs (in some projects)\n- Modular and easy-to-understand code\n\n---\n\n## 🧩 Project Variants\n\n### 🔊 Noise Level Meter\n- **Sensors:** INMP441 (noise)\n- **Display:** SSD1306 OLED\n- **Features:** Real-time noise level measurement and display\n- **Example Output:**\n  ```\n  Ruido:\n    42%\n  ```\n\n### 🌡️🔊📡 Environmental Logger \u0026 Simple API\n- **Sensors:** SHT31 (temperature/humidity), INMP441 (noise)\n- **Features:** Logs data in JSON, provides a PHP API, LED status\n- **Example Output (log.json):**\n  ```json\n  [\n    {\n      \"temperature\": 23.45,\n      \"humidity\": 45.67,\n      \"noise\": 56.23,\n      \"timestamp\": \"17-09-25 09:20:15\"\n    }\n  ]\n  ```\n\n### 🌡️🔊 Environmental Monitor with OLED\n- **Sensors:** SHT31, INMP441\n- **Display:** SSD1306 OLED\n- **Features:** Alternates display of temperature/humidity and noise (dB)\n- **Example Output:**\n  ```\n  Temp: 23.4°C\n  Umid: 45.7 %\n  ---\n  Ruido:\n    56.2 dB\n  ```\n\n### 🌱 Environmental Variable Capture\n- **Sensors:** SHT31\n- **Display:** SSD1306 OLED\n- **Features:** Displays temperature and humidity\n- **Example Output:**\n  ```\n  Temp: \n  23.4°C\n  Umid: \n  45.7 %\n  ```\n\n---\n\n## ⚡ Common Wiring\n\n| Sensor/Display | ESP32 Pinout Example |\n|---------------|---------------------|\n| SHT31 SDA     | GPIO 21             |\n| SHT31 SCL     | GPIO 22             |\n| INMP441 WS    | GPIO 15             |\n| INMP441 SCK   | GPIO 14             |\n| INMP441 SD    | GPIO 32             |\n| OLED SDA      | GPIO 21             |\n| OLED SCL      | GPIO 22             |\n\n\u003e **Note:** Always confirm the pinout for your ESP32 board and sensor/display versions.\n\n---\n\n## 🚀 How to Use\n1. Install the required libraries in the Arduino IDE:\n   - Adafruit SHT31\n   - Adafruit SSD1306\n   - Adafruit GFX\n   - Wire\n   - WiFi, SPIFFS, WebServer (for logging/web projects)\n2. Connect the sensors and display as shown above.\n3. Open the desired `.ino` file in Arduino IDE, edit WiFi credentials if needed.\n4. Upload to your ESP32.\n5. Use the Serial Monitor and/or OLED display to view live data. For web/API projects, access the ESP32 IP or PHP endpoint.\n\n---\n\n## 🤝 Contributing\nFeel free to open issues and pull requests to improve this project!\n\n## ⚖️ License\nThis project is licensed under the MIT License.\n\n---\nDeveloped by Giordano Berwig\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggkooo%2Fesp32-sensors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggkooo%2Fesp32-sensors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggkooo%2Fesp32-sensors/lists"}