Saturday, 26 December 2015

Week 14 FYP2

ACTIVITY :

Industry Day 

OBJECTIVES :

To present the Final Year Project 2 

CONTENT 

     This week student need to present their product or research for FYP2. The Project Demo and Presentation for FYP 2 students start at 8.00 am and finished at 12.00 pm. My panel was Madam Siti Hajar Ab Aziz, Nurul Husna Mohd Rais and  the person from Industry who are in charged in Research & Development Department.  The time taken for the Presentation was around 10 to 20 minutes. The industry day run smoothly and i can present my project well to the panel.

CONCLUSION 
As a conclusion, The industry day run smoothly as planned. The last task is to complete the Final Report / Thesis / Hardcover to meet the requirement for Final Year Project subject. Thank to my supervisor Madam Yunus and all friend for supporting and advice to finish all my work.

Friday, 20 November 2015

Week 13 FYP 2

List of activity
The making of FYP poster


Content
the poster must include of :


1.    Objective
2.    Methodology
3.    Project description
4.    Flow chart
5.    Results
6.    conclusion
7.    References

This is the first of my poster



But then my supervisor said, i must change the the project description. This is because my project description content almost same with objective. Beside that my supervisor ask to change the result. After correction, then the final FYP poster is shown like below :



Week 12 FYP 2

List of activity
Finalize my project.


Content
this week i starts assemble all part and testing  all the functioning. My project function as well. Below show the picture and video for my project.






Friday, 13 November 2015

Week 11 FYP 2

List of activity
Testing project ( First part)


Content

In this week, i have testing my circuit and software. While testing my project, a problem occur. Browser can’t display my webpage.After make some troubleshoot, i found there have problem with the wifi shield. The libary i get from internet does not support with my wifi shield. I need to change the libary. After change the libary, my project function as i want. then i show it to my supervisor. The problem occured when testing my circuit. This is the video of my project function.i have test the software and hardware


**video will be update

Friday, 6 November 2015

Week 10 FYP 2

List of activity
Building a prototype ( mini house)

Content


This week i start build my mini house for my fyp. Before build the home i must design it first. After done on designing, i start to build my mini house and make some wiring for the house. The material use is a perspek, play wood, wire, bracket. Picture below show the progress. 


Build a roof

Build wiring  
Drilling for door
Assemble the part

My mini house

Friday, 30 October 2015

Week 9 FYP 2

List of activity
Design GUI for Android

Content
This week  i have design the android GUI my final year project. The software that i use is Basic4android. This software use basic language which is almost same with vb.net. But it will compile to Java. This is because Android use a Java. Picture below show the GUI that i have created.




For the first page for my GUI, user need to log in first before there want to use the software. This is one of security part. Only authorized people can use this software. The second page is, user need enter the specific ip address to start control their home electrical appliances. I doesn't set the the ip adress become static because in my project i always testing my project with different ip address.

Week 8 FYP 2

List of activity
Soldering process and circuit testing

Content

this week i started solder my circuit and testing whether it functioning with arduino and wifishield. At first my circuit does not functioning well. The relay can contact from normally close to normally open. After make some troubleshooting i have found some error at the circuit. There is incorrect connection at relay circuit. Troubleshooting is make and the circuit is functioning well with my arduino and wifishield




Below is the result after troubleshooting the circuit. The relay can contact from normally close to normally open by using wirelessly.


Friday, 23 October 2015

Week 7 FYP 2

List of activity
printed circuit board process

Objective
make a pcb boarb for FYP

Content
This week i started design my circuit and construct on PCB board. The first step is to design my PCB. in this case i used the PCB wizard software to design my circuit.
Image result for pcb wizard
the second step is to print out the design on a transparent paper


the third step is put on the printed side of the transparent paper on the copper part of the board and iron the paper. the reason to do so is to make sure that carbon on the transparent circuit attach to the copper
the ironing process and the result. At the end, not all ink from the transparent paper will attach the copper board and surely there will be a detach on the circuit line. So to make it more perfect without further problems, i used a marker pen to highlight the circuit connection oh the copper board.


Next step is to submerge the copper board into a ferric chloride. this function to remove the all the copper on the board except the printed part.

 the fifth step is cutting the board and make holes for component by using drill to be solder on it. This


process need a high patience and great focus. Any mistake will cost me to start the process from scratch. The soldering and testing i will proceed at week 8


Friday, 16 October 2015

Week 6 FYP 2

List of activity
Study about data logging with arduino

Objective
make database for FYP to capture date and time


Content
In my project database i need a database to record date and time every time user switch on or off electrical appliances. For Fyp 1 i decide to use VB.net with microsoft access to make a database. But after make some simple research i had decide to change the method to use microsoft excel direct code from Arduino. This because i want make my project stand alone and not depend to computer to save the data into database. The communication between the microcontroller and the SD card uses SPI, which takes place on digital pins 50, 51, and 52 (Arduino Mega). Additionally, another pin must be used to select the SD card. This can be the hardware SS pin-pin 53 (on the Mega) - or another pin specified in the call to SD.begin(). Note that even if you don't use the hardware SS pin, it must be left as an output or the SD library won't work. Different boards use different pins for this functionality, so be sure you’ve selected the correct pin in SD.begin(). Before use user must user need a SD reader and computer to format your card. The library supports the FAT16 and FAT32 filesystems, but i suggest to use FAT16 when possible. Formatting the card will create a file system that the Arduino can read and write to. Below is a example code. 

#include <SPI.h>
#include <SD.h>


const int chipSelect = 4;



void setup() {
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }




  Serial.print("Initializing SD card...");



  // see if the card is present and can be initialized:
  if (!SD.begin(chipSelect)) {
    Serial.println("Card failed, or not present");
    // don't do anything more:
    return;
  }
  Serial.println("card initialized.");
}



void loop() {
  // make a string for assembling the data to log:
  String dataString = "";



  // read three sensors and append to the string:
  for (int analogPin = 0; analogPin < 3; analogPin++) {
    int sensor = analogRead(analogPin);
    dataString += String(sensor);
    if (analogPin < 2) {
      dataString += ",";
    }
  }



  // open the file. note that only one file can be open at a time,
  // so you have to close this one before opening another.
  File dataFile = SD.open("datalog.txt", FILE_WRITE);



  // if the file is available, write to it:
  if (dataFile) {
    dataFile.println(dataString);
    dataFile.close();
    // print to the serial port too:
    Serial.println(dataString);
  }
  // if the file isn't open, pop up an error:
  else {
    Serial.println("error opening datalog.txt");
  }
}


i got the code from https://www.arduino.cc/en/Tutorial/Datalogger and i have try it. It works.

Friday, 9 October 2015

Week 5 FYP 2

List of activity
Study about html language

Objective
make webpage for final year project

Content

HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone technology, used by most websites to create visually engaging webpages, user interfaces for web applications, and user interfaces for many mobile applications.[1] Web browsers can read HTML files and render them into visible or audible web pages. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language.
For my final year project, I often refer to the www.w3schools.com/html/html_intro.asp to make my webpage. This website easy for mine to study about HTML language.

 Picture above show my webpage.The webpage still under progress.
 

Friday, 2 October 2015

Week 4 FYP 2

List of activity

Study about RTC

Objective

To make RTC circuit

Content

After make some research i had found a suitable RTC with arduino.This module has the integrated time keeping system using a crystal oscillator. So the timing is accurate with multiple applications. This module also has a battery backup with which the module can keep track of the time even when the Arduino is programmed or turned off. Lets start off with the stuff you will learn and the applications of this module. Apart from the arduino the DS1307 Integrated Circuit is the core of this project since it acts as the timekeeper and tells the arduino when it should leave the appliance on. The DS 1307 is specifically designed for timekeeping, The time is fairly accurate with an error (time drift) of about 1 minute per month.The beauty of the DS1307 is that it has this backup coin cell. This Coin Cell is commonly the CR2032. This battery is more than enough for the IC since the DS1307 has a fairly low power consumption the backup battery life of the cell is about a minimum of 9 years of usage.The DS 1307 communicates with the arduino using I²C communication. Simply put the chip sends data in decimal form such that each decimal form is 4 bits of binary data also known as Binary Coded Decimal System.
Image result for ds1307
Figure above show the simulation circuit for RTC circuit that i have done by using Proteus software