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. 



Friday, 14 March 2014

EDIT THE SOFTWARE

WEEK 6

As for the develoment of this project, this project will depends on program that I compile. By using PIC Compiler software, I construct the program and there were a lot of mistakes also more things to learn to do the program. To complete and perfecting the program, I do lot a lot of research and ask my friend to teach me. Finally i have done the software.


#include <16f877A.h>
#use delay(clock=20000000)
#use rs232(baud=9600,xmit=PIN_C6,rcv=PIN_C7,PARITY=N)
#fuses hs,noprotect,nowdt,nolvp

#byte PORTD=6
#byte PORTC=7

byte count;

int buffer[3];
int i;

void detect_card();
void event();

void main()
{
   set_tris_d(0);
   set_tris_c(0b10000011);
   count=0;

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

   output_low(pin_b0);
   output_LOW(pin_b1);

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

   do
   {   detect_card();


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

       output_high(pin_D0);

       delay_ms(5000);
       output_low(pin_D0);



       }

       else
       {

         output_low(pin_D0);

       }

   }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);
      }
}

B0= output relay to start motor run, B1= output relay to buzer that shows wrong card
When touch card for one time, b0 will count 1, b0 will high
When touch card for two times, b0 will count 2, b0 will low
When another touch card will identified, b1 will high for 5 seconds and then will be low


Friday, 7 March 2014

DESIGN, EDIT AND CONSTRUCT

WEEK 5

Throughout this week, I only focus on constructing PIC circuit. Of course it is not as easy as A, B, C but since I seek helps from my friends, I am able to construct the PIC circuit within one week. At first I doubt that the PIC circuit will work correctly, but after do try n error,i finally success in constructing it. The circuit work fine and hopefully there will be no error afterwards. This PIC circuits is interface with the RFID reader, solenoid and will be display at the LCD.

Below is the PIC 16F877A circuit:


circuit PIC



circuit relay


Friday, 28 February 2014

1st BRIEFING

WEEK 4

For this week on 28th February 2014, the FYP2 briefing 1 for degree and diploma student is combine together at TTL1, the time start from 3pm until 4pm. The briefing is talk about FYP development, project progress report (logbook/blog) and attendance student. This briefing was handle by Miss Fazlin.

For the assessment:
-Blog/Logbook-20%
-Presentation-40%
-Final report-40&
For the attendance-minimum 5 times per semester, if below than 80% will barred from presentation

After that, Miss Fazlin reminded FYP students need to update project progress weekly and submit on week 15 the blog. Then, talk about the presentation will be on week 14 for FYP2 Degree. Lastly talk about project final report need submit before week 15 and other copy report submit to library on week 17.

After that, Miss Fazlin inform about the competition of project if anybody was interested of that can update to Dr. Khushairy or go through the website http://ice2t.bmi.unikl.edu.my/

Friday, 21 February 2014

SKETCH

WEEK 3

Starter of week 3 on February semester do quite a job to me. I have to focus on my current subject while doing my progress on my final year project. After finally  found all the component for my project, I would like to start on working for my project design. There will be two design produced for this project. One is circuit design while another one is prototype design. I started designing first is because I want to systematically completing my project towards the end.
 
These are all the main component for my project:

wire


LCD


PIC 16F877A


RFID tag


RFID reader


Friday, 14 February 2014

SEARCHING THE COMPONENTS

WEEK 2

For the second week for the next semester for the Final Year Project i make some research about this project components whatever it is available or not. Finally, all the components that I want and will use on my final year project is available, so that there will be no problems about searching my components list that i have been searched:

  1. RFID reader and tags
  2. solenoid
  3. PIC 16F877A
  4. PCB board
  5. oscillator
  6. led
  7. relay

Sunday, 9 February 2014

DISCUSS WITH ADVISOR

WEEK 1


Sir Muhyi proposed me to changed another project related with RFID. Then after discussed i agreed to changed my project to RFID Enabled Door Access System using PIC. Furthermore nowadays our hostel in unsafe condition so dats y my advisor proposed to do that project. So we will try and know how this project will be function and can do in the real life