Introduction: Inland RFID Learning Kit

Picture of Inland RFID Learning Kit

If you are a buyer of the electronics company Inland or you have looked at the electronics section of a microcenter near you, a RFID learning kit for Arduino is being sold. Normally this product is worth about $70.00 however, at microcenter they are selling it for only $50.00. Now you might be saying wow 50 dollars for a learning kit uhmm... i'll pass. Trust me, it is a good investment because it comes with so much! Just to highlight the goodies, the kit comes with, their version of an arduino uno, a breadboard, RFID sensor + tags, IR remote and receiver, micro servo, water level sensor, sound sensor, 4x4 button keypad, and much, much, more. The only problem is that there is no documentation which makes this beginner/novice kit a complete waste of time. I was able to work my way through the web for hours to finally get stuff working. For that reason I am here now to explain my two favorite objects out of the kit. They are the IR remote + the receiver, and the RFID sensor + the tag/card. If there are other parts of this kit that you need instructions on, I will be happy to create another instructable for them. For now lets get into the world of IR and RFID.

Step 1: RFID Basics

RFID stands for...

Radio

Frequency

IDentification

Pretty self explanatory from the acronym, it uses radio frequencies to identify different tags. Each tag has a unique ID number that is read from the sensor and a microcontroller takes it from there. RFID cards/tags cannot hold data like a card with a magnetic strip, such as a metro card which keeps track of when it expires or runs out of money. However, a microcontroller can hold the data instead and have values increase and decrease for each time a recognizable card is swiped. In addition, unlike a magnetic strip card, RFID sensor do not have to make direct physical contact with the card and can sense a card from over and inch away. That about wraps up the basics for RFID, but if you don't completely understand you can comment below or look it up on your own.

Step 2: Materials

Picture of Materials

Just so you know what is needed for this tutorial out of the many sensors in the kit above are the pictures of each thing but i think you know what those look like. (I HOPE)

-The red pcb board with a wifi graphic (outward waves) on it, is the sensor.

-The white card is the card.

- The blue circle attached to a keychain is the tag.

- The arduino uno

- Some male to female jumper wires (male to male jumper wires if you a breadboard)

Thats it...

Step 3: RFID Schematic

Picture of RFID Schematic

Above is how to correctly setup the RFID sensor to the Arduino and have it work correctly. If you see, the sensor in this schematic is not the one you have, thats ok, its just that Fritzing does not have our sensor. However, there are the same number of pins and there aren't labels on their one to confuse you. just plug them in from top to bottom where "VCC" is the first pin labeled on the top. Both on fritzing's RFID sensor and yours, the bottom pin is not being used and it still works perfectly. (That pin is labeled IRQ)

If you have any trouble comment below.

Step 4: RFID Code

All you need for the code are the files below which contain the essential libraries and the code itself.

If you need help installing the libraries feel free to comment below.

Step 5: The RFID Result

If everything was done correctly, then when you upload the serial monitor and swipe the card and the tag near the sensor then you should get a line full of numbers. Now you might be saying, what can I do with a bunch of numbers, if you asked that then... you should... just...whatever...ok. If you swipe the same card multiple times then you realize the same numbers show up. Now you can swipe the tag multiple times and see that a different number from the card is repeated each time you swipe the tag.

Step 6: Going Further RFID

From here there are many possibilities to what you can do. You could create a " if " statement or a switch case in the arduino code so that if the card or the tag is swiped then a green LED turns on but if a random RFID card is swiped then a red LED turns on. If you are going to do that, the variable that you would be testing is "str[0]" which is the first number sequence on the serial monitor when you swipe a card. To be safe you could have the "str[1] also be the variable just for more accuracy. But instead of an LED turning on you could have a servo move which ends up unlocking and locking a lock. You could add a buttonpad in there to have a password added to your project.

Any questions, please ask.

Step 7: IR Basics

IR is somehow short for infrared which is a receiver transmitter sort of system. More specifically than receivers and transmitters, you could view it as an encryptor and a decoder. The remote takes simple information like a button being pressed and turns it into a number sequence that is transmitted through an IR LED. Unlike regular LEDs, IR LEDs produce infrared light that is not visible to the human eye. An IR sensor receives the sensed number sequence from the IR light and a microcontroller takes it from there.

Step 8: IR Materials

Picture of IR Materials

There are only 2 things that you need for this tutorial which are pictured above.

- IR Sensor (silver looking transistor)

- IR Remote

- Arduino

- Jumper wires

Step 9: IR Schematic

Picture of IR Schematic

If you cannot see the schematic since it is sort of small then to connect the receiver to the arduino first plug the receiver into a breadboard.Then while the front part is facing you (the side with a black oval) plug the left pin into digital pin 11, connect the middle pin to ground, and the right pin to 5V. Its pretty easy for how useful these things are.

Step 10: IR Code

First, download the library and the code and place the library into the arduino's library folder. Then upload the code to the arduino and open the serial moniter. From here you will see "ready to decode" and other stuff but when you press a button you will see "other button" pop up and after a second a number sequence will appear below it. Each button on the remote has a different number sequence. Press the POWER button on the remote about 3 times and watch to see the number sequence that shows up. Then locate in the code...

case 0xFFE318261B:

Serial.println("POWER ");

break;

If you see where it says 0xFFE318261B it is saying when an IR number sequence is E318261B then serial print POWER. Now you replace E318261B with whatever you got when you pressed the power button in the serial monitor. NEVER EVER change or mess with the 0xFF, just put your number sequence after that. Then one by one press each button and copy the number sequence that shows up in the serial monitor after the correct 0xFF.

Step 11: IR Going Further

The most basic use of IR systems in today's world is in TV remotes in order to increase volume, change channel, power, etc. But a more simpler thing is a garage door opener. A single button remote that when is pressed it sends a command to a microcontroller to open a relay, which causes a motor to turn and open to door. I just said this to give you some inspiration to what you can do buut there are countless of more things you can do with IR.

Step 12: You Want More

As I said in the beginning, if you have gotten this kit and have no idea how to use some of the other components, please, I would be happy to create another instructable to explain. It's just that there are a lot of components that I wouldn't know where to start after these. I won't create one if you don't comment on which component.

BTW a lot of the code and schematics I am using doesn't only apply to this kit so feel free to use it anyway.

Bye and waiting for your comments :)

Comments

onyema (author)2016-04-29

Hi,

I have this kit and no idea what to do with it. Kinly put up more.

Thsnks

chickeneater (author)onyema2016-04-30

Ok so what specifically do you need help with or want me to post about?

There are some things that I never go working like the water level sensor, and there are other things that I simply haven't tried yet like the fire sensor, but I pretty much know how to use everything else.

Also I just want to know where you got this kit... If you don't mind telling me.

onyema (author)chickeneater2016-04-30

Hi,
Thanks for the response.
I got the kit from AliExpress. A friend introduced me to Arduino so I have been doing some reading while the kit arrived now I don't know what to do. I won't mind any project that can be done with the RFID kit.
Thanks

chickeneater (author)onyema2016-05-01

I will give you (and anyone else curious) a challenge for the kit.

Make it so that when the rfid tag and the rfid card is swiped, 2 green leds light up and a buzzer (passive or active) beep twice, and the lcd will display "card" or "tag" depending on which was swiped.

In the same sketch make it so that when any other RFID device is swiped, 2 red leds light up, the buzzer continuously beeps, until a button is pressed.

I know the coding is possible, but power wise this might be too much (probably not though).

When you are done make an instructable on how to do it, then I will give you another challenge.

Hope you enjoy, you can ask me any questions, and good luck.

CHICKENEATER!!!!

onyema (author)chickeneater2016-04-30

Mne didn't come with a project book

dobie017 (author)2015-12-26

I'm very new to this, but when I try to verify the code, i get this error message

Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\...\Desktop\Arduino Files\Addicore_RFID_Example\Addicore_RFID_Example.ino: In function 'void loop()':

C:\Users\...\Desktop\Arduino Files\Addicore_RFID_Example\Addicore_RFID_Example.ino:48:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]

str[1] = 0x4400;

^

C:\Users\...\Desktop\Arduino Files\Addicore_RFID_Example\Addicore_RFID_Example.ino: At global scope:

Addicore_RFID_Example:85: error: 'myRFID' does not name a type

myRFID.AddicoreRFID_Halt(); //Command tag into hibernation

^

Addicore_RFID_Example:87: error: expected declaration before '}' token

}

^

exit status 1

'myRFID' does not name a type

KennyL25 (author)dobie0172016-04-02

I looked into this and I think it's because there is a misplaced "}" in the code. After the line "delay(500);" there is a } that ends the void loop() function.

If you remove that, then it should upload correctly.

chickeneater (author)2016-02-07

Just double checking but did you guys put the libraries into the libraries folder than restart the arduino IDE?

isotope5 (author)chickeneater2016-02-08

I did. Documents > Arduino > libraries > Addicore_RFID_Example
which contains the Arduino file, the cpp file, and the h file
The library is listed in the ide under contributed libraries.

chickeneater (author)2015-12-26

Can you post the code that you are running because I have never in my life ever seen an error message like this.

isotope5 (author)chickeneater2016-02-06

I'm getting the same error messages as Dobie17. The code is the one I downloaded from here. Is something missing on line 13 of Addicore_RFID_Example?

AddicoreRFID myRFID; // create AddicoreRFID object to control the RFID module

I'm using the Arduino IDE and installed the Addicore_RFID_Example library.

chickeneater (author)2015-12-15

Also did you install the libraries? If you did you might have done it incorrectly or just put them in the wrong place by accident. Just tell me where you put them.

chickeneater (author)2015-12-14

okay I'm wondering how that works because the only way that uploading something onto the Arduino from a smartphone seems possible is if you are using the Arduino Yūn and it may be possible that this RFID board is compatibly with only the UNO or something.

Also feel free to ask me anything about the other components that you might need help with in the board, but i do know for sure that I can't get the water level and the sound sensor to work. But besides those I have figured out how to use everything else.

isotope5 (author)2015-12-13

Thanks for the reply. Arduino Droid is an app for Android which checks, compiles, and can load the sketch onto the arduino. I do have the entire inland rfid kit.

chickeneater (author)2015-12-11

No offense but I have no clue what arduino droid is. Is this a different arduino board. Maybe these libraries are specifically made for only specific arduino boards like the UNO or Leonardo.

isotope5 (author)2015-12-08

Hi,
I'm having difficulty with the sketches. I apologize for being so ignorant. But, I've downloaded the files and am not sure how to put them in my editor. I'm using ArduinoDroid and have copied and pasted the files into it but keep getting errors.

For the AddicoreRFID.h file, the error is
line 1 column 214 unterminated conditional directive

For AddicoreRFID.cop file, the error is
line 2 column 10 'AddicoreRFID.h' file not found

Again, I apologize for my ignorance and thank you for any help you might have.
David

chickeneater (author)2015-07-10

BTW the 7 segment display tutorial that I made, applies to the display that is include in the RFID learning kit.

About This Instructable

8,231views

46favorites

More by chickeneater:Parachute DropperInland RFID learning kitUsing a 4 digit, 7 segment display, with arduino
Add instructable to: