How to get a exact tag value from UHF antenna with arduino uno.

I am trying to read a tag value from UHF antenna with arduino uno using as UHF RFID reader. I need to know how to do that. Because i am connecting the wiegand data pin in arduino 7 & 6 using software serial but i din’t get exact tag value.
I am only getting this kind value for different tags “FFFFFFFFFFFFFA12FFFFFFFF00FFFF” it goes on for more bits.Please help me to solve this issue. I attach the code below

#include <SoftwareSerial.h>
SoftwareSerial mySerial(7,6);
int a = 0;
void setup() {
// put your setup code here, to run once
pinMode(12,OUTPUT);
Serial.begin(38400);
mySerial.begin(38400);
}

void loop() {
// put your main code here, to run repeatedly
if(a == 0)
{
if(mySerial.available()){

Serial.print(mySerial.read(),HEX);
digitalWrite(12,HIGH);
delay(100);
a = a+1;
}
}

else
{
digitalWrite(12,LOW);
a = a-1;
}
}

No link to the hardware used, no code tags for the code, not a single useful comment in the code.

Did you really read the sticky post at the top of the board about how to use the forum?

Hi
I am trying to read the UHF tag with UHF antenna using arduino uno board. But i can’t get the exact tag value it shows only “FF FF FF 00 FF 99 FF FF FF FF FF” like this only it shows for all tags continuously.Please help me it’s urgent. And my code is given below:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(7,6);
int a = 0;
void setup() {
  // put your setup code here, to run once
  pinMode(12,OUTPUT);
  Serial.begin(38400);
  mySerial.begin(38400);
}

void loop() {
//   put your main code here, to run repeatedly
 if(a == 0)
    {
     if(mySerial.available()){
    
       Serial.print(mySerial.read(),HEX);
       digitalWrite(12,HIGH);
       delay(100);
       a = a+1;
     }
  }
  
  else
  {
    digitalWrite(12,LOW);
    a = a-1;    
  }
}

Same question as here I think, although this one's better since the code is tagged and there's a pic attached.

Here it is:

Threads merged.

There is no ground connection between the card reader and Arduino.

Hi,
What RFid tag unit are you using with the arduino?

Have you attached a UHF aerial to the reader?
If so is the reader designed for an aerial?
What aerial are you using?

Have you got any RFid tags and reader to work, before you added an aerial?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Not a picture/image like this;


Use proper circuit symbols please.

Thanks.. Tom.. :slight_smile: