Friday, 7 December 2012

FYP 2...WEEK 10 (SOFTWARE DEVELOPMENT )


Objective:to know programming to program the pic 16f877 for project

This project used in c code for programming. How this program works shown below.

                                                        Figure1: Different ID Tag Number
The ID number circled in green is the number that will be run if UART RFID reader is used, while ID number circled in blue is the number that will run if Wiegand RFID reader is used (not used in this case).
                                                       Figure2: Store ID Tag Number

Please modify the tag ID in the program same as the tag ID that wants to read. This step is to allow the system to remember the ID.

This is the code where the ID tag number stored. In the tag have 2 types different ID number. It is UART and Wiegand RFID tag reader serial num. However, in this project used UART RFID tag reader serial number.

                                                              Figure 3: Buzzer Code
This is the code which the buzzer will sound when received the ID tag number info. For example, when the current ID tags number 4 are 0014033517 shown in figure 50, so the buzzer will sound 1x.

                                                                Figure4: Vibrate Code
This is the code which the buzzer has sound and the DC motor or vibrator will vibrate. For example, when the buzzer already received the card info for ID tag number 4 are 0014033517 shown in figure 50 and 51, so the vibrator will vibrate for 4x.

No comments: