Difference between revisions of "Microduino-Module nRF"

From Microduino Wiki
Jump to: navigation, search
Line 16: Line 16:
 
|
 
|
 
==Features==
 
==Features==
* Worldwide license-free 2.4GHz ISM band operation
+
*Low apply cost, the link layer is fully integrated in the module, very easy to develop;
* Using the U-Shape 27-pin interface (UPin-27), the standard interface of Microduino
+
*Automatic retransmission function, automatic detection and resend the lost packets. Retransmission time and retransmission times can be controled by software;
* Delivered ready to plug in.
+
*Automatic store the packets that didn't received response signal;
* 2.54mm (0.1 inch) pin pitch, compatible to bread board and hole board
+
*Automatic reply function, after receipt of a valid data, module will send response signal automatically, no need programming again;
 +
*Set six receiving channel address at the same time and selectively open the receiver channel;
 +
*Standard pin 2.54 MM spacing interface, convenient for embedded application;
 +
*Small, cheap, stackable, opened platfrom;
 +
*Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;
 +
*Defines unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly.
 +
*2.54 pitch row female connector for easy integration into breadboard.
  
  
|-
+
==Specification==
|
+
*Global opened 2.4 GHz ISM band, the maximum 0 DBM transmission power, free license to use;
==Specifications==
+
*Low working voltage: 1.9 ~ 3.6V low voltage;
* Auto Acknowledge
+
*SMA antenna, easy to replace;
* Auto Re-Transmit
+
*Support six channels data reception;
* 100m Range at 250kbps
+
*High rate: 2 MBPS, due to the air transport time is very short, greatly reduce the collision phenomenon in the wireless transmission (software set 2 MBPS or 256 KBPS, 1 MBPS air transmission rate);
* 250kbps to 2Mbit Data Rate
+
*Multi-frequency points: 125 frequency points, support the requirements of multipoint communication and frequency hopping communication;
* 32 Byte separate TX and RX FIFOs
+
*Low power consumption: when work in answer mode communication, fast air transport and the startup time, greatly reduce the current consumption.
* Software selectable channel from 2400MHz to 2525MHz (125 Selectable channels)
 
* 1Mbps and 2Mbps on-air data-rate
 
* Enhanced ShockBurst? hardware protocol accelerator
 
  
 
===Pin Description===
 
===Pin Description===
:[[file:Micrduino-nRF24-1.jpg|800px|thumb|center|Microduino-nRF24 Spec]]
+
 
<br style="clear: left"/>
+
[[File:nRF-Pinout-1.jpg|800px|thumb|center|Microduino-nRF-Pinout]]
  
 
{|class="wikitable"
 
{|class="wikitable"
! rowspan="1" | NRF24L01 I/O || Microduino I/O || Function
+
! rowspan="1" | NRF24L01 Pin || Microduino Pin || Function
 
|-
 
|-
| SCK|| D13 || SPI clock
+
| SCK|| D13 || SPI bus clock
 
|-
 
|-
| SI || D12 || Data input
+
| SI || D12 || Data input pin
 
|-
 
|-
| SO  || D11 || Data output
+
| SO  || D11 || Data output pin
 
|-
 
|-
| CSN || D10 || SPI choose
+
| CSN || D10 || SPI Chip-select signal (Defined in program)
 
|-
 
|-
| CE || D9 || RX/TX mod choose
+
| CE || D9 || RX or TX Mode selection (Defined in program)
 
|}
 
|}
  
|-
+
==Document==
|
+
Eagle PCB '''[[File:Microduino-nRF24.zip]]'''
 +
 
 +
 
 +
===Main Components===
 +
* Chip:'''[[File:NRF24L01 datasheet.pdf]]'''
 +
* crystal:'''[[File:HCX-3SB-16M.pdf]]'''
 +
* IPEX antenna base: '''[[File:IPEX_SMA.pdf]]'''
  
==Documents==
 
* Snapshot of '''[[Microduino-nRF24]]''' schematic
 
* '''[[Microduino-nRF24]]''' Eagle source file 【'''[[media:Microduino-nRF24.zip|download]]'''】
 
* '''[[Microduino-nRF24]]''' main chips and devices
 
** Main chip: '''[[media:nRF24L01_Product_Specification_v2_0.pdf|Datasheet of nRF24]]'''
 
  
|-
 
|
 
 
==Development==
 
==Development==
* Arduino IDE library and support
+
===Arduino library and support package===
** '''[[Microduino-nRF24]]''' nRF24 network library github.com【'''[https://github.com/maniacbug/RF24Network/ download]'''】
+
*Use RF24 library, refer to RF24 library file and RF24Network library file:
* '''[[Microduino-nRF24]]''' workshops
+
**【RF24 library'''[https://github.com/maniacbug/RF24/ github ]''' 】
**【'''[[Learn to use Microduino-nRF24]]'''】
+
**【 RF24Network library '''[https://github.com/maniacbug/RF24Network/ github ]'''】
 +
 
 +
 
 +
==Application==
  
|-
+
===Download Program===
|
+
Test Program:'''[[File:Program_Test_NRF.zip]]'''
 +
 
 +
===Two Microduino core communicate via Nrf24===
 +
*Prepared hardware:Microduino FT232R, Microduino Core*2, Microduino Nrf24*2;
 +
*Prepared software:Microduino example program (Arduino part), Arduino IDE(1.0 release and upper), RF24 library, RF24Network library;
 +
*Copy the downlaoded library to libraries folod of Arduino IDE;
 +
*Start Arduino IED, open Microduino example program, select board "Microduino Core (Atmega328P@16M,5V)", download directly;
 +
*The sending and receiving wiring picture:
 +
[[File:Send.png|thumb|600px|center|Sending wiring picture]]
 +
 
 +
[[File:Rec.png|thumb|600px|center|Receiving wiring picture]]
 +
 
 +
 
 +
 
 +
*Observation
 +
**Sending end can control receiving end's LED by button.
 +
**Sending end potentiometer can control the lightness of LED for receiving end.
 +
 
 +
==Bug==
  
==Buy==
 
* Buy '''[http://www.microduino.cc/Modules/Microdoino%20Extension%20Modules/nRF24 Microduino-nRF24]'''
 
  
|-
 
|
 
 
==History==
 
==History==
 
  
|-
 
|
 
==Pictures==
 
[[file:Microduino-nRF24-t.jpg|thumb|600px|center|Microduino nRF24 Front]]
 
  
[[file:Microduino-nRF24-b.jpg|thumb|600px|center|Microduino nRF24 Back]]
+
==Picture==
 +
[[File:Microduino-nRF24-t1.jpg|thumb|600px|center|Front]]
 +
[[File:Microduino-nRF24-b1.jpg|thumb|600px|center|Back]]
  
 +
==Video==
  
 
|}
 
|}

Revision as of 06:12, 3 March 2014

Language: English  • 中文
Microduino-nRF24

Microduino-nRF24 uses the newest 2.4GHz transceiver nRF24L01 from Nordic Semiconductor. This transceiver IC operates in the 2.4GHz band and has many new features! Take all the coolness of the nRF2401A and add some extra pipelines, buffers, and an auto-retransmit feature.

Designers can use Microduino-nRF24 in project without any wireless design , and just need to stack it with Microduino-Core or Microduino-Core+ through UPin-27, the standard Microduino interface will attach nRF24 and MCU with SPI bus, on transferring data.

Microduino-nRF24 works in the 1.9 to 3.6v voltage, the on-chip DC-DC regulator will automatically step down supply voltage to proper level.

Note: We now populate these boards with the nRF24L01+. The '+' version of the IC has improved range, sensitivity, and data rates. The command set is backward compatible with the original nRF24L01.


Features

  • Low apply cost, the link layer is fully integrated in the module, very easy to develop;
  • Automatic retransmission function, automatic detection and resend the lost packets. Retransmission time and retransmission times can be controled by software;
  • Automatic store the packets that didn't received response signal;
  • Automatic reply function, after receipt of a valid data, module will send response signal automatically, no need programming again;
  • Set six receiving channel address at the same time and selectively open the receiver channel;
  • Standard pin 2.54 MM spacing interface, convenient for embedded application;
  • Small, cheap, stackable, opened platfrom;
  • Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;
  • Defines unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly.
  • 2.54 pitch row female connector for easy integration into breadboard.


Specification

  • Global opened 2.4 GHz ISM band, the maximum 0 DBM transmission power, free license to use;
  • Low working voltage: 1.9 ~ 3.6V low voltage;
  • SMA antenna, easy to replace;
  • Support six channels data reception;
  • High rate: 2 MBPS, due to the air transport time is very short, greatly reduce the collision phenomenon in the wireless transmission (software set 2 MBPS or 256 KBPS, 1 MBPS air transmission rate);
  • Multi-frequency points: 125 frequency points, support the requirements of multipoint communication and frequency hopping communication;
  • Low power consumption: when work in answer mode communication, fast air transport and the startup time, greatly reduce the current consumption.

Pin Description

File:NRF-Pinout-1.jpg
Microduino-nRF-Pinout
NRF24L01 Pin Microduino Pin Function
SCK D13 SPI bus clock
SI D12 Data input pin
SO D11 Data output pin
CSN D10 SPI Chip-select signal (Defined in program)
CE D9 RX or TX Mode selection (Defined in program)

Document

Eagle PCB File:Microduino-nRF24.zip


Main Components


Development

Arduino library and support package

  • Use RF24 library, refer to RF24 library file and RF24Network library file:


Application

Download Program

Test Program:File:Program Test NRF.zip

Two Microduino core communicate via Nrf24

  • Prepared hardware:Microduino FT232R, Microduino Core*2, Microduino Nrf24*2;
  • Prepared software:Microduino example program (Arduino part), Arduino IDE(1.0 release and upper), RF24 library, RF24Network library;
  • Copy the downlaoded library to libraries folod of Arduino IDE;
  • Start Arduino IED, open Microduino example program, select board "Microduino Core (Atmega328P@16M,5V)", download directly;
  • The sending and receiving wiring picture:
Sending wiring picture
Receiving wiring picture


  • Observation
    • Sending end can control receiving end's LED by button.
    • Sending end potentiometer can control the lightness of LED for receiving end.

Bug

History

Picture

Video