PIC Lesson: RDM6300 RFID Module

October 8th, 2013  Posted at   Lesson PIC
, arrow   |   1 Commentarrow

RDM6300 RFID Module

RDM6300 adalah RFID Module 125KHz, ia disambung menggunakan UART. Di atas adalah gambar RDM6300 RFID Module. Di bawah adalah gambar pin-pin pada RDM6300 RFID Module.

RDM6300 pin

Berikut adalah video demo menggunakan RDM6300 RFID Module.

PIC Source Code

One Response to “PIC Lesson: RDM6300 RFID Module”

  1. Miljenko says:

    Hi,
    I use EasyPic5, 18F4620, 8 MHz, RFID (RDM6300 with EM4100) and MicroBasic. I have a problem with bytes which I have received. Every time I received 14 bytes, and two additional bytes (the first two bytes in EM4100). I don’t know what I can do. Can you help me with some idea how to resolve the problem? Have you got an idea where the problem is? I know that you programming in different program then I do, but I don’t have any other help.
    On Communication terminal I can see:
    Received: 2
    Received: 52 55 48 48 65 49 69 52 53
    Received: 65 53 56 3
    Received: 77 ´ this is my control byte which show me that read and write operation is finished
    Received: 2 52 ´ this two bytes are problem

    This is my code:

    program RFID_Test
    dim i as byte [14]
    dim ende, start as byte
    dim counter as byte
    dim b as byte [15]

    main:
    INTCON=0
    ADCON0 = 0x0F
    ADCON1 = 0x0F
    USART_init(9600)
    ende=0
    start=0
    counter=0
    trisc.6=0
    trisc.7=1

    start1:
    b[1]=0
    b[2]=0
    b[3]=0
    b[4]=0
    b[5]=0
    b[6]=0
    b[7]=0
    b[8]=0
    b[9]=0
    b[10]=0
    b[11]=0
    b[12]=0
    b[13]=0
    b[14]=0
    counter=0
    start=0

    while ende<1
    if (USART_Data_Ready()) then
    inc (counter) ' count to 14
    i[counter] = USART_Read()
    USART_Write (i[counter])
    if counter =14 then
    ende=1
    end if
    end if
    wend

    kraj=0
    delay_ms(500)
    USART_Write (77) ' control byte – transmition is finished
    goto start1
    end.

Leave a Reply

What is 6 + 13 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)