Department of Mechanical Engineering
ABES Engineering College
(Group No: 01 )
1. Project Identification
1.1 Project title GAS, TEMPRATURE AND HUMIDITY DETECTION AND
LIVE MONITORING
1.2 Group members
SN Student Name Roll No
Shubhangi Singh 2200320400041
Jatin Kumar Singh 2200320400020
Khushi Soni 2200320400026
Gauri Shukla 2200320400014
1.3 Supervisor
Name: Chetan Rajoria
Designation: Assistant Professor
Department: Mechanical Engineering
1.4 CERTIFICATE
“This is to certify that the Third year project title as stated in Sec. 1.1
proposed by student’s group mentioned in Sec. 1.2, has been found
Industry/ Software / Product( ) / Research / innovative (for patent)
(please tick appropriate) based and every section of this report is reflecting
the same.”
(Signature of supervisor
& date)
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:1
2. Project insights
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:2
2.1 Thematic Research S/W Development Industry Automation
area(s) Institute Automation Social Benefits Defense Sector
Other (please specify):
2.2 Keywords
(Max. 3 to 6. Don’t use jargon
or abbreviation)
Temperature Monitoring
Gas Detection
Humidity Measurement
Microcontroller Integration
Real-Time Display
Alert Notification
2.3 Utilization
scope Innovative Commercial Industrial Research
Patentable Other (please specify):
2.4 Execution
Plan/ Timeline
The gas detection and temperature measurement device project was
executed over six weeks with a systematic approach:
Week 1: Research and Planning
Identified the need for a device capable of detecting gas and
measuring temperature.
Decided on using the ESP8266 microcontroller for processing
and Blynk for monitoring data.
Week 2: Component Procurement
Procured sensors, microcontroller, resistors, and LCD display.
Reviewed the connections required for integrating components.
Week 3: Circuit Design
Designed the circuit diagram for sensor integration with the
microcontroller and LCD.
Ensured functionality by verifying component compatibility.
Week 4: Circuit Assembly
Assembled components on a breadboard.
Connected the sensors to the ESP8266 and set up the LCD for
data display.
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:3
Week 5: Programming and Testing
Wrote and uploaded code to the ESP8266 for data reading.
Configured Blynk for remote monitoring of gas levels and
temperature.
Tested the device in controlled conditions to ensure accuracy.
Week 6: Final Testing and Documentation
Conducted tests in various environments to confirm reliable
readings.
Documented project details, results, and challenges for the final
report.
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:4
2.5 S/W tools,
H/W, 2.1 Software Tools
Simulation
Interface Used 1. Arduino IDE
(Software piracy is strictly o Used for programming the ESP8266 microcontroller and
prohibited)
uploading the code.
2. Blynk
o For circuit simulation and validation before hardware
assembly.
2.2 Hardware Components
1. Microcontroller
o ESP8266: For processing data from sensors.
2. Sensors
o MQ135: Gas sensor for detecting air pollutants.
o DHT11: Sensor for measuring temperature and humidity.
3. Display
o 12x6 LCD for displaying AQI readings.
4. Power Supply
o 5V power supply or USB connection for powering the
circuit.
5. Miscellaneous Components
o Breadboard, jumper wires, resistors, and potentiometers
for circuit connections.
2.3 Simulation Interface
Blynk Simulated the circuit design to ensure functionality before
hardware implementation.
3. Objective/ Scope
The primary objective of this project is to design and develop a low-cost vehicle safety system
that detects fire hazards through smoke and temperature monitoring. The system aims to:
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:5
1. Measure key safety parameters such as smoke and temperature levels within the
vehicle.
2. Provide real-time alerts through notifications when abnormal conditions (such as smoke
or high temperature) are detected.
3. Serve as a compact, easy-to-use solution for monitoring vehicle safety.
3.1.1.1 Scope
1. Affordability: The project focuses on using cost-effective components to make the
system accessible for personal vehicle safety, ensuring it remains affordable for a wide
range of users.
2. Functionality: The system is capable of detecting smoke and abnormal temperature
levels, displaying real-time readings and sending notifications to a mobile device for
timely intervention.
3. Applications:
o Vehicle safety: The system will enhance vehicle safety by detecting potential
fire hazards and sending alerts to the vehicle owner.
o Personal use: It can be installed in personal vehicles, improving safety and
preventing potential fire-related damage.
4. Scalability: While the current project focuses on basic smoke and temperature
detection, future upgrades may include advanced features such as data logging, IoT
integration, and mobile app connectivity, further expanding the system's capabilities for
more comprehensive safety measures.
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:6
4. Introduction
4.1 Fire Hazards in Vehicles and the Need for Early Detection
Fire hazards in vehicles are a growing concern, with severe consequences for both human health
and property. Monitoring the environment inside vehicles is crucial to detecting potential fire
risks early and taking necessary precautions. A fire detection system that monitors smoke and
temperature levels offers a simple and effective solution, enabling quick action in case of an
emergency.
This project aims to develop a compact and affordable vehicle safety system that detects smoke
and abnormal temperature levels in real time. By leveraging sensors such as the MQ135 for
smoke detection and the DHT11 for temperature measurement, the system provides an early
warning to vehicle owners, notifying them via a mobile device in case of any detected fire risks.
The system uses basic hardware components and simple programming, ensuring ease of
implementation and accessibility for a wide range of users. Its real-time monitoring helps raise
awareness about potential fire hazards, enhancing vehicle safety and promoting a quicker
response time to emergencies.
This project also serves as a foundation for future advancements, with potential features like data
logging, IoT integration, and smartphone connectivity, expanding the application of the system to
more extensive safety solutions.
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:7
5. Methodology
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:8
The development of the gas detection and temperature measurement device
followed a systematic approach to ensure accurate and reliable
functionality:
Step 1: Problem Identification
Identified the need for a cost-effective, user-friendly device to monitor gas levels and
temperature in real-time.
Step 2: Component Selection
Selected key components based on functionality and affordability:
o Microcontroller: ESP8266 for processing sensor data and enabling remote
monitoring.
o Sensors:
MQI135: Gas sensor for detecting pollutants.
DHT11: Sensor for measuring temperature.
o Display: 16x2 LCD for real-time data display.
Step 3: Circuit Design and Assembly
Designed the circuit to integrate the sensors, ESP8266 microcontroller, and LCD display.
Assembled the circuit on a breadboard using jumper wires, resistors, and other basic
components.
Step 4: Software Development
Wrote and uploaded code to the ESP8266 using Arduino IDE.
Configured Blynk for remote monitoring of gas and temperature readings.
Step 5: Calibration and Testing
Calibrated the MQI135 and DHT11 sensors to ensure accurate readings.
Tested the device in various environments to validate performance and reliability.
Step 6: Final Assembly and Documentation
Finalized the circuit assembly and ensured stable operation.
Documented the project, including the design process, testing results, and conclusions.
6. Model / Circuit Layout
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:9
Setup Components:
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:10
Place the ESP8266 microcontroller (or Arduino Uno).
Connect the MQI135 sensor to an analog pin.
Connect the DHT11 sensor to a digital pin.
Connect the LCD display using an I2C module.
Upload the Code:
Copy the code into the Tinkercad coding editor.
Simulate the circuit to see real-time values displayed on the LCD.
6. Future Scope
The AQI device has significant potential for further development and broader applications. The
following enhancements and features can be explored in the future:
1. IoT Integration
o Connect the device to the internet for real-time data sharing.
o Develop a mobile or web-based application to monitor air quality remotely.
2. Data Logging and Analysis
o Incorporate memory storage to record air quality data over time.
o Enable trend analysis for better understanding and decision-making.
3. Expanded Sensor Suite
o Include additional sensors to measure specific pollutants like NO2, SO2, and
ozone.
o Add sensors for temperature and humidity to provide a more comprehensive
environmental profile.
4. Portable Design
o Optimize the device's size and power consumption to make it portable and battery-
operated.
o Design a user-friendly casing for protection and durability.
5. Advanced Display Options
o Upgrade from LCD or smartphone displays for better visualization.
o Implement color-coded indicators to make AQI interpretation easier.
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:11
6. Commercial and Industrial Applications
o Scale the device for larger environments such as factories, offices, and public
spaces.
o Integrate it with HVAC systems for automated air quality management.
7. Public Awareness Initiatives
o Use the device as an educational tool in schools and communities to raise
awareness about air pollution.
o Develop cost-effective versions for wider adoption in low-income regions.
By incorporating these features, the AQI device can become a versatile tool for environmental
monitoring, research, and public health improvement.
7. Circuit Code, Web/ App Link
#define BLYNK_TEMPLATE_ID "TMPL3iLiEuBmt"
#define BLYNK_TEMPLATE_NAME "Gas Detection"
#define BLYNK_AUTH_TOKEN "6lW1vRiLRb3AiOmUKgimF3IoaObqWthl"
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <DHT.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
byte degree_symbol[8] =
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:12
{
0b00111,
0b00101,
0b00111,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000
};
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "realme 8"; // type your wifi name
char pass[] = "11111111"; // type your wifi password
BlynkTimer timer;
int gas = A0;
int sensorThreshold = 100;
#define DHTPIN 2 //Connect Out pin to D4 in NODE MCU
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void sendSensor()
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:13
{
float h = dht.readHumidity();
float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit
if (isnan(h) || isnan(t)) {
Serial.println("Failed to read from DHT sensor!");
return;
int analogSensor = analogRead(gas);
Blynk.virtualWrite(V2, analogSensor);
Serial.print("Gas Value: ");
Serial.println(analogSensor);
// You can send any value at any time.
// Please don't send more that 10 values per second.
Blynk.virtualWrite(V0, t);
Blynk.virtualWrite(V1, h);
Serial.print("Temperature : ");
Serial.print(t);
Serial.print(" Humidity : ");
Serial.println(h);
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:14
void setup()
Serial.begin(115200);
pinMode(gas, INPUT);
Blynk.begin(auth, ssid, pass);
dht.begin();
timer.setInterval(30000L, sendSensor);
Wire.begin();
lcd.begin(16,2);
lcd.backlight();
lcd.clear();
lcd.setCursor(3,0);
lcd.print("Air Quality");
lcd.setCursor(3,1);
lcd.print("Monitoring");
delay(2000);
lcd.clear();
void loop()
Blynk.run();
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:15
timer.run();
float h = dht.readHumidity();
float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit
int gasValue = analogRead(gas);
lcd.setCursor(0,0);
lcd.print("Temperature ");
lcd.setCursor(0,1);
lcd.print(t);
lcd.setCursor(6,1);
lcd.write(1);
lcd.createChar(1, degree_symbol);
lcd.setCursor(7,1);
lcd.print("C");
delay(4000);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Humidity ");
lcd.print(h);
lcd.print("%");
delay(4000);
lcd.clear();
lcd.setCursor(0,0);
lcd.print(gasValue);
lcd.clear();
if(gasValue<200)
lcd.setCursor(0,0);
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:16
lcd.print("Gas Value: ");
lcd.print(gasValue);
lcd.setCursor(0, 1);
lcd.print("Fresh Air");
Serial.println("Fresh Air");
delay(4000);
lcd.clear();
else if(gasValue>200)
lcd.setCursor(0,0);
lcd.print(gasValue);
lcd.setCursor(0, 1);
lcd.print("Bad Air");
Serial.println("Bad Air");
delay(4000);
lcd.clear();
if(gasValue > 200){
Blynk.notify("Sensor value is out of range!");
Blynk.logEvent("pollution_alert","Bad Air");
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:17
8. Reference
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:18
Style “Harvard -citation” should be followed for giving references of books, research papers, reviews, online resources,
databases, software manuals, figures and anything else cited in this report.
Books, E-Books and Book Chapters:
[2] Connell, R 2009, Gender, Polity Press, Cambridge.
[3] Campbell, E, Fox, R & de Zwart, M 2010, Students’ guide to legal writing, law exams and self assessment,
3rd edn, Federation Press, Sydney.
[4] Warner, R 2010, 'Giving feedback on assignment writing to international students - the integration of voice
and writing tools', in WM Chan, KN Chin, M Nagami & T Suthiwan (eds), Media in foreign language teaching
and learning, De Gruyter, Boston, pp. 355-382.
Conference Publications:
[5] Crisp, G, Hillier, M & Joarder, S 2010, ‘Assessing students in Second Life – some options’, in CH Steel,
MJ Keppell, P Gerbic, & S Housego (eds), Curriculum, technology & transformation for an unknown future.
Proceedings of the 27th Annual ASCILITE Conference: Curriculum, technology and transformation for an
unknown future, Sydney, pp. 256–261, viewed 15 July 2011,
Newspaper or magazine article:
[6] Evening Express 2014, ‘Firearms officer drove at 60mph on wrong side of road in Aberdeen’, Evening
Express, 22 May, p. 12, viewed 18 April 2017,
For more details visit following link
Harvard Referencing Style –
Department of Mechanical Engineering, ABES Engineering College, Ghaziabad Page:19
Department of ECE- ABES Engineering College, Ghaziabad, Page:6