Answer the question
In order to leave comments, you need to log in
PN532V3 Sensor (NFC) + Raspberry - Python?
Hello!
Guys, I connected PN532V3 (namely version 3, red, square) to raspberry pi2 B, there are only 4 wires.
I can’t write a program in python, because I don’t understand how it should work.
Before that, he dealt with sensors, wrote programs of this type, for example, for a reed switch sensor:
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(3, GPIO.IN)
signal = GPIO.input(3)
if signal:
print 'The door is open'
else:
print 'The door is close'
GPIO.cleanup()
Answer the question
In order to leave comments, you need to log in
PN532 is a contactless card chip. Why do you call it a sensor?
What interface did you connect it to: SPI, I2C, UART? There is a mode switch on the PN532 board.
To work with the board, you need the libnfc library.
There is no mention of working with anything similar to NFC in your code. First, describe what result you want to get?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question