PN532 NFC RFID Module
KES 1,200.00
- Stock: In Stock
- Model: PN532 NFC RFID Module
- SKU: 3736
Your shopping cart is empty!
We recently hear a lot about NFC. This feature is available in the latest high end smart phones present in the market. NFC stands for Near Field Communication. NFC is a protocol designed for smart phones and similar devices to establish radio communication with each other by touching them together or bringing them into close proximity, usually no more than a few centimeters. This type of communication is needed for simple and fast data exchange between devices.
And for engineers and hobbyists, it is another important communication method. And for establishing this NFC communication, we can use this PN532 MODULE. This module acts a modem to send and receive data.
PN532 is NFC RFID (Radio Frequency Identification) module. This module is built around NXP PN532 IC. NXP PN532 IC is very popular in NFC applications.
The description of each pin of the module is given below.
Pin Number | Description |
VCC | Should be power source. |
GND | Should be connected to ground. |
SDA/TXD | SDA: Serial Data pin[I2C Interface] TXD: Transmit pin[UART Interface] |
SCL/RXD | SCL: Serial Clock pin[I2C Interface] RXD: Receive pin [UART Interface] |
SCK | Serial Clock pin [SPI Interface] |
MISO | Master Input Slave Output pin [SPI Interface] |
MOSI | Master Output Slave Input pin [SPI Interface] |
SS | Slave Select pin [SPI Interface] |
IRQ | Interrupt Signal pin [SPI Interface] |
RSTO | Reset pin |
Note: Complete technical details can be found in the PN532 Datasheet given at the bottom of this page.
RMD6300, RC522, EM-18
For using PN532 module, first we will choose the mode of communication between MODULE and CONTROLLER. As mentioned earlier, this module has three interfaces, of which we have to choose one. Remember at any given point of time only one of three interfaces can be used. All three cannot be used together. We will have to choose the mode of interface using two switches solder to the board. The switches are S1 and S2 shown in pin diagram.
S1 | S2 | Interface |
OFF | OFF | HSU (High Speed UART) |
ON | OFF | I2C |
ON | ON | SPI |
Choose the mode of interface and corresponding state of switches from above table. Next toggle the switches S1 and S2 to those positions.
After choosing the type of interface, connect the module to the controller or processor. Say if you opted to use I2C, then connect module to I2C of the controller. If you opted to use SPI, then connect module to SPI of controller.
After interfacing you have to download the library files for the module from corresponding websites. Say for ARDUINO platform [https://www.arduinolibraries.info/libraries/adafruit-pn532]. Save the library files in the IDE program files.
Now all that left is to write the program for the controller or ARDUINO in the IDE software. And do call up on the saved library files while writing the program. With those libraries we can directly communicate with the module while skipping all the steps of communication protocol.
Once the programming is done, power up the circuit to get the desired response.