I got this rfid reader today and it dosnt seem to work.. as i understand, if i connect it's tx to arduinos rx, it should give me an STX value of 02h. Or something like that..
So.. How is this supposed to work exactly..
My code is
Help!
Have connected everything besides the pin 2 and pin 3..
As required in the datasheet.. have connected an led which is glowing very slightly. And an Antenna.. I do have RFID tags which are supposedly 125 khz but cnt confirm. BUT, It is supposed to return an value to the rx?
Right?
I get an output of ÿÿÿÿÿÿ
This is the cr003t. The serial one.. Also, How exactly is this supposed to work then?.. i connected the antenna.. brought a tag closer.. nothing happened. i assume that even if nothing is happening, it is supposed to send some sort of data? to the serial rx of the arduino?
Here are the pictures of what i have exactly done.
It won't even when it is all working because this LED is controlled by the PC not the arduino.
Wht am i exactly supposed to do now.?
You need to get it working.
forget the arduino for the moment, disconnect it. Connect an LED anode to the 5V, cathode to a 1K resistor and the other end of the resistor to the RFID output. The LED should not be on. As you bring a tag into the field the LED should flicker, if not your reader is not working, and you will have to find out why.
First of all check and double check the wiring, check that the reader has volts on it with a meter both pin 5 and 27. Also check the ground. Don't bother with the pin 28 LED for the moment.
Check that the coil is being energised, you need an oscilloscope for this, if you haven't got one then make one from the arduino and processing there are lots of examples. Connect a coil of a few turns to the input of the scope and bring it close to the coil, you should see a signal from the field. As you bring the tag into the field you should see the signal flicker. If there is no signal then check with direct connection to the coil, it should be about 60V or more peak to peak. If not then you will have to tune the coil by putting capacitors across it until you get it in resonance, try about 1nF at a time, get the value that gives you a peak output.
Ok. I connected the led anode to +5v. Then the cathode to 1k resistor.. put the end of the resistor to the rx output. connected the antenna.. nthng happend. led didnt flicker.
Did a multimeter test also.. Pins 1, 2, 3, 4, 27 seem to be giving me 4.9v when connected to the common arduino ground which may mean that the power is going through the rfid board.
ok, I made the oscilloscope and connected it to the antenna to the analog read 0 and then the other end to 3.3v for a power supply.. it gave a constant line.. raised due to the current.. so there is no break in the antenna.
secondly.. i think the problem maybe that the tags i have are NOT 125 khz. I grabbed two from the delhi metro and it is nowhere mentioned that they are 125.. nowhere on google also.. i'll be getting the tags tommorrow.. verified 125khz..i'll see then..
ok, I made the oscilloscope and connected it to the antenna to the analog read 0 and then the other end to 3.3v for a power supply.. it gave a constant line.. raised due to the current.. so there is no break in the antenna.
No you were looking for a 125KHz signal here when the coil was connected to the reader. So a constant line is bad if it is connected to the reader. Normally this should be a big signal on this coil.
The LED is to be connected on the TX data output of the reader, it will flicker when the reader outputs data.
gives us the absolute maximum bandwidth of the system, or 240Hz
You are looking for a 125KHz signal. Maybe these sort of scopes aren't fast enough for your needs here.
Again, i connected one end of the antenna to the +3.3v and other to the a0.
Why? You are trying to see if the reader excites your antenna (coil), so connect it to the reader and connect the oscilloscope to one end of the coil, then if you see nothing the other end of the coil. There must be a common ground connection between your oscilloscope and the reader when you do this.
Hey, This is what i got.. connected the vcc's and grounds of the reader to the arduino(using it as power supply).. then connected one end of the antenna to reader antenna in(pin15).. othr end went inside the oscilloscope in. a0 of the arduino
ok intresting development.. i touch the coil and these waveforms increase(y axis). ans put it on plastic, they well are almost neglible.. so guess no signal.. this picture is when the antenna was kept on the bed
I had the 125khz reader and had to get separate tags. The delhi metro ones are 13mhz i believe.
I got some module from a hobby shop in delhi. I suggest you to get the ID series, much better support.
That's mostly the standard though. I think a NFC supported phone can be used to read multiple frequencies. If you are lucky to have an android NFC device.
I went to Lajpat rai market near chandani chowk. The guys there are horrible and don't know shit. After looking for 2hrs I found a hobby shop. The guy did not no what frequency the RFID reader was and hence the post. I suggest you look for a good well supported device online and order it from china or something from eBay. Sparkfun will charge you an arm and a leg for shipping.