Wednesday

FYP2 WEEK 11

Title: Final briefing of FYP 2


Objective
  • to be brief on the project demonstration
  • to be brief on the full report compilation

Activity:

In this briefing, student briefed on the objective stated earlier. The talk focusing on how students need to professionally present and demonstrate their prototype during the Industrial day. Few tips are given which are dressing code, training to talk in front of mirror and etc. Apart from that, students are also briefed on how to complete their full report of their FYP 2. Some tips are also given and the template of the report are given via link from the fyp website. The template given are used to print the report in hardcover. Students are required to follow exactly to the template in order to avoid any error in the formatting and others problem.

After the briefing, students are dismissed. The student continues to preparing and testing their prototype for the industry day ahead.


Wednesday

FYP2 WEEK 9

 Activity: Complete the coding for FYP 2

Objective: 

  • To complete the DHT22 coding for the project
  • To test the coding and troubleshoot the program if there is any problem

#include <Wire.h>
#include "DHT.h"
#include <LiquidCrystal_I2C.h>

#define DHTPIN 12
#define DHTTYPE DHT22

LiquidCrystal_I2C lcd (0x27, 20, 4);      //I2C address 0x27, 20 column and 4 row
DHT dht(DHTPIN,DHTTYPE);

int temp_sensor_pin = A0;                 //The output pin of LM35
int ref_pin = A1;
int fan_pin = 9;
int waterpump_pin = 10; 
int heater_pin = 5;
int red_led = 6;
int green_led = 7;
int blue_led = 8;
int buzzer_pin = 11;
int fan_speed;
int ref_value_min = 0;
int ref_value_max = 50;
int max_temp_limit;
int min_temp_limit;


void setup ()
{
  Serial.begin(9600);
  dht.begin();
  lcd.init();
  lcd.backlight();
  lcd.setCursor(6,0);
  lcd.print("AUTOMATIC");
  lcd.setCursor(0,1);
  lcd.print("COOLING ROOF SYSTEM");
  lcd.setCursor(10,2);
  lcd.print("BY");
  lcd.setCursor(8,3);
  lcd.print("EIZLAN");
  delay(1500);
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("Ref.Temp:");
  lcd.setCursor(0,1);
  lcd.print("Cur.Temp:");
  pinMode(red_led,OUTPUT);
  pinMode(green_led,OUTPUT);
  pinMode(blue_led,OUTPUT);
  analogWrite(fan_pin, fan_speed);
  analogWrite(waterpump_pin, fan_speed);
}

void loop()
{
  int ref_value;
  float temperature = dht.readTemperature();
  ref_value = analogRead(ref_pin);
  ref_value = map(ref_value, 0, 1023, 0, 100);
  max_temp_limit = ref_value+5;
  min_temp_limit = ref_value-5;
  lcd.setCursor(10,0);
  lcd.print(ref_value);                             //Print refference temperature
  lcd.print(" ");
  lcd.print((char)223);   
  lcd.print("C");
  lcd.setCursor(10,1);
  lcd.print(temperature);                           //Print temperature
  lcd.print(" ");
  lcd.print((char)223);
  lcd.print("C");
  Serial.print("Temperature: ");
  Serial.println(temperature);
  if (temperature > max_temp_limit)
  {
    lcd.setCursor(0,2);
    lcd.print("HIGH TEMPERATURE");
    lcd.setCursor(0,3);
    lcd.print("FAN & WP TURN ON");

    if(fan_speed<150) fan_speed +=20;
    analogWrite(fan_pin, fan_speed);
    analogWrite(waterpump_pin, fan_speed);
    digitalWrite(heater_pin, LOW);
    digitalWrite(red_led,HIGH);
    delay(100);
    digitalWrite(red_led,LOW);
    digitalWrite(green_led,LOW);
    digitalWrite(blue_led,LOW);
    tone(buzzer_pin,1245,1000);
  }

  else if (temperature < min_temp_limit)
  {
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Ref.Temp:");
    lcd.setCursor(0,1);
    lcd.print("Cur.Temp:");
    lcd.setCursor(10,0);
    lcd.print(ref_value);                             //Print refference temperature
    lcd.print(" ");
    lcd.print((char)223);   
    lcd.print("C");
    lcd.setCursor(10,1);
    lcd.print(temperature);                           //Print temperature
    lcd.print(" ");
    lcd.print((char)223);
    lcd.print("C");

    lcd.setCursor(0,2);
    lcd.print("LOW TEMPERATURE");
    lcd.setCursor(0,3);
    lcd.print("HEATER TURN ON");

   if(fan_speed<150) fan_speed +=20;
    digitalWrite(fan_pin, LOW);
    digitalWrite(waterpump_pin, LOW);
    analogWrite(heater_pin, fan_speed);
    digitalWrite(red_led,LOW);
    digitalWrite(green_led,LOW);
    digitalWrite(blue_led,HIGH);
  }

  else if((temperature <max_temp_limit) && (temperature > min_temp_limit))
  {
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Ref.Temp:");
    lcd.setCursor(0,1);
    lcd.print("Cur.Temp:");
    lcd.setCursor(10,0);
    lcd.print(ref_value);                             //Print refference temperature
    lcd.print(" ");
    lcd.print((char)223);   
    lcd.print("C");
    lcd.setCursor(10,1);
    lcd.print(temperature);                           //Print temperature
    lcd.print(" ");
    lcd.print((char)223);
    lcd.print("C");

    lcd.setCursor(0,2);
    lcd.print("TEMPERATURE IS");
    lcd.setCursor(0,3);
    lcd.print("WITHIN LIMIT");
    
    if(fan_speed<150) fan_speed +=20;
    analogWrite(fan_pin, fan_speed); 
    digitalWrite(waterpump_pin, LOW);
    digitalWrite(heater_pin, LOW);
    digitalWrite(red_led,LOW);
    digitalWrite(green_led,HIGH);
    digitalWrite(blue_led,LOW);
    }
  delay(1000);                            //1s delay 
}

FYP2 WEEK 8

 Activity: Testing the voltage for the fan, LM35 and DHT22

Objective:

  • To test the voltage for the output devices and the temperature sensor.
For this testing, I want to see if the output devices and both the temperature sensor have the required voltage.




Type

Input Voltage

LM35

4 V

DHT22

4 V

Fan

5V



Tuesday

FYP2 WEEK 7

ActivityConstruct the circuit on Breadboard and testing

Objective:

·                     To construct the circuit

·                     To testing the circuit operation.

 

In this week, the student starts to construct the circuit on the breadboard.

 

Conclusion:

This can conclude the activity above has done the experiment on the circuit, but the circuit constructed were not operated perfectly 

Wednesday

FYP2 WEEK 6

Activity: Complete the coding for FYP 2

Objective: 

  • To complete the LM35 coding for the project
  • To test the coding and troubleshoot the program if there is any problem

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd (0x27,20,4);      //I2C address 0x27, 20 column and 4 row
int temp_sensor_pin = A0;                 //The output pin of LM35
int ref_pin = A1;
int fan_pin = 9;
int waterpump_pin = 10; 
int heater_pin = 5;
int red_led = 6;
int green_led = 7;
int blue_led = 8;
int buzzer_pin = 11;
int fan_speed;
int temperature;
int ref_value_min = 0;
int ref_value_max = 50;
int max_temp_limit;
int min_temp_limit;

void setup ()
{
  Serial.begin(9600);
  lcd.init();
  lcd.backlight();
  lcd.setCursor(6,0);
  lcd.print("AUTOMATIC");
  lcd.setCursor(0,1);
  lcd.print("COOLING ROOF SYSTEM");
  lcd.setCursor(10,2);
  lcd.print("BY");
  lcd.setCursor(8,3);
  lcd.print("EIZLAN");
  delay(1500);
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("Ref.Temp:");
  lcd.setCursor(0,1);
  lcd.print("Cur.Temp:");
  pinMode(red_led,OUTPUT);
  pinMode(green_led,OUTPUT);
  pinMode(blue_led,OUTPUT);
  analogWrite(fan_pin, fan_speed);
  analogWrite(waterpump_pin, fan_speed);
}

void loop()
{
  int sensor_value;
  int ref_value;

  sensor_value = analogRead(temp_sensor_pin);       //Get the sensor reading
  ref_value = analogRead(ref_pin);
  ref_value = map(ref_value, 0, 1023, 0, 100);
  temperature = sensor_value * 0.48828125;
  max_temp_limit = ref_value+5;
  min_temp_limit = ref_value-5;
  lcd.setCursor(10,0);
  lcd.print(ref_value);                             //Print refference temperature
  lcd.print("C");
  lcd.setCursor(10,1);
  lcd.print(temperature);                           //Print temperature
  Serial.print("Temperature: ");
  Serial.println(temperature);
  lcd.print("C");

  if (temperature > max_temp_limit)
  {
    lcd.setCursor(0,2);
    lcd.print("HIGH TEMPERATURE");
    lcd.setCursor(0,3);
    lcd.print("FAN & WP TURN ON");

    if(fan_speed<150) fan_speed +=20;
    analogWrite(fan_pin, fan_speed);
    analogWrite(waterpump_pin, fan_speed);
    digitalWrite(heater_pin, LOW);
    digitalWrite(red_led,HIGH);
    digitalWrite(red_led,LOW);
    digitalWrite(green_led,LOW);
    digitalWrite(blue_led,LOW);
    tone(buzzer_pin,1245,1000);
  }

  else if (temperature < min_temp_limit)
  {
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Ref.Temp:");
    lcd.setCursor(0,1);
    lcd.print("Cur.Temp:");
    lcd.setCursor(10,0);
    lcd.print(ref_value);                             //Print refference temperature
    lcd.print("C");
    lcd.setCursor(10,1);
    lcd.print(temperature);                           //Print temperature
    lcd.print("C");

    lcd.setCursor(0,2);
    lcd.print("LOW TEMPERATURE");
    lcd.setCursor(0,3);
    lcd.print("HEATER TURN ON");
    
    if(fan_speed<150) fan_speed +=20;
    digitalWrite(fan_pin, LOW);
    digitalWrite(waterpump_pin, LOW);
    analogWrite(heater_pin, fan_speed);
    digitalWrite(red_led,LOW);
    digitalWrite(green_led,LOW);
    digitalWrite(blue_led,HIGH);
  }

  else if((temperature <max_temp_limit) && (temperature > min_temp_limit))
  {
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Ref.Temp:");
    lcd.setCursor(0,1);
    lcd.print("Cur.Temp:");
    lcd.setCursor(10,0);
    lcd.print(ref_value);                             //Print refference temperature
    lcd.print("C");
    lcd.setCursor(10,1);
    lcd.print(temperature);                           //Print temperature
    lcd.print("C");

    lcd.setCursor(0,2);
    lcd.print("TEMPERATURE IS");
    lcd.setCursor(0,3);
    lcd.print("WITHIN LIMIT");
    
    if(fan_speed<150) fan_speed +=20;
    analogWrite(fan_pin, fan_speed); 
    digitalWrite(waterpump_pin, LOW);
    digitalWrite(heater_pin, LOW);
    digitalWrite(red_led,LOW);
    digitalWrite(green_led,HIGH);
    digitalWrite(blue_led,LOW);
    }
  delay(1000);                            //1s delay 
}

FYP2 WEEK 5

 Activity: START BUYING THE COMPONENT

Objective: Starting this week, the student already listed the component that needs to buy. For most of the component such as resistor, transistor, potentiometer etc. I bought from Shoppe. The component will take some time to be delivered. For the time being, I completed my full circuit diagram for the simulation.






Thursday

FYP2 WEEK 4

 Activity: UPDATE THE BLOCK DIAGRAM

Objective
To identify the overall system of the prototype.

The temperature sensor will be the main input for my project. The temperature sensor will read the ambient temperature and the temperature will be shown on the LCD 20x4. The Arduino Uno R3 then processed the analog input signal converted into a digital output. The main output for this project would be the fan, the water pump, and the heater. The sprinkler system is basically a water distribution piping where it enables the water to flow to the roof top.

Wednesday

FYP 2 WEEK 3

ActivityFIRST FYP 2 BRIEFING

Objective:

To be brief about FYP handbook, Project Development, Progress Report, Final Report, Attendance, Assessment forms.

  1. Students need to update the logbook/blog regularly
  2. The student must meet supervisor for consultation
  3. Attendance that below than 80% will be bared.
  4. Fyp assessment:

·                     Progress report (logbook/blog) - 20%

·                     Presentation                             - 40%

·                     Final Year Project Report         - 40%

*Presentation Day

Presentation and demonstration of Final Year Project 2 will be in week 17, Wednesday (JUNE 2, 2021)

Tuesday

FYP 2 WEEK 2

 ActivitySTUDY ON ARDUINO MODULE

The student continues to collect additional data on the module that needs to be used in the second week of the FYP 2. The data enables the student to have a better understanding of the module's behavior. The student may then plan which module will be utilized to create the prototype based on this information.


Wednesday

FYP 2 WEEK 1

Activity:
The first week of Final Year Project 2 has begun, the first thing that need to be done is to continue progress report that had been done earlier previous semester.

Objective:
  • To plan and organize the 17 weeks for Final Year Project 2.
  • To continue the progress report which is done earlier in previous semester for Final Year Project 1.
  • To complete this semester accordingly as planned.

Content/ Procedure:
Previous Final Year Project 1 Content/ Progress Report: -
  • Chapter 1: Introduction
  • Chapter 2: Literature Review
  • Chapter 3: Methodology

Conclusions:
The Development of Automatic Cooling Roof System for Building Temperature Efficiency had officially began. Chapter 3: Methodology in Progress Report will be constructed again.

Thursday

FYP1 WEEK 16

 Activity: Proposal Report Compilation and Correction


After I compiled my report, I submit it to Dr. Zuhanis for the plagiarism check. Turn out that my plagiarism result is 40%. So I need to reduce it to less then 20% (<20%). Then I made some correction using the plagiarism result report as reference. After I have done with my correction, I resubmit my new FYP 1 Report to Dr. Zuhanis to do the plagiarism check and my plagiarism result is 10%.  

Wednesday

FYP1 WEEK 15

 Activity: Proposal Report Compilation and Correction


For this week, I just focus on Chapter 3 which is the methodology of my project like block diagram, circuit diagram and flow chart. I have done some research about the related article that I want to use as references. The writing continued as usually.

Addition in FYP1 Report:
  • Table Of Contents
  • Acknowledgment
  • Abstract
  • References


FYP1 WEEK 14

 Activity: Proposal Report Compilation and Correction


Same as last week, this week I do some correction of words and also add some figures to complete the report of FYP1.


Addition in FYP1 Report:
  • Table Of Contents
  • Acknowledgment
  • Abstract
  • References

Thursday

FYP1 WEEK 13

Activity: Proposal Report Compilation and Correction


Basically, starting this week onward, I started to compiled my report that I have done which is Chapter 1 Introduction, Chapter 2 Literature Review, and Chapter 3 Methodology. I also do some correction of words and also add some figures to complete the report of FYP1.


Addition in FYP1 Report:
  • Table Of Contents
  • Acknowledgment
  • Abstract
  • References

Wednesday

FYP1 WEEK 12

Activity: Proposal Defense Presentation Day


The presentation started at 2.00 pm via Microsoft Teams.

The assessors that assessed me was Madam Norrolhoda Binti Sanis and Sir Abdul Razak Bin Ahmad. Both lecturers are from the Electrical Engineering Technology Section.


Information about assessors:






FYP1 WEEK 11

Activity: Final FYP1 Briefing

Title: FYP Proposal Defense and Submission of Progress Report & Proposal Report



In this week, the briefing was conducted in Microsoft Teams and the attendance of all FYP 1 students in compulsory.

              Date: 7/10/2020
              Venue: Microsoft Teams
              Time: 3pm - 5pm


In this briefing, the FYP committees have briefed us about:
  • Proposal Defense Presentation
    • Introduction
    • Problem Statements
    • Objective
    • Scopes of Project
    • Circuit Diagram and Flow Chart