Introduction
Now days electrical automobiles has elevated over the previous decade as shoppers demand extra eco-friendly options to fight local weather change. Not too long ago A few of Electrical bike caught fireplace as a consequence of failure of battery Administration system, dangerous battery design. Because of Absence of Thermal Administration system Notification Alert (Battery Temperature) among the individuals’s has misplaced their life. Sadly, this characteristic just isn’t out there in many of the present Electrical Vechiles.so right here the venture is to Monitor the Battery Temperature & Smoke Detection to Alert the Electrical Car person’s through Sensible cellphone Notification, Alarm the Buzzer and likewise to Auto Minimize off the Electrical Car to Keep away from Additional Damages.
Working Precept
Lithium ion Battery has a specified allowed operational Temperature of -20 ‘C to +60 C, it is going to present the longest service life if temperatures are stored inside roughly 10 C to 40 C always. This method is powered by 12V Transportable Battery and it’s regulated into 5V and P3V3 energy sources. Temperature sensor (DS18B20), Smoke Sensor (MQ135), SPDT Swap & Potentiometer are inputs to ESP32 Controller. I2C 16×2 LCD Show, Buzzer, Relay & Arduino Blue Management Utility are outputs of ESP32 Controller. A SPDT S1-switch is positioned within the system for mode choice to show the present temperature or to configure the edge temperature with the assistance of potentiometer.ESP32 monitoring the Temperature & Smoke Detection inputs for each milliseconds, the identical factor must be displayed in LCD Show and likewise in good Cellphone through Bluetooth Arduino Blue Management Utility. When Using or charging Electrical automobile, If the battery temperature exit above threshold worth of 40 °C or Detecting Smoke from the Battery unit means ESP32 Controller will alert the Electrical automobile person through Output Buzzer, Offering Alarm Notification to Sensible Cellphone and likewise Minimize-off the Electrical Car energy from battery with the Assist of Relay Module.
Block Diagram
Schematic Diagram:
BOM Record
- U1- ESP32 (Growth Board)
- U2- DS18B20 (Temperature Sensor)
- U3- MQ135 (Smoke Sensor)
- U4- RG1602A (I2C 16X2 LCD Show)
- U5- LM7805 (Regulator)
- R1-10K (POT)
- R2 & R3 -1K (1/4 Watt)
- D1 & D2- 1N4007 (Diode)
- C1 & C2- 100nF (Capacitor)
- SU1- 10V Buzzer
- RL1- GU-SH112D (Excessive Energy Switching Relay)
- Q1 & Q2- BC547 (Transistor)
- S1- SPST Swap
- BT1-12V Lithium ion Battery
- BT2-60V/40A/2.4KW Electrical Car Battery
- Sensible Cell
- Arduino Blue Management App
- IDE Arduino Software program
Program Coding’s
#embody <OneWire.h>
#embody <DallasTemperature.h>
#embody <LiquidCrystal_I2C.h>
#embody “BluetoothSerial.h”
#if !outlined(CONFIG_BT_ENABLED) || !outlined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth just isn’t enabled! Please run `make menuconfig` to and allow it
#endif
BluetoothSerial SerialBT;
String message = “”;
char incomingChar;
String temperatureString = “”;
String humidityString = “”;
#outline ADC_VREF_mV 4755.0
#outline ADC_RESOLUTION 4096.0
#outline MQ135 39
#outline TEMP_REF 34
const int oneWireBus = 4;
LiquidCrystal_I2C liquid crystal display(0x27, 16, 2);
const int SW = 19;
const int BUZZAR = 17;
const int EV_ECU = 5;
const float threshold2=400.00;
OneWire oneWire(oneWireBus);
DallasTemperature sensors(&oneWire);
void setup() {
liquid crystal display.init();
liquid crystal display.backlight();
Serial.start(115200);
SerialBT.start(“ESP32”);
Serial.println(“Begin pairing!”);
pinMode(SW, INPUT);
pinMode(BUZZAR, OUTPUT);
pinMode(EV_ECU, OUTPUT);
sensors.start();
}
void loop() {
if (digitalRead(SW) == HIGH){
int adcVal2= analogRead(TEMP_REF);
float milliVolt2 = adcVal2 * (ADC_VREF_mV / ADC_RESOLUTION);
float temp_r = milliVolt2 / 8.5;
liquid crystal display.clear();
liquid crystal display.setCursor(0, 0);
liquid crystal display.print(“REF_TEMP:”);
liquid crystal display.print(temp_r);
liquid crystal display.print(“C”);
SerialBT.println(“Alarm_Temp_REF”);
SerialBT.println(temp_r);
delay(500);
}
else if (digitalRead(SW) == LOW)
{
int adcVal1= analogRead(MQ135);
int adcVal3 = analogRead(TEMP_REF);
float milliVolt3 = adcVal3 * (ADC_VREF_mV / ADC_RESOLUTION);
float temp_rr = milliVolt3 / 8.5;
float milliVolt1 = adcVal1 * (ADC_VREF_mV / ADC_RESOLUTION);
float AIR_PPM = milliVolt1 / 1;
sensors.requestTemperatures();
int temperatureD = sensors.getTempCByIndex(0);
float temperatureC = sensors.getTempCByIndex(0);
float temperatureF = sensors.getTempFByIndex(0);
SerialBT.println(temperatureD);
if(temperatureC>temp_rr)
{
SerialBT.println(“Temperature_Alarm”);
liquid crystal display.clear();
liquid crystal display.setCursor(0, 0);
liquid crystal display.print(“Temperature_Alarm”);
digitalWrite(BUZZAR, HIGH);
digitalWrite(EV_ECU, HIGH);
delay(60000);
}
else if(temperatureC<temp_rr)
{
SerialBT.println(temperatureD);
liquid crystal display.clear();
liquid crystal display.setCursor(0, 0);
liquid crystal display.print(“T:”);
liquid crystal display.print(temperatureC);
liquid crystal display.print(“C”);
liquid crystal display.setCursor(0, 1);
liquid crystal display.print(“Air:”);
liquid crystal display.print(AIR_PPM);
liquid crystal display.print(“PPM”);
digitalWrite(BUZZAR, LOW);
digitalWrite(EV_ECU, LOW);
}
else if(AIR_PPM>threshold2)
{
SerialBT.println(“Smoke_Alarm”);
liquid crystal display.setCursor(0, 0);
liquid crystal display.print(“Smoke_Alarm”);
digitalWrite(BUZZAR, HIGH);
digitalWrite(EV_ECU, HIGH);
delay(60000);
}
}
}
Conclusion
Electrical Car sudden Battery Fireplace Accident trigger lack of human life, Damaging of Electrical automobiles occurs when Electrical Car person usually are not alerted instantly. When this downside is analysed and instant alert might be despatched to Electrical Car person’s it will assist in avoiding lack of human life and Electrical automobile damages. The aims and the factors that we achieved as a result of developed system are proven under
- Monitoring the Battery Temperature and smoke to alerting person through buzzer and good cellphone notification on a regular basis.
- Auto cut-off the battery energy from the Electrical Car to keep away from additional damages.
Sensible Cellphone Interface Setup
Each E.Venkatesan and M.Dinesh working as Product Utility Crew Lead in Qmax take a look at Tools’s Pvt Ltd Has been within the areas of IoT, BMS, wi-fi applied sciences & Embedded methods.