• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoArduino-ish ProgramSPINRF24L01 for pcDuino
Previous Next

NRF24L01 for pcDuino

Posted by: admin , April 9, 2014

[vc_row][vc_column width=”1/1″][vc_column_text]The nRF24L01 is a highly integrated, ultra low power (ULP) 2Mbps RF transceiver IC for the 2.4GHz ISM (Industrial, Scientific and Medical) band. With peak RX/TX currents lower than 14mA, a sub μA power down mode, advanced power management, and a 1.9 to 3.6V supply range, the nRF24L01 provides a true ULP solution enabling months to years of battery lifetime when running on coin cells or AA/AAA batteries. The Enhanced ShockBurst™ hardware protocol accelerator additionally offloads time critical protocol functions from the application microcontroller enabling the implementation of advanced and robust wireless connectivity with low cost 3rd-party microcontrollers.

The nRF24L01 integrates a complete 2.4GHz RF transceiver, RF synthesizer, and baseband logic including the Enhanced ShockBurst™ hardware protocol accelerator supporting a high-speed SPI interface for the application controller. No external loop filter, resonators, or VCO varactor diodes are required, only a low cost ±60ppm crystal, matching circuitry, and antenna.

[/vc_column_text][vc_tour][vc_tab title=”Features” tab_id=”1397031587-1-19″][vc_column_text]

  • Low cost single-chip 2.4GHz GFSK RF transceiver IC
  • Worldwide license-free 2.4GHz ISM band operation
  • 1Mbps and 2Mbps on-air data-rate
  • Enhanced ShockBurst™ hardware protocol accelerator
  • Ultra low power consumption – months to years of battery lifetime
  • On-air compatible with all Nordic nRF24L Series in 1 and 2Mbps mode
  • On-air compatible with Nordic nRF24E and nRF240 Series in 1Mbps mode

[/vc_column_text][/vc_tab][vc_tab title=”Applications” tab_id=”1397031587-2-42″][vc_column_text]

  • PC peripherals
  • Gaming
  • Sports and fitness
  • Toys
  • Consumer electronics

[/vc_column_text][/vc_tab][vc_tab title=”Parts List” tab_id=”1397031884409-2-3″][vc_column_text]

  1. 1 x pcDuino v2 or pcDuino3
  2. 1 x Arduino Uno
  3. Several male to female jumpers

[/vc_column_text][/vc_tab][vc_tab title=”Sample Codes” tab_id=”1397031937381-3-7″][vc_column_text]

In this project, the Arduino part will talk to pcDuino side.

The codes are listed below:

Arduino Code : nRF24L01_For_Arduino

pcDuino Code:nRF24L01_For_pcDuino

[/vc_column_text][/vc_tab][vc_tab title=”Wire Diagram” tab_id=”1397032002166-4-5″][vc_column_text]

[/vc_column_text][/vc_tab][vc_tab title=”Run” tab_id=”1397032061422-5-10″][vc_column_text]1. Wire per the diagram:

2. Download the code from the previous section. Here we will use pcDuino as a transmitter, and Arduino as the receiver.

  • On the PC that is connected to the Arduino, open Arduino IDE, load the receiver code for Arduino Uno, build and load to Arduino:

  • On pcDuino, open the built-in Arduino IDE, and open the transmitter code in the Arduino IDE, build and run:

3. Use the serial monitor on the Arduino IDE on the Arduino Uno side (baud rate is 9600), we can observe the data being sent from pcDuino side:

[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: SPI

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors