# 🌡️ Raspberry Pi 4 Temperature & Humidity Monitoring System (HTU21D)
# Raspberry Pi 4 Temperature & Humidity Monitoring System (HTU21D)
---
## 📌 Project Overview
## Project Overview
This project implements a real-time temperature and humidity monitoring system using a **Raspberry Pi 4** and an **HTU21D sensor**. The system reads environmental data via I2C, processes it using a C program, and displays the results on a web dashboard using Nginx.
---
## 🧠 System Architecture
## System Architecture
The system is structured as a simple data pipeline that connects the sensor, processing logic, and web interface. Data flows continuously from the physical environment to the user in a clear and modular way.
@ -44,16 +44,16 @@ The web page uses JavaScript to periodically request the JSON file and update th
---
### 🔄 Overall Flow
### Overall Flow
Data is captured by the sensor, processed by the C program, stored as JSON, served by Nginx, and displayed in the browser. This structure keeps the system simple, modular, and easy to maintain.
---
## 🧰 Materials
## Materials
### 🔧 Hardware
### Hardware
* Raspberry Pi 4
* HTU21D sensor
@ -61,7 +61,7 @@ Data is captured by the sensor, processed by the C program, stored as JSON, serv
* MicroSD card with Raspberry Pi OS
* Power supply
### 💻 Software
### Software
* Raspberry Pi OS / Debian
* GCC compiler
@ -72,15 +72,15 @@ Data is captured by the sensor, processed by the C program, stored as JSON, serv
---
## 🔌 Hardware Connections
## Hardware Connections
### 📷 Pin Reference Images
### Pin Reference Images

---
### 📍 Wiring Table
### Wiring Table
| HTU21D | Raspberry Pi 4 |
| ------ | -------------- |
@ -91,9 +91,9 @@ Data is captured by the sensor, processed by the C program, stored as JSON, serv