Lecteur RFID

Bonjour,
pour mon projet de terminale, je dois faire un programme concernant la RFID.
Il faudrait programmer le lecteur pour qu'il détecte un tag avec un UNIQUE code, car dans le but de mon projet, tous les tag doivent posséder le même code. Puis lorsque le lecteur détecte un tag, qu'il envoi l'information à une led/avertisseur sonore afin de nous avertir qu'il detecte ce tag.
Etant débutant sur arduino, je voudrais des conseils/un coup d'pouce afin de m'aider à avancer (je précise que j'ai fait des recherche et ai trouvé 1 programme qui permettrai au lecteur de détecter le tag, mais je n'en ai trouvé aucun concernant une led ou avertisseur sonore),
merci d'avance pour votre réponse.

Au passage je vous poste le programme que j'ai trouvé:
// link between the computer and the SoftSerial Shield
//at 9600 bps 8-N-1
//Computer is connected to Hardware UART
//SoftSerial Shield is connected to the Software UART:D2&D3

#include <SoftwareSerial.h>

SoftwareSerial SoftSerial(2, 3);
unsigned char buffer[64]; // buffer array for data recieve over serial port
int count=0; // counter for buffer array
void setup()
{
SoftSerial.begin(9600); // the SoftSerial baud rate
Serial.begin(9600); // the Serial port of Arduino baud rate.

}

void loop()
{
if (SoftSerial.available()) // if date is comming from softwareserial port ==> data is comming from SoftSerial shield
{
while(SoftSerial.available()) // reading data into char array
{
buffer[count++]=SoftSerial.read(); // writing data into array
if(count == 64)break;
}
Serial.write(buffer,count); // if no data transmission ends, write buffer to hardware serial port
clearBufferArray(); // call clearBufferArray function to clear the storaged data from the array
count = 0; // set counter of while loop to zero

}
if (Serial.available()) // if data is available on hardwareserial port ==> data is comming from PC or notebook
SoftSerial.write(Serial.read()); // write it to the SoftSerial shield
}
void clearBufferArray() // function to clear buffer array
{
for (int i=0; i<count;i++)
{ buffer*=NULL;} // clear all index of array with command NULL*
}

Bonjour,
Tu n'as pas vraiment fait de recherches, car sans parler de la toile, mais uniquement sur le forum tu aurais eu des réponses.
Tapes RFID en haut à droite (Search the Arduino Forum).
En plus le sujet à fait l'objet de plusieurs topics dans la section française.
@+
[edit]
Il faut mettre ton code entre balises pour qu'il soit plus lisible.