A C B Merged
A C B Merged
Introduction:
Gas leaks in petroleum refineries pose significant risks, including explosions, fires, and
toxic exposure. These leaks can harm human health, damage the environment, and
disrupt operations. To address these challenges, we developed a mobile robot powered
by Arduino technology, capable of detecting hazardous gases in confined spaces,
ensuring safety and environmental sustainability.
Features:
System Components:
Microcontroller: Arduino Uno for processing sensor data and controlling the
robot’s movement.
Outputs: Includes an LCD for gas level display, a buzzer for alerts, and LEDs for
status indication.
Mobility: Operates using DC motors managed by an L298 motor controller.
Benefits:
Future Enhancements:
This mobile gas detection robot offers a proactive solution for hazardous environments,
combining safety, efficiency, and innovation. It demonstrates the potential of Arduino in
industrial applications, making workplaces safer and more sustainable.
Mobile Hazardous Gas Detection in Confined Spaces Using Arduino
Introduction:
Gas leaks in petroleum refineries are dangerous to health, safety, and the environment.
Gases like Hydrogen Sulfide (H₂S), Methane (CH₂), and Volatile Organic
Compounds (VOCs) can cause fires, explosions, and toxic exposure, while
contributing to air pollution and soil contamination. Our project, a mobile gas detection
car built using Arduino Uno, is designed to monitor and detect such gases in confined
spaces efficiently and sustainably.
Key Features:
Gases Detected:
o Hydrogen Sulfide (H₂S): A highly toxic gas known as the "silent killer."
Collaborative Effort:
Engineering Students:
Conclusion:
This project showcases how engineering and IT expertise can come together to address
critical challenges. By creating an efficient, sustainable, and cost-effective gas
detection car, it lays the groundwork for future innovations in industrial safety and
environmental monitoring. It also inspires a future where cross-disciplinary collaboration
can transform ideas into impactful solutions.
This code is for controlling a robotic car using an Arduino. The code used is C++. It takes
commands from a serial input (like from a computer or smartphone) to move the robot
forward, backward, left, or right. Additionally, it uses sensors to detect certain conditions
and interacts with an LCD screen and a buzzer for feedback.
#include <LiquidCrystal.h>
This line includes the LiquidCrystal library, which is used to control an LCD display.
LiquidCrystal lcd(RS, EN, D4, D5, D6, D7);
This initializes the LCD display, telling the Arduino which pins are connected to the display.
2. Pin Assignments
int IN1=A5; int IN2=A4; int IN3=A3; int IN4=A2;
The buzzer is connected to pin 8, and yellowPin (pin 13) is likely used for a visual indicator
(like a LED).
3. Functions
There are several functions in the code that control different aspects of the robot:
Movement Functions:
o forward(), reverse(), left(), right(): These functions control the direction of the robot.
They manipulate the IN1, IN2, IN3, IN4 pins to make the motors run in different
directions (forward, backward, left, or right) and control the motor speed using EN1
and EN2.
Buzzer Function:
o buzz(): This function makes the buzzer sound at 3000 Hz for 100 milliseconds, then
stops for 100 milliseconds. It’s used to give sound feedback when a condition is met
(e.g., the sensor value is high).
o Continuously checks for input from the serial port (e.g., commands sent from a
computer or phone).
o When certain characters (F, B, R, L) are received, the robot moves in the
corresponding direction (forward, backward, right, or left).
o It also reads the sensor value from pin 0 (which could be a distance sensor or some
other sensor).
o If the sensor value is greater than 400, it lights up the yellow LED (yellowPin) and
triggers the buzzer to give feedback. The LCD screen displays the current sensor
value.
5. Sensor Interaction
sensorValue = analogRead(0);
digitalWrite(13, HIGH);
buzz();
}
else
digitalWrite(13, LOW);
The robot continuously reads the sensor value from an analog sensor connected to pin 0. If
the sensor value is higher than 400, it activates a yellow LED (pin 13) and triggers the
buzzer. Otherwise, the LED turns off.
Summary of Operation:
This code is essentially controlling a robot with a basic sensor, a buzzer for sound feedback, and
an LCD for displaying sensor data. The movement of the robot is controlled by serial input
commands.