list of products from Amazon (Not mine, i just link them!) Scroll Down For Article! Note: Elegoo boards are not Arduino, but they are compatible with Arduino IDE and are mutch more affordable!
Project Description
This project is a smart environmental monitoring and parking system that integrates multiple sensors and components to perform the following tasks:
Environmental Monitoring:
- It uses a DHT11 sensor to measure temperature and humidity in real-time.
- The data is displayed on a 16x2 LCD screen.
Gas Detection:
- A gas sensor is used to detect hazardous gas levels.
- When gas is detected, an alert is triggered via a servo motor, which rotates twice as a warning or an actuator response.
Automated Parking Gate:
- An IR sensor detects the presence of a car in a parking spot.
- When a car is detected, a gate servo motor automatically opens and then closes after 5 seconds.
Real-Time Feedback:
- The system displays parking status, temperature, and humidity on the LCD in real-time.
- The user can visually monitor the system’s status and environmental conditions.
How It Works
System Components:
- DHT11 Sensor: Measures temperature and humidity.
- Gas Sensor: Detects hazardous gases and triggers a servo motor response.
- IR Sensor: Detects the presence of a car in a parking spot and controls the gate servo motor.
- LCD Screen: Displays parking status, temperature, and humidity.
- Servo Motors: Actuate the gate and respond to gas detection.
System Workflow:
Initialization:
- The LCD and sensors are initialized in the
setup()
function. - Interrupts are set up for the gas sensor to handle gas detection events.
- The LCD and sensors are initialized in the
Main Loop:
- The system continuously monitors:
- Gas levels: If gas is detected, a servo rotates twice as a response.
- Parking spot: If a car is detected, the gate servo opens and closes automatically.
- Environmental data: Temperature and humidity are measured and displayed on the LCD.
- The system continuously monitors:
Output:
- Displays parking status (
P:X
for occupied,P:Y
for free), temperature, and humidity on the LCD. - Responds to gas detection with servo motor rotation.
- Displays parking status (
Project Schematic:
Components Connections:
Features
- Automated Parking:
- Detects cars and controls the gate automatically.
- Environmental Monitoring:
- Displays real-time temperature and humidity.
- Gas Safety:
- Alerts the system with a servo response when gas is detected.
- User-Friendly Output:
- Clear LCD output with all necessary information.
Applications
- Smart Parking Lots:
- Automates parking gate operation.
- Industrial Safety:
- Monitors hazardous gas levels and provides alerts.
- Home Automation:
- Tracks environmental conditions for climate control and safety.
list of products from Amazon (Not mine, i just link them!)
Please NOTE that ELEGOO is not Arduino but it is compatible with Arduino IDE, and mutch cheaper!
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
0 Comments