Usually, PN532 is used to work on USB serial board. And with Bluetooth Serial Board, it can be turned into a wireless RFID Detector. Here’s the tutorial of How to make PN532 work on Bluetooth.
Step 1: Prepare materials and tools
The boards and main parts we need.
- PN532 *1
- USB2TTL *1
- HC-06 Bluetooth Serial Board *1
- Dupont Line *4
- Battery *1
Step 2: Test PN532 on USB2TTL
Testing on PN532 on USB2TTL is necessary to make sure this 2 module work can work well and can forward to next steps. Or you can pause here if you just need PN532 to work on USB.
Connection of USB serial Module and PN532 Module: VCC ->> VCC USB GND ->> GND PN532 Serial TXD ->> RXD Module RXD ->> TXD
Software or apps we’re using for testing.
- MTools, RFID Tools, Serial Bluetooth Terminal on Android
- Coolterm on MacOS or Serial Port Utility on Windows
Step 3: Config Bluetooth Module
Bluetooth Serial Module I’m using is HC-06, which has a default Baud at 9600. So it has to be adjusted to 115200 which PN532 works on.
Connection of USB serial Module and Bluetooth Module: VCC ->> VCC HC-06 GND ->> GND PN532 SPP TXD ->> RXD Module RXD ->> TXD
HC-06 model can be configured on AT mode when it’s not wireless connected. Remember to set the default Baud to 9600 at SPP program at first time.
Check Connection: AT >> OK
Change NAME: AT+NAMEMT-PN532 >> OKsetname
Change BAUD to 115200: AT+BAUD8 >> OK115200
Check VERSION: AT+VERSION >> LinvorV1.8
Step 4: Connect PN532 and Bluetooth Module
Connect PN532, Bluetooth serial module and the battery to finish all work.
Connection of PN532 and Bluetooth Module: VCC ->> VCC HC-06 GND ->> GND PN532 SPP TXD ->> RXD Module RXD ->> TXD
Step 5: Bingo! Here it is!
Now try to enjoy read and write with this wireless reader. 😀
Something New Coming soon
One of my another new projects for the RFID PN532, named MT-PN532 extended board, is under testing and designing to bring battery and Bluetooth on a single board.
- USB or Bluetooth working mode.
- Config Bluetooth parameters.
- Full MTools supported.