RFID: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(Move Earl-related content to that page and link to Shed)
 
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
* We got this reader:  SAMSys MP9320 2.8
Noisebridge uses RFID for some access control systems. As of this revision, the whole system is named [[Shed]]. (The one at [[2169 Mission]] was named [[Earl]].)
Various files related to this device:
http://techsupweb.satoamerica.com/public/06_RFID/Software/RF%20Command%20Suite/
 
the protocol the reader talks is detailed at:
http://www.sirit.com/Tech_Support_Downloads/CHUMP_Prot_Ref_Gd_v7.0[1].pdf
 
[http://itech.fgcu.edu/faculty/zalewski/projects/files/RFID_Zabala_final2.pdf The MP9320 cannot be made to work on ethernet, even though it has a port.]
 
The reader is connected to Minotaur through a USB to Serial adaptor.
<br>
[755410.154116] usb 5-1: pl2303 converter now attached to ttyUSB1
<br>
but you should talk to it through a more reliable pathname which is:<br>
<tt>/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0</tt>
<br>
try the following command (as root on minotaur)<br>
<tt># screen /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 57600</tt><br>
 
the reader is now configured and it works.  when it detects a tag, the windows software tells you
<br>
Tag ID,Tag Name,Tag Type, Total Reads, Rate, Antenna, Date/Time               
<br>
3005FB63AC1F3841EC880467,,EPC1G2,1648,0.0,0,1/21/2013 11:04:06 PM                                                                                             
<br>
<br>
this is what the serial data looks like, 57600 baud: (it repeats constantly while the tag is nearby)                               
<br>
{Rd,d:3005FB63AC1F3841EC880467,t:EPC1G2,e:28;14                               
<br>
<br>
this reader has four antenna ports.  The windows software seems to tell you which antenna the tag was seen on, but we will need to find that information in the serial data, which should be easy.  The reason this matters is because we will end up having antennas in different locations (door at the top of the stairs, elevator room door, bottom of the steps) and we will want to react differently depending on where a tag is detected.
 
; Getting status of the beep:
: }Cr,d:PCW!
 
; Enabling the audio beep:
: }Cw,d:PCW,b:00000300!
 
; Disabling the audio beep
: }Cw,d:PCW,b:00000200!
 
; Permanently disable the beep
: }Cw,d:PCW,b:00000200,F:01!
 
 
* Tags:
[[File:Rfid-SL3ICS1002_1202.pdf]] finally!  we have the PDF for these tags.
 
[[File:AN173211.pdf]] frequently asked questions about these RFID tags.
 
we got these 900mhz band RFID tags available from mouser.com as part number SL3S1202AC0,118 they cost 7.4 cents each.<br>
[http://www.mouser.com/ProductDetail/NXP-Semiconductors/SL3S1202AC0118/?qs=sGAEpiMZZMvQHWqrh58LgXtw8BZ1psdi%252bSfsWYs2XZg%3d mouser.com link to buy these tags]<br>
(the picture on the mouser site is wrong for these parts, they do not look anything like a 1206 capacitor)
 
[http://spaz.org/~jake/r/rfid-SL3S1202AC0.zip zipfile containing many PDFs relating to these RFID tags including the NXP app notes]
 
these tags do not have an antenna - they are a grain of sand in the middle of a 3mm x 9mm piece of plastic.  On either side of the grain of sand is a copper contact that you can solder to if you're careful.  don't melt the plastic backing!  the whole thing will probably stick to whatever it was resting on when you soldered it, so prepare. Make your antenna (a loop of wire probably, we are trying to figure out what works best) and solder it to the two contacts and then protect the thing with some hard (hitemp) hotglue or epoxy or something.
 
the PDF for the RFID tags above
[[:File:Rfid.pdf]]
 
similar to this from TI:
http://elcodis.com/parts/1758620/RI-UHF-STRAP-08.html#datasheet
 
* Antennas:  From the NXP app notes:
** AN1523 has a reference design for a mid-range less than one meter read distance antenna. The antenna is 34 mm x 15 mm.
** [AN0972|http://www.nxp.com/documents/application_note/097211.zip] has a reference design for a "general purpose" antenna with an optimal read range of 2.5 meters. The antenna is 1.25" x 0.875"
** AN0969 has a 98 mm long antenna design, with a read range of 1 m to 6 m depending on the substrate you use. Teflon and polystyrene are best; Rogers TMM6 is the worst but has the least variation across the frequency range.
** AN1615 has a short range ring antenna design. 8.3mm diameter ring. Read range of 2 cm.
** AN1685 has an 80mm x 35mm antenna design, with a 6 meter read range.
 
* we did not get this reader:
http://www.alibaba.com/product-gs/572423327/RFID_reader_900MHz.html?s=p
http://www.alibaba.com/product-gs/608914064/long_range_900mhz_rfid_reader_from.html?s=p

Latest revision as of 12:01, 15 October 2021

Noisebridge uses RFID for some access control systems. As of this revision, the whole system is named Shed. (The one at 2169 Mission was named Earl.)