TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136650 times)
  2. FAT32 Library (69863 times)
  3. Network Ethernet Library (55899 times)
  4. USB Device Library (46243 times)
  5. Network WiFi Library (41869 times)
  6. FT800 Library (41106 times)
  7. GSM click (28960 times)
  8. PID Library (26403 times)
  9. mikroSDK (26324 times)
  10. microSD click (25340 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

NFC Extend click

Rating:

5

Author: MIKROE

Last Updated: 2020-01-27

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: RFID/NFC

Downloaded: 3168 times

Not followed.

License: MIT license  

NFC Extend Click is NFC tag device with possibility of using any shape and size external antenna, offering 16 Kbit of electrically erasable programmable memory (EEPROM). This Click Board offer two communication interfaces. The first one is an I2C serial link and can be operated from a DC power supply.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "NFC Extend click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "NFC Extend click" changes.

Do you want to report abuse regarding "NFC Extend click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

NFC Extend click

NFC Extend click

Native view of the NFC Extend click board.

View full image
NFC Extend click

NFC Extend click

Front and back view of the NFC Extend click board.

View full image

Library Description

Library contains function for getting INT pin state, for getting and setting registers via I2C, for presenting and writing password, for enabling/disabling mailbox and RF functionalities and for device initialization.

Key functions:

  • uint8_t nfcextend_password_present ( uint8_t *password_bytes ) - Presenting password to device.
  • uint8_t nfcextend_init ( void ) - Initializing the device.
  • uint8_t nfcextend_enable_mailbox ( uint8_t enable_mailbox ) - Enabling or disabling mailbox.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes GPIO pins, I2C and LOG modules.
  • Application Initialization - Initializes I2C driver, presents password to the device and initializes the device.
  • Application Task - Checks if RF placed a message to mailbox and if it did, checks message length and logs message bytes.
void application_init ( )
{
    nfcextend_i2c_driver_init( (nfcextend_obj_t)&_MIKROBUS1_GPIO, (nfcextend_obj_t)&_MIKROBUS1_I2C, NFCEXTEND_I2C_SLAVE_ADDRESS );
    Delay_ms( 500 );
    
    nfcextend_password_present( &default_password[ 0 ] );
    Delay_ms( 100 );

    init_status_flag = nfcextend_init( );
    Delay_ms( 100 );

    if ( init_status_flag == 1 )
    {
        mikrobus_logWrite( "> App init fail", _LOG_LINE );
    }
    else if ( init_status_flag == 0 )
    {
        mikrobus_logWrite( "> App init done", _LOG_LINE );
    }
}

Additional Functions :

  • nfcextend_wait_for_int( void ) - waits for INT pin to go LOW and than HIGH for time period of 300ms

Other mikroE Libraries used in the example:

  • I2C
  • UART
  • Conversions

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

Buck 19 click

0

Buck 19 Click is a compact add-on board that steps down the voltage from its input (supply) to its output (load). This board features the STPD01, a programmable synchronous buck converter from STMicroelectronics, providing power supply in applications following USB power delivery specifications. The STPD01 provides the desired voltage levels required by USB power delivery systems (USB PD 3.0) via I2C serial interface up to 60W output power, more precisely voltages in the range of 3V to 20V with a step of 20mV minimum, and currents from 0.1A to 3A with a minimum in steps of 50mA. It also offers advanced protection features such as overvoltage, overcurrent, and overtemperature detections.

[Learn More]

Force 3 click

0

Force 3 Click is a compact add-on board with circuitry for implementing Force Sensing Resistor into your projects whose resistance changes when a force, pressure, or mechanical stress is applied.

[Learn More]

CAP Wheel 2 click

5

CAP Wheel 2 Click is a capacitive touch sensor with round-shaped electrodes integrated on a Click boardâ„¢. This click can sense touch even through plastic, wood, or other dielectric materials, which can be used to protect the surface of the PCB and the sensor pad trace itself.

[Learn More]