rfid lcm
Download
Skip this Video
Download Presentation
RFID-LCM

Loading in 2 Seconds...

play fullscreen
1 / 8

RFID-LCM - PowerPoint PPT Presentation


  • 117 Views
  • Uploaded on

RFID-LCM. 下載 uart1-rfid-lcm-txet-chinese.rar. RS-232 接線. MSP430 實驗板. RFID. 7 Seg LED. 反接線. uart1. uart0. while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready? U1TXBUF = 0x02; // char to TXBUF0

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' RFID-LCM' - kylynn-madden


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
rs 232
RS-232接線

MSP430

實驗板

RFID

7 Seg LED

反接線

uart1

uart0

slide4
while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready?
  • U1TXBUF = 0x02; // char to TXBUF0
  • while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready?
  • U1TXBUF = 0xA0; // char to TXBUF0
  • while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready?
  • U1TXBUF = 0; // char to TXBUF0
  • while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready?
  • U1TXBUF = 0x03; // char to TXBUF0
  • while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready?
  • U1TXBUF = 0xA1; // char to TXBUF0
  • while (!(IFG2 & UTXIFG1)); // USART1 TX buffer ready?
slide5
temp=0;
  • while(temp==0)
  • {
  • temp=recv_uart1();
  • k++;
  • if (k >10000)
  • break;
  • }
  • rfid[0]=temp;
  • if (temp==2)
  • {
  • for(i=1; i<11; i++)
  • {
  • while(temp==0)
  • {
  • temp=recv_uart1();
  • }
  • rfid[i]=temp;
  • }
slide6
讀取卡號
  • - Command : 02 A0 00 03 A1
  • - Response : 02 A0 05 53 4D
  • 0 1 2 3 4
  • C2 EF 1C EB 03 60 (Incase of Mifare)
  • 5 6 7 8 9 10
  • A6 9F E3 E5 黃慶祥卡號
  • - Response : 02 A0 05 53 41 08 EB 4F 22 03 38 (Incase of Type A )
slide7
temp= rfid[i];
  • temp= temp >>4;
  • if (temp <0x0a)
  • {
  • write_one_text(4,i*2, 0xd+temp);
  • } else {
  • write_one_text(4,i*2, 0x17+temp-0x0a);
  • }
ad