Friday 16 May 2014

INDUSTRIAL DAY

WEEK 14

This week is the crucial week whereby on Friday, 16 May 2014 will be our campus Industrial Day where I will presenting my Final Year Project to my appointed assessor. Place of my presentation at Gemilang Hall and my seat is 26. Before this I should setup all and last test before present. 

For each FYP 2 student, have 2 assessor will come and assess the project. Then my 2 assessor is Mr Tarmizi and Mr Kamal. Both of my assessor are from electronics department and asking about the coding and electronic questions.



Friday 9 May 2014

DESIGN POSTER AND FINALIZE PROJECT

WEEK 13

Nearing presentation week which is week 14, I have to be ready for the presentation day. There are two importatnt things to be done before I step into the hall to present my Final Year Project. First about poster design and second is project evaluation by advisor.

Designing a poster is not a very easy work to be done by a day. From time to time, I have to edit the layout and its design to get a nice and attracted poster whereby other will understand my project only by looking at it. The design need to approve by my advisor before i printed out. My advisor only told me with add the benefit and add the graph for the result.

I also make finalize for my project and make it sure it will be function 100percent. After that test the project and get the result from the RFID tag.

My final prototype from front


My hardware 


This my final poster. 


 





Friday 25 April 2014

2nd BRIEFING

WEEK 11

For this week, is given FYP2 briefing for the second time. The briefing 2 set at TTL1 and start from 3pm until 5pm. For the briefing is handle by Sir Azlan and Mdm Haslinawati.

Mdm explain detail about the project demo preparation to all student taken FYP2, she also mention about the Industrial Day that fall on Friday, 16 May 2014 start from 8am until 5pm. For degree students start in morning while diploma student start in evening. Mdm also have mention again about project presentation or demo is 40 percent.

Sir Azlan explain detailed about how to design the poster and how to present during industrial day. The poster should compulsory a few important detail which is introduction, objective, methodology, result and conclusion. After that Sir also have mention about colour of poster and format of poster. Also mention about submission form, metadata form and color of hard cover that have 2 type of colour. one is dark green is for diploma student and dark blue for degree student. Lastly talk about step to claim form of project, for diploma max RM300 and degree max RM500 only. After that talk about project submission form is needed to verify of supervisor and comment of supervisor.

Friday 11 April 2014

MAKE A PROTOTYPE

WEEK 10


This week I try to find the wood to make a prototype and build it. I make a prototype that something like a house. Then put the hardware to the prototype.



Put the glue tembak to the hardware to make sure it will stick to the prototype.

finally!!

Friday 4 April 2014

DONE WITH THE COMPLETE HARDWARE

WEEK 9

For this week I have complete interface the software with the hardware. This is how my project flow. Before touch the card, LCD will display “PLEASE TOUCH THE CARD”. User will have cards or tags registered card to access the system. The data is then sent as a packet using a two wire RS232 (or TTL) interface.When approached the card to RFID reader (approximately 6cm), the serial number of this card will be detected.A green LED will be lit and my name and ID number will be appearing in the LCD display, besides that output relay will active the solenoid high and after 5 seconds it will be active low back. Then LCD display will be reset and display “PLEASE TOUCH THE CARD” back Otherwise the system does not release the user access (unauthorized), a warning red LED will be lit and LCD will display “INVALID CARD”. During this process of release or rejection of users, characteristics beeps will be played on a buzzer (just like a sound announcement).


Friday 28 March 2014

SOLDERING AND PROGRAM THE LCD

WEEK 8

Throughout this entire week, I tried to complete the solder and the program which is upgrade with the LCD. the completed program will determine the effectiveness and success of this project. After making several references and corrections, the program which caters to what i wanted was achieved. i then tried to ensure that the program together with the hardware is working perfectly. I use PIC compiler for the software of assembly language that I used in this project. Then used software Winpic800 for download program to PIC microcontroller. The PIC programmer was connected to the computer via serial port/USB Port. Then, the PIC is placed into the programmer socket. At the desktop, the „Winpic800‟ folder is copied and the file of
 Winpic800.exe‟ is selected. My coding is below:

solder the LCD



#include <16f877A.h>
#use delay(clock=20000000)
#use rs232(baud=9600,xmit=PIN_C6,rcv=PIN_C7,PARITY=N)
#fuses hs,noprotect,nowdt,nolvp
#define use_portb_lcd TRUE  // lcd di sambung pada port B
#include<lcd.c>  // default


#byte PORTB=6
#byte PORTC=7
#byte PORTD=8



int buffer[3];
int i;

void detect_card();


void main()
{

   lcd_init();    // default utk LCD

   set_tris_d(0);
   set_tris_c(0b10000011);

    output_low(PIN_d0);
    output_low(PIN_d1);


   output_low(PIN_C2);
   delay_ms(1000);
   output_high(PIN_C2);

   buffer[0]=0;
   buffer[1]=0;
   buffer[2]=0;

   do
   {

            lcd_gotoxy(1,1);
            lcd_putc("     PLEASE     ");
            lcd_gotoxy(1,2);
            lcd_putc("   TOUCH CARD   ");

       detect_card();


       printf("Hex: %X%X%X  ",buffer[2],buffer[1],buffer[0]);
       if(buffer[2]==0x7E&& buffer[1]==0x0D && buffer[0]==0x76)
       {
            lcd_gotoxy(1,1);
            lcd_putc("FARAH NAZIHAH   ");
            lcd_gotoxy(1,2);
            lcd_putc("51211112350     ");

             output_high(pin_d0);
             delay_ms(5000);
             output_low(pin_d0);

            lcd_gotoxy(1,1);
            lcd_putc("     PLEASE     ");
            lcd_gotoxy(1,2);
            lcd_putc("   TOUCH CARD   ");
       }

       else
       {

            lcd_gotoxy(1,1);
            lcd_putc("      SORRY     ");
            lcd_gotoxy(1,2);
            lcd_putc("  INVALID CARD  ");

            output_high(pin_d1);
            delay_ms(3000);
            output_low(pin_d1);

            lcd_gotoxy(1,1);
            lcd_putc("     PLEASE     ");
            lcd_gotoxy(1,2);
            lcd_putc("   TOUCH CARD   ");




       }

   }while(1);
}

void detect_card()
{
      for(i=0; i<26;i++)
      {       while(input(PIN_C0)==1 && input(PIN_C1)==1);
               if(input(PIN_C0)==0 )
               {       if(i!=0 && i != 25)
                        {    shift_left(buffer,3,0); }
               }
               if(input(PIN_C1)==0)
               {        if(i!=0 && i != 25)
                        {shift_left(buffer,3,1); }
               }
               delay_us(500);
      }
}

*after the output relay through the solenoid with active high then LCD will display my ID n my name


Friday 21 March 2014

DISCUSS WITH SUPERVISOR STRUCTURAL OF PROJECT

WEEK 7

I show to sir Muhyi project that i have already done. Then he advised me to upgrade the project with add the limit switch and LCD to make this project more attracted. He also want me change the prototype from the plastic to wood. Then i change the prototype from the below to wood. Because it look more common.