Wall's Corners Wall's Corners Author
Title: NFC Card Reader and the Raspberry Pi
Author: Wall's Corners
Rating 5 of 5 Des:
This example will show how to use a Adafruit NFC shield to read an NFC card using the Arduberry.   Hardware Required: Raspberry Pi Ardu...

This example will show how to use a Adafruit NFC shield to read an NFC card using the Arduberry.

 Raspberry Pi and Near Field Communication Shield Hardware Required:

  1. Raspberry Pi
  2. Arduberry
  3. Adafruit NFC Shield
  4. NFC Cards

Step 1

Slide on the Adafruit NFC shield on the Arduberry and power on the Pi.

Raspberry Pi and Adafruit Near Field Communication Shield for Arduino

 Step 2

Download the Adafruit NFC shield I2C library on the Raspberry Pi using the Netsurf Browser and save it in /usr/share/Arduino/libraries and extract it there.

nfc_lib_dwld

Step 3

Open , and open the example readMifare from the Adafruit_NFCShield_I2C folder. Change the programmer to Raspberry Pi GPIO and upload the sketch to the Arduberry(use Ctrl+Shift+U).upload4

open

Step 4

The data that is coming from the NFC shield is coming at 115200 baud, so we need to configure minicom. Open a terminal and open minicom setup

minicom -s

mincom_s Go to Serial Port Menu and press Enter serial_port_menu   Press to select the device and change it to /dev/ttyAMA0 and press enter to save it. Also press to disable Hardware Flow Control. Press Enter to save the settings. settings Select Exit to open minicom. exit

 Step 5

Now place the NFC card over the Shield to see the data stored in the NFC card. data_card

Raspberry Pi and NFC Shield

 

 

Share This:

View more at: http://yoursmart.mobi

About Author

Advertisement

Post a Comment

 
Top