Hello all, please help me, how to program rfid module PN532?

I dont know to program rfid PN532
My Arduino is uno, and connected button, Interference sensor, LED.
I want the LED to light up when the card is attached to the rfid module. How to find out the rfid card id to add it to the code?

I moved your topic to an appropriate forum category @programmer-10.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Thanks!

I got the impression that you think writing code is as easy as asking

"can somebody post the 40 digit cheat-code to enter platinum-level in a computer-game"?

It is more work than that.

As a general advice:
If you start to work with any kind of component. For example an RFID-reader
google with keywords "Github Arduino" "name_of_the_component"

In your case

and then look up the subfolders named "examples" to find demo-codes that shows code how to use the component.

Then start modifying the code in small steps towards what you want.

SMALL STEPS

You will finish your project much faster in the end if you modify the code in small steps and test again.

But of course people that are in the biggest hurry don't recognise that and will
try this, try that
try this, try that
try this, try that
...
for hours, days, weeks and will have had a nice time beeing excited all the time about
"working so fast"

best regards Stefan

1 Like

install the Adafruit PN532 library
Start with the Example iso14443a_UID

it will tell you the UID of your RFID card.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.