In a new Internet-like structure called Internet of Things, the MicroNFCBoard integrated development platform is just a new devices able to take part of the networking paradigm into controlling devices. Engineered to make the life easier for those involved in NFC (Near Field Communication) projects, the platform host an NFC transceiver, a powerful onboard ARM Cortex-M0 microcontroller powerful enough to control a bunch of things through its various peripherals, and a set of software to build NFC applications.
The MicroNFCBoard integrated development platform is released as an open-source solution and is compatible with embedded devices such as Arduino and Raspberry Pi, or mbed development platform, and also its compatible with a PC or Mac.
In online are available many NFC-enabled boards but with a limited software that can be used by a maker. The MicroNFCBoard is designed to solve this problem, and more than that, the board is able to boost the prototyping phase with a series of features able to cut the time and offer the users a full control over the features.
You can add your own code to the microcontroller, interact with all the NFC modes through an API interface, and visualize all the inputs and outputs through an NFC-enabled Android app – a functionality called AppNearMe.
Table of Contents
ToggleMicroNFCBoard API
Three main NFC modes can be used through API’s:
- Tag reading/writing (types 1, 2, 3 and 4)
- Peer-to-peer (Android Beam/SNEP)
- Tag emulation (type 4)
Encode and decode NFC data
Another option available in MicroNFCBoard is encoding and decoding NFC data. Four different formats can be encoded and decoded:
- URL/URI
- Text
- Bluetooth pairing info
- MIME Type + data
Programming the MicroNFCBoard
Programming is more simple than I expected. The board can be programmed using the mbed online IDE and librariesto. All the code can be transferred in the board memory via USB with simple gestures such as drag-and-drop the program.
Code Sample
This is a sample code how you can receive content from Android Beam (SNEP).