MikroElektronika NFC Click Element
The NFC click element is used to read NFC tags. This element is for using the MikroElektronika NFC Click board.
The NFC click is a sensor element that can be imported into the Element Toolbox through the Add Element button located in the toolbox from the Embedded tab.
The following properties can be changed for the NFC click element:
The name of the element.
GPIO Driver Instance
The GPIO driver instance number to use.
I2C Driver Instance
The I2C bus used to communicate with the board.
The I2C address the element sends data to. Typically
The platform-specific interrupt GPIO pin.
The platform-specific reset GPIO pin.
Tag Poll Rate (ms)
The rate the driver polls for a new tag in milliseconds.
Typically every 500ms to 1000ms provides good responsiveness without slowing down the system.
The following triggers are available to execute events from within the NFC click element:
Execute an event when the source element connected to the NFC click triggers.
Number of Records Read
Execute an event when an NDEF message is read from a tag. The payload is the number of records in the tag as an unsigned integer.
Text Record Read
Execute an event when a well known text record is read from a tag. The payload is the data as a string.
URI Record Read
Execute an event when a well known URI record is read from a tag. The payload is the URI/URL as a string.
MIME Record Read
Execute an event when a MIME record is read from a tag. The payload is a structure with the following fields:
||62 bytes maximum||Typically a string|
||62 bytes maximum|
The following abilities are available for the NFC click element when its source element triggers:
Trigger the element(s) that follow the NFC click element.