# 🍄 Smart Mushroom Farming System
An IoT-based smart mushroom cultivation system that automatically monitors and controls environmental conditions to optimize mushroom growth. The project uses ESP32, Raspberry Pi, sensors, actuators, and a web dashboard to provide real-time monitoring, automation, and remote management.
---
## đź“– Project Overview
Mushroom cultivation requires precise environmental conditions such as temperature, humidity, carbon dioxide concentration, and lighting. Manual monitoring is time-consuming and can lead to inconsistent yields.
The Smart Mushroom Farming System automates these processes by continuously monitoring the growing environment and controlling the necessary equipment to maintain ideal conditions for healthy mushroom production.
---
## 🎯 Objectives
- Monitor environmental conditions in real time
- Automatically regulate mushroom growing conditions
- Reduce manual labour
- Improve mushroom yield and quality
- Enable remote monitoring through an IoT dashboard
- Store environmental data for analysis and future prediction
---
# 🏗️ System Architecture
```
+----------------+
| Web Dashboard |
+-------+--------+
|
Wi-Fi/Internet
|
+-------+--------+
| Raspberry Pi |
| Data Server |
+-------+--------+
|
MQTT / HTTP
|
+-------+--------+
| ESP32 |
+-------+--------+
|
---------------------------------------
| | | | |
DHT22 LDR COâ‚‚ Soil Water
Temperature Light Sensor Moisture Level
Humidity
|
Relay Module
|
--------------------------------------------
| | | | |
Fan Heater Humidifier Lights Water Pump
```
---
# đź§° Hardware Components
## Microcontroller
- ESP32 Development Board
## Edge Computing
- Raspberry Pi 4
## Sensors
- DHT22 Temperature & Humidity Sensor
- LDR Light Sensor
- COâ‚‚ Sensor
- Water Level Sensor
- Soil Moisture Sensor (optional)
## Actuators
- Exhaust Fan
- Humidifier
- Heater
- LED Grow L …