Loading...

You have no items in your shopping cart.

 
 
 
×

Registration

Profile Informations

Login Datas

or login

First name is required!
Last name is required!
First name is not valid!
Last name is not valid!
This is not an email address!
Email address is required!
This email is already registered!
Password is required!
Enter a valid password!
Please enter 6 or more characters!
Please enter 16 or less characters!
Passwords are not same!
Terms and Conditions are required!
Email or Password is wrong!
Captcha is required!
Captcha is wrong!

IFLAT32 nRF24L01+ Library & Demo

We make a nRF24L01 wireless library for IFLAT32, then you can plug the nRF24L01 module on the IFLAT32 and  use this library to drive wireless module for communication.

The v1.0 version just provide you some basis function which to initial the module , set the power, speed and so on.

Functions:
void nRF24L01_HW_Init(void)
This function is used to initial the hardware setting of the module, it should be used at the beginning of you main code.
unsigned char nRF24L01_Config(unsigned char freq,unsigned char power,unsigned char rate)
This function is used to configure some setting of the module like frequent, power and speed.
Parameters:
unsigned char freq: set the frequent , can be 0-120 , means (2400+ freq)M, so you can let the module work in 2.4G to 2.52G
unsigned char power: set the power , it should be ‘P0dBm’,’P6dBm’,’P12dBm’ or ‘P18dBm’
unsigned char rate: set the transmit speed, should be ‘R2mbps’, ‘R2mbps’ or ‘R125kbps’
void nRF24L01_Set_TX_Address(unsigned char A,unsigned char B,unsigned char C,unsigned char D,unsigned char E)
void nRF24L01_Set_RX_Address(unsigned char A,unsigned char B,unsigned char C,unsigned char D,unsigned char E)
Set the hardware address of TX and RX. Each parameter can be 0×00 to 0xFF

void RX_Mode(void) AND void TX_Mode(void)
Initial the module into RX or TX module.
void nRF24L01_TxPacket(unsigned char * tx_buf)
Send out the date from buffer where the tx_buf point to.
unsigned char nRF24L01_RxPacket(unsigned char* rx_buf)
Read out one char from the position where the rx_buf point to.

You can download the library here:

  IFLAT32 nRF24L01+ Library For STM32 GCC (3.7 KiB, 1,441 hits)

And here are two CoIDE project demo – one is for TX mode and the other one is RX mode, these two demo should be used together and will show you how to use this library to build the communication between two IFLAT32 with nRF24L01 module.

  RxDemo for nRF24L01 library (642.1 KiB, 1,409 hits)

  TxDemo for nRF24L01 library (646.8 KiB, 1,294 hits)