Introduction
The PN532 NFC RFID Module can be used for near field communication purposes at 13.56MHz. It has two switches on board, SEL0 and SEL1 that allows easy configuration between I2C, SPI, and UART modes. It supports RFID reading and writing, and NFC function with Android phone, making it quite convenient for wireless connection with a maximum distance of 3cm.
In this guide, we'll show you how to connect it to the Raspberry Pi through I2C.
Complete this guide to get started with using the PN532 NFC RFID Module with the Raspberry Pi!
Complete this guide to get started with using the PN532 NFC RFID Module with the Raspberry Pi!
Tools
-
-
-
-
-
-
-
-
-
-
-
# Allow device auto-detection (default: true) # Note: if this auto-detection is disabled, user has to set manually a device # configuration using file or environment variable allow_autoscan = true # Allow intrusive auto-detection (default: false) # Warning: intrusive auto-detection can seriously disturb other devices # This option is not recommended, user should prefer to add manually his device. allow_intrusive_scan = false # Set log level (default: error) # Valid log levels are (in order of verbosity): 0 (none), 1 (error), 2 (info), 3 (debug) # Note: if you compiled with --enable-debug option, the default log level is "debug" log_level = 1 # Manually set default device (no default) # To set a default device, you must set both name and connstring for your device # Note: if autoscan is enabled, default device will be the first device available in device list. #device.name = "_PN532_SPI" #device.connstring = "pn532_spi:/dev/spidev0.0:500000" device.name = "_PN532_I2c" device.connstring = "pn532_i2c:/dev/i2c-1" -
-
-