ICT: Diary
D: 28 W: 05

< January 2016 >
Sun Mon Tue Wed Thu Fri Sat
 12
3456789
10111213141516
17181920212223
24252627282930
31 

Based on notaweblog.php by joshua stein

[ ] Sunday, 10 January 2016 [ ]

nfc

Finally set up my PN532 breakout board nfc with my raspberry pi.

user@raspberrypi ~/libnfc/examples $ sudo ./nfc-poll
[sudo] password for fred: 
/home/fred/libnfc/examples/.libs/lt-nfc-poll uses libnfc libnfc-1.7.1-66-g24979c6
error   libnfc.driver.pn532_uart        pn53x_check_communication error
lt-nfc-poll: ERROR: Unable to open NFC device.

This error was due to RX/TX wires being connected wrong to the pi cobbler.

user@raspberrypi ~/libnfc/examples $ sudo ./nfc-poll
/home/fred/libnfc/examples/.libs/lt-nfc-poll uses libnfc libnfc-1.7.1-66-g24979c6
NFC reader: pn532_uart:/dev/ttyAMA0 opened
NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04  
       UID (NFCID1): 3b  2f  8a  0c  
      SAK (SEL_RES): 08  
nfc_initiator_target_is_present: Target Released
Waiting for card removing...done.

Device working.

PN532 from Adafruit
raspberry pinfc


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $