[フレーム]
Keil Studio Cloud

Important update: Arm Announces End of Life Timeline for Mbed. This site will be archived in July 2026. Read the full announcement.

PN532 Breakout Board

Table of Contents

  1. Getting Started

Created by AppNearMe

/media/uploads/AppNearMe/footer.png

Visit us at http://www.appnearme.com/

NFC with AppNearMe

Adafruit offers a NFC breakout board which is also packaged as a full kit including a mbed & other parts to get you started.

/media/uploads/AppNearMe/_scaled_mbedpn532board.jpg

Getting Started

Wiring it up

First of all pinheads need to be soldered on the board's main connector as well as on the two jumpers' location.

The board's NFC controller (PN532) can either be configured for serial, I2C or SPI communication. The stack is currently configured to use SPI so the jumpers need to be configured accordingly: SEL0 off and SEL1 on.

/media/uploads/AppNearMe/_scaled_mbedpn532boardselectors.jpg

Now the relevant pins must be connected to the mbed.

NFC Boardmbed
3.3VVOUT
SCKSPI SCK
MISOSPI MISO
MOSI/SDA/TXSPI MOSI
SSEL/SCL/RXOutput Pin (Slave Select)
RSTOUT_NNot Connected
IRQInterrupt Pin (Interrupt)
GNDGND
5.0VNot Connected

/media/uploads/AppNearMe/_scaled_mbedpn532boardconnector.jpg

Test

Import program AppNearMe_MuNFC_PN532_Test

Test of the μNFC stack with the Adafruit PN532 board

Last commit 14 Sep 2012 by AppNearMe Official

This program demonstrates how to transfer data between a phone application and your mbed. In this version it just dumps a text entered on the phone on the mbed USB serial interface, and transfers another text back for display on the phone.

The default pin mapping for this program is the following but you can change it in the MuNFC constructor's parameters.

NFC Boardmbed
3.3VVOUT
SCKp13
MISOp12
MOSI/SDA/TXp11
SSEL/SCL/RXp19
RSTOUT_NNot Connected
IRQp18
GNDGND
5.0VNot Connected

Load the program, reset the mbed and approach you Android NFC phone!

You should be able to download the app from the Google Play Store. Then, tap the device again and you will get the interface.

Software

The μNFC stack is available as a library; it is fully documented with Doxygen.

Import library AppNearMe_MuNFC_PN532

AppNearMe μNFC stack for the NXP PN532 chip License: You can use the stack free of charge to prototype with mbed; if you want to use the stack with your commercial product, get in touch!

Last commit 15 Jan 2013 by AppNearMe Official

More info on the μNFC stack page.

Developing your mobile application

For more info, visit our website: http://www.appnearme.com/


All wikipages
Recent changes
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.

Access Warning

You do not have the correct permissions to perform this operation.

×

AltStyle によって変換されたページ (->オリジナル) /