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;
}
}
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;
}
}