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 (136638 times)
  2. FAT32 Library (69845 times)
  3. Network Ethernet Library (55895 times)
  4. USB Device Library (46230 times)
  5. Network WiFi Library (41867 times)
  6. FT800 Library (41089 times)
  7. GSM click (28947 times)
  8. PID Library (26402 times)
  9. mikroSDK (26320 times)
  10. microSD click (25329 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

BEE click

Rating:

0

Author: MIKROE

Last Updated: 2019-07-29

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: ZigBee

Downloaded: 11829 times

Followed by: 1 user

License: MIT license  

This project is a simple demonstration of working with the BEE click board.
The on-board MRF24J40MA is a 2.4 GHz IEEE 802.15.4 radio transceiver module and operates in the 2.4GHz frequency band.

No Abuse Reported

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

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

Do you want to report abuse regarding "BEE click".

  • mikroSDK Library 2.0.0.0
  • Comments (7)
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

BEE Click board

BEE Click board

Front and back view of BEE click board designed in mikroBUS form factor. mikroBUS is specially designed pinout standard with SPI, I2C, Analog, UART, Interrupt, PWM, Reset and Power supply pins.

View full image

Library Description

The library covers all the necessary functions to control BEE click board. The library performs the communication with the device via SPI driver by writing to registers and by reading from registers.

Key functions:

  • void bee_writeByteShort( uint8_t regAddress, uint8_t writeData ) - Write the byte of data to the short register address function.
  • uint8_t bee_readByteLong( uint16_t regAddress ) - Read the byte of data from the long register address function.
  • void bee_readRxFIFO( uint8_t *rxData ) - Read RX FIFO function.

Examples description

The application is composed of the three sections :

  • System Initialization - Initializes SPI, LOG structures, set INT pin as input and AN, RST and CS pins as output and start to write log.
  • Application Initialization - Initialization driver enables - SPI, sets initialization BEE Click as a receiver, also write log.
  • Application Task - This is an example which demonstrates the use of BEE Click board. In this example, we use BEE Click to receive data. Results are being sent to the USART Terminal where you can track their changes. All data logs on usb uart for approximately every 1 sec when the data value changes.
void applicationTask()
{
    if( bee_interruptActivity() )
    {
        tmp = bee_readByteShort( _BEE_INTSTAT );
        bee_readRxFIFO( &rxData );
        Delay_100ms();
    
        if ( rxData[ 0 ] != rxDataOld )
        {
            ByteToStr( rxData[ 0 ], logText );
            mikrobus_logWrite( logText, _LOG_LINE );
            rxDataOld = rxData[ 0 ];
        }
    }
}

Other mikroE Libraries used in the example:

  • SPI
  • UART
  • Conversion

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

I2C Extend 2 click

5

I2C Extend 2 Click is a compact add-on board suitable for I2C communication bus extension. This board features the PCA9615, a 2-channel multipoint differential I2C bus buffer with hot-swap logic from NXP Semiconductors.

[Learn More]

EnOcean 4 click

5

EnOcean 4 Click carries a ultra-low power TCM515U transceiver gateway module which operates at 902MHz radio band, perfectly suited for the realization of transceiver gateways, actuators and controllers for systems communicating based on the EnOcean radio standard.

[Learn More]

Matrix R click

0

Matrix R click is a mikroBUS add-on board with two red 5x7 matrices driven by two MAX7219 8-bit LED Display Drivers. The active area of each matrix is 7.62mm high and 5.08 mm wide. 7x5 is a standard resolution for displaying ASCII characters, so the click is essentially a dual-character display capable of showing letters in more readable typefaces compared to a 14-segment display. The click communicates with the target MCU through the mikroBUS:tm: SPI interface with two separate Chip Select lines for each matrix (CSL for the left, CSR for the right). This board is designed to use a 5V power supply.

[Learn More]