Arduino Mega 2560+6H10D RFID

Thread Starter

Коунт Зеро

Joined Jan 4, 2019
2
Hello everyone
I can't figure out how to get tag from 6H10D RFID Reader.
Plugging 6H10D RFID Reader to Computer using USB prints value in any word documents.
But when i connect it to Arduino it stops sending data.
So i monitored port on Windows 7 using Device Monitoring Studio.
There so many communication going only after connecting device to computer.
_URB related communicatoins.(Included picture of Device Monitoring Studio process pictures and my connections picture.)
J1 to computer* and J2 to 6H10D RFID reader.
And here is the code:
int incomingByte =0;// for incoming serial data

voidsetup(){
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
}

voidloop(){

// send data only when you receive data:
if(Serial.available()>0){
// read the incoming byte:
incomingByte =Serial1.read();

// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte,DEC);
}
}
 

Attachments

Raymond Genovese

Joined Mar 5, 2016
1,661
Top