HI THIS IS THE FIRST TIME I AM USING MY ARDUINO TO INTERFACE WITH RFID.I HAVE GOT CIRCUIT AS SHOWN AND THE MESSAGE I AM GETTING WHEN I SWIPE MY CARD OVER THE ID-12 MODULE. CAN ANYONE TELL ME WHAT I AM GETTING WRONG.
I AM USING ARDUINO UNO R3.
The caps-lock key
Mark
You don't say what Arduino you have or how the reader is connected to the Arduino, but from the code I guess you are trying to use the same hardware Serial port to communicate with the Arduino serial monitor and with the RFID reader.
That's not a good idea - the serial port is designed to have one device sending at each end, and when you connect two devices, they just end up fighting against each other. If you have the RFID reader connected to pins 0 and 1, change that to use a different serial port. If your Arduino hasn't got an more hardware serial ports, you can use a software serial port.
Once you have it wired correctly, find out what speed, parity and start/stop bits the RFID serial port defaults to and make sure your sketch uses the same settings.