Go Down

Topic: NEW to RFID? where to start? (Read 14 times) previous topic - next topic

Grumpy_Mike

Well it shouldn't matter if they have arduino example code, just follow what that does.

xl97

this was the reply to my questions of sample code and if slave or master

Quote
Dear Friend,

Thanks for your letter. Here are answer to your two questions.

1) Yes, we have example code, please download the lesson and manual from the link below.

http://www.b2cqshop.com/best/rfidQ00415203.rar

2) This is a slave device. There is a cs port control it to work or not to work.

Hope these will help.


guess its not 'good' cause its a 'slave'? (as you mention above?)

what 'is' a master one? or one people should get for reading/writing?

thanks

hellonearthis

#12
Feb 17, 2012, 05:40 am Last Edit: Feb 17, 2012, 05:46 am by hellonearthis Reason: 1
I've been learning how to use one of these rfid reader/writer and getting good results.
I use softwareserial at 19200.  I am currently  looking at how to connect to the cards SIG pin, docs say it has an Interrupt output, LOW level indicates Tag in the field.
Which means you don't have to keep polling the card to see if there is a Tag around.  There are also write options, which can store data in a purse/wallet area. Not got into that yet.

jwatte

SPI and UART are different ways to send data between chips. Other protocols to do the same include TWI/I2C and OneWire. They don't have one clear winner. UART is like a PC serial port. Data rate is low, but it's easy to work with. It generally uses two wires, but can use more for flow control. There are exactly two chips (peers) on the "bus." I2C uses two wires, a clock and a bidirectional data wire. Chips as addressed by ID, so many chops can share the bus. Because it's synchronously flocked, it's faster than UART. SPI uses three wires, clock, send, and receive, Plus one chip select ("CS") wire per chip that shares the bus other than the master. SPI generally can run the fastest of these three, but uses the most wires.
Any of them will work with an Arduino for RFID.

pingy

Little old school shameless self promo.

http://www.youtube.com/watch?v=Qeum60jP3c4&sns=em
(watch it on an actual computer, not a phone or iOS device, so you can see the annotations)

Here is the RFID door system I built a couple years back. I still use it everyday to this day. Only thing in any state of failure is the blue on the RGB led, but it has been on for over two years 24/7 so I guess I can't complain. 125kHz. UART serial connection to an arduino via an ID12 RFID reader (sparkfun).

Terminated all the data/power lines via cat5 so I only had to drag one wire through the cinder block wall.

I got my start on this on instructables via a user who did most the hard work. His handle is "pcmofo" you should look up his project.

I took his project modded the code and hardware to meet my needs and have not looked back. This thing is awesome.

Good luck! And have fun

Go Up