Shop OBEX P1 Docs P2 Docs Learn Events
Student Attendance Logging Project — Parallax Forums

Student Attendance Logging Project

anneanne Posts: 2
edited 2007-11-26 13:53 in General Discussion
Hi,
I am currently doing a project on student attendance logging system using RFID reader from Parrallax. I have almost finish my other parts of my project such as LCD, KEYPAD and also USB. However i have some problem in sending the output (Sout) of the RFID reader to my wireless transmitter which has 4 input data pins. I am using PIC16F877 to control the system. Unfortunately i have to use assembly language for this project. This has become a challange to me as i m not so good in this programming language. My problem is i could not break the output of the RFID reader which contain 12 bytes to my wireless transmitter which has only 4 input data pins. My program is as following:

Convert········ movf··· PORTA,w
·················· ·movwf·TAG0

··················· movwf·TAG1

··················· movwf·TAG2

················· movwf·TAG3

···················· movwf·TAG4

··················· movwf·TAG5
················· movwf·TAG6

··················· movwf·TAG7

················ movwf·TAG8

················ movwf·TAG9
··············· CALL· ·DATA_SEND
············· MOVF·TAG1,W
··········· ··CALL· ·DATA_SEND

·········· MOVF·TAG2,W
· ········ ·CALL ·DATA_SEND

·········· MOVF·TAG3,W
· ·········· CALL· ·DATA_SEND
·
··············· MOVF·TAG4,W
· ·········· ·CALL· ·DATA_SEND

············ ·MOVF·TAG5,W
· ·············· CALL· ·DATA_SEND
············ MOVF·TAG6,W
· ··········· CALL· ·DATA_SEND

·········· MOVF·TAG7,W
· ······ CALL· ·DATA_SEND

········ MOVF·TAG8,W
· ···· ·CALL· ·DATA_SEND
·
······ MOVF·TAG9,W
· ····· CALL· ·DATA_SEND


DATA_SEND······ BCF·· ·STATUS,RP1··;BANK 0
···················· ·BCF·· ·STATUS,RP0
······················MOVWF·VAR2···;SENDING 1ST FOUR BITS
···················· ·SWAPF·VAR2,W
····················· ANDLW·0X0F
·················· ·MOVWF·TRF_PORT·· ;TRF_PORT is portA
··················· call ·Delay5
················ MOVF·VAR2,W···;SENDING 2ND FOUR BITS
·············· ·ANDLW·0X0F
·············· ··MOVWF·TRF_PORT
················· call ·Delay5
················ RETURN
I would be grateful if someone could give some comment or idea to complete my project!! Thanks.

regards,
anne

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-11-20 14:56
    This post is being moved from the Completed Projects Forum to the Sandbox Forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • anneanne Posts: 2
    edited 2007-11-26 13:53
    Do you have any idea on reading the rfid tag's id?? i have try to send the rfid reader out to pin RC6 of PIC16F877 which is the rx pin. Then i send it to PORTA. However i still cannot read the rfid id ?? Do you have any idea??
Sign In or Register to comment.