Click here to Skip to main content
14,733,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a 13.56Mhz RFID reader/writer(USB type).How do i get data from it?
Which software i have to use?

Thank you.
abeynayake
Posted
Updated 11-Jun-16 21:04pm

1 solution

Hi there use 
C# dot net for coding<

pre lang="c#"> 

 private SerialPort RFID;
 
// In your form load event
        RFID = new SerialPort();
        RFID.PortName = "COM1";
        RFID.BaudRate = 9600;
        RFID.DataBits = 8;
        RFID.Parity = Parity.None;
        RFID.StopBits = StopBits.One;
        RFID.Open();
        RFID.DataReceived += new SerialDataReceivedEventHandler(RFID_DataReceived);
//
private void RFID_DataReceived(object sender, SerialDataReceivedEventArgs e)
   {
   string data = RFID.ReadExisting();
   myTextBox.Text += data;
   }</pre>
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900