TOP Contributors

  1. MIKROE (2649 codes)
  2. Alcides Ramos (350 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 (136522 times)
  2. FAT32 Library (69720 times)
  3. Network Ethernet Library (55833 times)
  4. USB Device Library (46164 times)
  5. Network WiFi Library (41797 times)
  6. FT800 Library (40980 times)
  7. GSM click (28920 times)
  8. PID Library (26383 times)
  9. mikroSDK (26273 times)
  10. microSD click (25296 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: 11812 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

8x8 G click

5

8x8 clicks are 8x8 LED matrix displays in form of add-on boards in mikroBUS form factor. Boards feature MAX7219 8-digit LED display driver module as well as 64 LED diodes.

[Learn More]

IR Beacon click

0

IR Beacon click is a mikroBUS™ add-on board with an array of nine high speed infrared emitting diodes.

[Learn More]

MINI-M0 STM32 Board Examples

5

Examples for MINI-M0 STM32 Board. Provided examples demonstrate working with on-board LEDs, internal ADC and UART module via the USB UART interface.

[Learn More]