Project Overview: Smart Environmental Monitoring & Parking System
This smart environmental monitoring and automated parking system integrates multiple sensors and technologies to offer a highly efficient and user-friendly experience. The system performs essential tasks, including:
-
Environmental Monitoring:
- DHT11 Sensor: Measures temperature and humidity in real-time, providing valuable environmental data.
- 16x2 LCD Display: Shows the current temperature, humidity levels, and parking status for easy monitoring.
-
Gas Detection:
- Gas Sensor: Detects hazardous gases in the vicinity, triggering an alert.
- Servo Motor Activation: When dangerous gases are detected, the system activates a servo motor to rotate twice as a visual warning.
-
Automated Parking Gate:
- IR Sensor: Detects the presence of a car in a parking spot.
- Gate Servo Motor: The system automatically opens and closes the parking gate when a car is detected, ensuring a smooth parking experience.
-
Real-Time Feedback:
- Displays real-time parking spot status, temperature, and humidity on the LCD screen, allowing users to monitor the system’s environment and parking conditions visually.
How the System Works
-
Key Components:
- DHT11 Sensor: Collects temperature and humidity data for environmental monitoring.
- Gas Sensor: Detects hazardous gases and activates the servo motor to alert users.
- IR Sensor: Detects vehicles in parking spots and controls the gate.
- 16x2 LCD Display: Provides live data updates, such as parking spot status, temperature, and humidity.
- Servo Motors: Control the gate’s movement and trigger a response when gases are detected.
-
System Workflow:
-
Initialization:
- The system initializes all sensors and the LCD display in the
setup()
function. - Gas detection interrupts are set up to handle real-time responses to hazardous gas levels.
- The system initializes all sensors and the LCD display in the
-
Main Loop:
- Continuously monitors:
- Gas Levels: If dangerous gas concentrations are detected, the servo motor rotates twice as a warning signal.
- Parking Spot Availability: The system detects car presence and opens/closes the gate accordingly.
- Environmental Data: The system tracks temperature and humidity and displays this information on the LCD screen.
-
System Output:
- The LCD displays the status of parking spots (
P:X
for occupied,P:Y
for available), current temperature, and humidity. - A servo motor is activated in response to detected gases for safety.
- The LCD displays the status of parking spots (
-
0 Comments