This tutorial will show you how to quickly setup and start using the EM-18 RFID Module.

What you need:

Buzzer and the LED are optional.

Watch the demo Video!


The EM-18 Module is great because it is similar to the ID-12 and ID-20 modules, and can also fit directly onto the breadboard without an adapter board! The Arduino code was extremely simple; all we did was download the NewSoftSerial library, opened the example code "NewSoftSerialTest", changed the baud rate to match the EM-18 Module default baud rate of 9600, and we were done!

Note: If you are using Arduino version 1.0 or higher, you don't need to download the library. You can simply substitute NewSoftSerial for SoftwareSerial. 

 To use:
1) Connect the EM-18 Module using the attached wiring diagram.

2) Load the sketch on the Arduino UNO.
3) Launch the Serial Communicator in the Arduino IDE (Select 57600 as the baud rate).
4) Scan a tag!

Here is what you should see in the Arduino Serial Communicator:


 

#include<NewSoftSerial> 

NewSoftSerial mySerial(2, 3);

void setup() 
{
  Serial.begin(57600);
  Serial.println("Scan RFID Tag!");

  // set the data rate for the NewSoftSerial port
  mySerial.begin(9600);
}

void loop()                     // run over and over again
{

  if (mySerial.available()) {
      Serial.print((char)mySerial.read());
  }
  if (Serial.available()) {
      mySerial.print((char)Serial.read());
  }
}

Hope this little tutorial helps in getting started with the EM-18 Module! Now you are ready to check for tag ID and actually do stuff! Good Luck!