Beginning NFC: Near Field Communication with Arduino, Android, and PhoneGap

Front Cover
"O'Reilly Media, Inc.", Jan 14, 2014 - Computers - 246 pages

Jump into the world of Near Field Communications (NFC), the fast-growing technology that lets devices in close proximity exchange data, using radio signals. With lots of examples, sample code, exercises, and step-by-step projects, this hands-on guide shows you how to build NFC applications for Android, the Arduino microcontroller, and embedded Linux devices.

You’ll learn how to write apps using the NFC Data Exchange Format (NDEF) in PhoneGap, Arduino, and node.js that help devices read messages from passive NFC tags and exchange data with other NFC-enabled devices. If you know HTML and JavaScript, you’re ready to start with NFC.

  • Dig into NFC’s architecture, and learn how it’s related to RFID
  • Write sample apps for Android with PhoneGap and its NFC plugin
  • Dive into NDEF: examine existing tag-writer apps and build your own
  • Listen for and filter NDEF messages, using PhoneGap event listeners
  • Build a full Android app to control lights and music in your home
  • Create a hotel registration app with Arduino, from check-in to door lock
  • Write peer-to-peer NFC messages between two Android devices
  • Explore embedded Linux applications, using examples on Raspberry Pi and BeagleBone
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 Introduction
1
Chapter 2 NFC and RFID
11
Chapter 3 Getting Started with PhoneGap and the PhoneGapNFC Library
23
Chapter 4 Introducing NDEF
49
Chapter 5 Listening for NDEF Messages
75
Chapter 6 An NFC Application in Practice
95
Chapter 7 Introduction to Arduino and NFC
131
Chapter 8 PeertoPeer Exchange
173
Chapter 9 NFC on Embedded Systems
195
Appendix A NFC Specification Codes
223
Index
227
About the Authors
234
Copyright

Other editions - View all

Common terms and phrases

About the author (2014)

Tom Igoe teaches courses in physical computing and networking at the Interactive Telecommunications Program in the Tisch School of the Arts at New York University. In his teaching and research, he explores ways to allow digital technologies to sense and respond to a wider range of human physical expression. He is the author of Making Things Talk and Getting Started with RFID, and he co-authored Physical Computing: Sensing and Controlling the Physical World with Computers with Dan O'Sullivan. He is a contributor to MAKE magazine and a co-founder of the Arduino open source micro-controller project. He hopes someday to visit Svalbard and Antarctica.

Bibliographic information