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