|
@@ -1,4 +1,35 @@
|
|
|
SM130
|
|
|
=====
|
|
|
|
|
|
-SM130 RFID/NFC Librarie for Arduino
|
|
|
+SM130 RFID/NFC Librarie for Arduino 1.x.
|
|
|
+
|
|
|
+This lib use Arduino toolchain.
|
|
|
+Powered with : https://github.com/amperka/ino
|
|
|
+
|
|
|
+How to use ?
|
|
|
+============
|
|
|
+
|
|
|
+* Set up the lib
|
|
|
+* To send a command to the SM130 chip, use the command :
|
|
|
+SM130.send_command(uint8_t cmd, const uint8_t *cmd_args, const uint8_t cmd_args_length, uint8_t *ret, uint8_t *length)
|
|
|
+
|
|
|
+Example :
|
|
|
+SM130.send_command(0x80, NULL,0 ,ret, &len);
|
|
|
+for a reset command.
|
|
|
+
|
|
|
+I suggest you to read the datasheet:
|
|
|
+http://www.sparkfun.com/datasheets/Sensors/ID/SM130.pdf
|
|
|
+
|
|
|
+I bought the module on Sparkfun with an arduino shield :
|
|
|
+https://www.sparkfun.com/products/10126
|
|
|
+https://www.sparkfun.com/products/10406
|
|
|
+and some Mifare 1K tags :)
|
|
|
+
|
|
|
+Have fun !
|
|
|
+
|
|
|
+Thanks
|
|
|
+======
|
|
|
+
|
|
|
+Big thanks to Mupuf
|
|
|
+http://mupuf.org
|
|
|
+https://github.com/mupuf
|