No Description

Pi3rrot 6159c73019 New function : seek_tag 10 years ago
lib 6159c73019 New function : seek_tag 10 years ago
src 6159c73019 New function : seek_tag 10 years ago
LICENSE bbd2951bc9 Initial commit 10 years ago
README.md 6159c73019 New function : seek_tag 10 years ago
make.sh 6159c73019 New function : seek_tag 10 years ago

README.md

SM130

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 !

Functions :

send_command => to send a command directrly to the hardware, and print response. seek_tag => detect if a tag is in field, check the type, and print the serial number.

Thanks

Big thanks to Mupuf http://mupuf.org https://github.com/mupuf