Professional Documents
Culture Documents
Project Title: Designing of Low Power Consumption Dashboard of An Electric Car
Project Title: Designing of Low Power Consumption Dashboard of An Electric Car
PROJECT SUPERVISOR:
DR.USMAN ALI GULZARI
INTRODUCTION
•The last decade electric vehicles have become more and more popular all
over the world, this is due to the fact that its environmental benefits
outweigh the diesel and gas powered vehicles.
A low power consumption dashboard has the capability to not only have
the classic components in a dashboard for example , temperature of
motor and battery , indicators ,headlight and RPM but also be able to
monitor the battery pack (BMS) and alert the driver of any faults[4] .
PROBLEM STATEMENT
Conventional dashboard panels use dedicated
gauges that are fixed and cannot be altered easily
With the current trend of vehicles, dashboards are
becoming more flexible in the sense that it can be
tailor made to the driver’s requirement.
Proposed model
Nextion TFT
Main dashboard user flow
COMPONENTS
Arduino
Resistor
Mosfet
Led
Switch
Lcd
Lm35
CODE
int left_indicator=7;
int right_indicator=6;
int low_beam=5;
int high_beam=4;
int bat_fan=3;
int M_fan=1;
int bat_cut=50;
int v_vat_cut=50;
int c=0;
int rpm=0;
#include <LiquidCrystal.h>
LiquidCrystal lcd(13,12, 11, 10, 9, 8);
void setup()
{
pinMode(left_indicator,OUTPUT);
pinMode(bat_fan,OUTPUT);
pinMode(M_fan,OUTPUT);
pinMode(rite_indicator,OUTPUT);
pinMode(low_beam,OUTPUT);
pinMode(high_beam,OUTPUT);
lcd.begin(16, 4);
lcd.print(" Dash Board ");
digitalWrite(left_indicator,0);
digitalWrite(rite_indicator,0);
digitalWrite(low_beam,0);
digitalWrite(high_beam,0);
lcd.print(" ");
}
void rpm_fun(void)
{
c++;
}
void loop(){
delay(1000);
rpm=c*50;
lcd.setCursor(0, 0);
int T1=analogRead(A0)/2;
int T2=analogRead(A1)/2;
int temp_bat=analogRead(A0)/2;
int temp_MOT=analogRead(A1)/2;
float bat_per=analogRead(A4)/18.6;
lcd.print("BT:");lcd.print(temp_bat);lcd.print("C");
lcd.print(" MT:");lcd.print(temp_MOT);lcd.print("C");
lcd.setCursor(0, 1);
lcd.print("BAT_P");lcd.print( bat_per,2);lcd.print("V ");
lcd.print("");lcd.print(bat_per,0);lcd.print("%");
lcd.setCursor(7, 2);
lcd.print("RPM ");
lcd.print(rpm);
lcd.print("");
if(temp_bat>40)
{digitalWrite(bat_fan,1);
lcd.setCursor(0, 2);
lcd.print("BF ON");
}
else {digitalWrite(bat_fan,0);
lcd.setCursor(0, 2);
lcd.print("BF OF");
if(temp_MOT>40)
{digitalWrite(M_fan,1);
lcd.setCursor(0, 3);
lcd.print("MF ON");
}
else {digitalWrite(M_fan,0);
lcd.setCursor(0, 3);
lcd.print("MF OF");
}
indicator();
head_lite();
}
void head_lite(void)
{
if((analogRead(A3)>120)&(analogRead(A3)<600))
{
digitalWrite(high_beam,1);
digitalWrite(low_beam,0);
}
else if((analogRead(A3)>600))
{
digitalWrite(high_beam,0);
digitalWrite(low_beam,1);
}
else{
digitalWrite(high_beam,0);
digitalWrite(low_beam,0);
}
}
void indicator(void)
{
if((analogRead(A2)>600)){
digitalWrite(left_indicator,0); digitalWrite(rite_indicator,1);
delay(1000);
digitalWrite(left_indicator,0); digitalWrite(rite_indicator,0);
delay(1000);
}
if((analogRead(A2)<100)){
digitalWrite(left_indicator,1); digitalWrite(rite_indicator,0);
delay(1000);
digitalWrite(left_indicator,0); digitalWrite(rite_indicator,0);
delay(1000);
}
}
SIMULATION
SIMULATION VIDEO
TIMELINE
REFRENCES
https://www.hindawi.com/journals/mpe/2015/79
4395/
https://www.researchgate.net/publication/28395
4284_System_Design_and_Implementation_of_
Smart_Dashboard_for_Electric_Vehicles
https://ieeexplore.ieee.org/document/7496651
http://circuits-diy.com/automatic-car-headlights-
with-transistors/
https://
components101.com/lm35-temperature-sensor
https://
www.team-bhp.com/forum/diy-do-yourself/149
THANKYOU