TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 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 (136222 times)
  2. FAT32 Library (69488 times)
  3. Network Ethernet Library (55706 times)
  4. USB Device Library (45992 times)
  5. Network WiFi Library (41639 times)
  6. FT800 Library (40785 times)
  7. GSM click (28788 times)
  8. PID Library (26332 times)
  9. mikroSDK (26054 times)
  10. microSD click (25141 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: 11780 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

Buck 5 click

5

Buck 5 click is a high-efficiency buck (step-down) DC/DC converter, which can provide digitally adjusted step-down voltage on its output while delivering a considerable amount of current.

[Learn More]

4x4 RGB click

1

4x4 RGB click carries a matrix of 16 RGB LEDs and a MCP1826 low dropout regulator. The LED matrix is connected to the target board microcontroller through the mikroBUS RST pin. The board uses either a 3.3V or 5V power supply.

[Learn More]

RS232 isolator click

5

RS232 Isolator click is a fully isolated dual transceiver click, used to provide secure and easy UART to RS232 conversion, with the galvanic isolation.

[Learn More]