I’ve recently been messing around with the STM32 - BlackPill microcontroller, and found that the pinout exactly matches that of the PN532 NFC module. Allowing them to be soldered directly toegether into a small form factor rfid scanner (with USB type-C!).
I first soldered header pins to the NFC module, then pried off the plastic spacer.
Next I put down a strip of Kapton tape to insulate the two boards.
Lastly, I placed the STM32 hard up against the NFC module and soldered it into place, before trimming the excess length off of the header pins.
The code is based on this library by elechouse.
Using the example code as a starting point, the protocol is set to I2C.
Then the following two lines are added to the beginning of void setup(): Wire.setSDA(PB9); Wire.setSCL(PB8);
And thats it!
The code is flashed to the STM32 and voilà!
I also painted over the led on the NFC module with black nail polish as its very bright otherwise. At this time I don’t know if it can be remove altogether withought causing other issues.
Oooo…disregard if annoying, but is there any way I could beg, borrow or buy one of these off of you? I have made a few LED necklaces based on this rad battery holder design, and I really want to try to make a necklace antennae for just lighting up my xSIID LED.
I could make something like this on my own, but yours are gorgeous and I’d love a collab.