| Download: |  |
| Mirror Download [FCC.gov] |  |
| Document ID | 2664017 |
| Application ID | xc42WYnPaeDTxTl5yMH3zw== |
| Document Description | User Manual |
| Short Term Confidential | No |
| Permanent Confidential | No |
| Supercede | No |
| Document Type | User Manual |
| Display Format | Adobe Acrobat PDF - pdf |
| Filesize | 39.92kB (498959 bits) |
| Date Submitted | 2015-07-01 00:00:00 |
| Date Available | 2015-07-01 00:00:00 |
| Creation Date | 2015-06-24 11:36:31 |
| Producing Software | Adobe PDF Library 10.0 |
| Document Lastmod | 2015-06-24 11:36:35 |
| Document Title | User Manual |
| Document Creator | Acrobat PDFMaker 10.1 Word 版 |
| Document Author: | å½ä¸–èŒ |
SwipeSense Wireless module User Manual
V1.1
Introduction:
(1) Use 2.4 GHz global open ISM band free license
(2) The highest working rate 2Mbps, efficient GFSK modulation, anti-interference ability,
especially for industrial control occasions
(3) The built-in hardware CRC error detection and point to multipoint communication control.
(4) Low power 1.9 - 3.6V, standby mode state is 22uA; power down mode is 900nA
(5) Built in 2.4Ghz antenna, compact size
(6) The module can set up the address only when receiving the address of the machine to output
data (provide interrupt instructions), can directly take a variety of microcontroller, software
programming is very convenient
(7) Built in specialized regulator circuit, using various power supply including DC/DC switch power
supply have good communication effect
(8) Standard DIP spacing interface, easy for embedded applications
(9) Automatic packet handling, Auto packet transaction handling, With the optional built-in
package response mechanism, greatly reducing the packet loss rate.
(10) With the SC51 series microcontroller P0 port, the need to add 10K on the pull resistor, and
the rest of the port connection do not need.
(11) Other series MCU. If it is 5V, please refer to the series microcontroller IO export output
current size, if exceed 10mA and need to the series resistance divider, otherwise easy to burn
module! If is a 3.3V can direct and rf2401 module IO port line connection. Such as AVR series
microcontroller if it is 5V, the general series of resistance 2K.
Typical interface circuit:
interface Introduction:
(1) the range of the VCC pin is between 1.9V~3.6V and cannot be outside of the range,
Over 3.6V will burn the module. Recommended voltage around 3.3V.
(2) except for power VCC and ground, the rest of the foot can be directly and ordinary 5V
microcontroller IO port directly connected without level conversion. Of course, about 3V
microcontroller more applicable.
(3) the hardware above no SPI microcontroller can also control this module, with ordinary
microcontroller IO mouth simulation SPI no real serial port intervention, just ordinary single-chip
IO port can, of course, with the serial port can also.
(4) 9 feet grounded, and the logical connection of the motherboard; 2 feet and 9 feet vacant.
(5) gill spacing of 2.54mm, standard DIP pin, if need other package interface, such as dense feet
pin, or other forms of interface can contact us custom.
Module structure and pin output:
Msg_RF24L01
Operating mode
There are four kinds of working mode:
The mode of the idle mode of the transceiver mode is off mode
The working mode is determined by register PRIM_RX, register PWR_UP and CE, as shown in the
following table.
Transceiver mode
In receiving and transmitting mode enhanced shockbursttm transceiver mode, shockbursttm
mode transceiver and transceiver mode three, the transceiver mode by device configuration
word decision, specific configuration will be discussed in detail in the configuration part of the
device.
ShockBurstTM Enhanced transceiver mode
Enhanced shockbursttm transceiver mode, using the first in, first out stack area and low-speed
data from the microcontroller into, but a high speed (1Mbps transmission. Only in this way can
try to energy-saving. Therefore, using a low speed micro controller can also get very high radio
frequency data transmission rate. And RF protocol related all high-speed signal processing in
tablets were, this approach has three advantages: energy saving as much as possible; low system
cost (low speed microprocessor can also for high-speed RF emission); data stay in the air for a
short time, anti-interference. ShockBurstTM Enhanced technology also reduces the average
operating current of the whole system.
In the Enhanced ShockBurstTM transceiver mode, automatic processing of NewMsg_RF24L01
prefix and CRC check code. When receiving data, automatically put the prefix and CRC check code
to remove. In data transmission, automatic prefix and CRC code, in transmit mode, set the CE is
high, at least 10us. When the sending process completed. Enhanced ShockBurstTM 4.1.1.1
launch process
A. sends the address of the receiver and the data to send into NewMsg_RF24L01 by sequence; B.
is configured for CONFIG register, so that the sending mode is sent..
C. microcontroller CE (at least 10us), Enhanced NewMsg_RF24L01 launched ShockBurstTM
launch;
NewMsg_RF24L01 Enhanced ShockBurstTM D. emission
(1) powering the RF front end;
(2) RF data package (plus prefix, CRC check code);
(3) high speed emission packet;
(4) the launch is complete and the NewMsg_RF24L01 enters the idle state.
Enhanced ShockBurstTM 4.1.1.2 reception process
A. configure the address and packet size to receive;
B. configure the CONFIG register to make it into the receiving mode, the CE set high.
After 130us NewMsg_RF24L01, C. enters the monitoring state, waiting for the arrival of the
packet;
D. when receiving a correct packet (the correct address and CRC code), NewMsg_RF2401 rf2401
automatically the prefix, address and CRC displacement;
NewMsg_RF24L01 E. notify the microcontroller by setting the RX_DR (STATUS) of the STATUS
register to the microcontroller interrupt.;
F. microcontroller to read data from the NewMsg_RF2401;
After the completion of the G. all data, you can clear the STATUS register. NewMsg_RF2401 can
enter one of the four major models.
ShockBurstTM transceiver mode
ShockBurstTM transceiver mode can be compatible with Nrf2401a, 02, E1 and E2,
NewMsg-RF2401 documents before the specific look at the company.
Idle mode
NewMsg_RF24L01 idle mode is designed to reduce the average operating current, the biggest
advantage is that, to achieve energy saving, shorten the starting time of the chip. In idle mode,
the on-chip oscillator part is still at work, the work frequency of the current with the external
crystal.
Shutdown mode
In the shutdown mode, in order to get the minimum working current, the working current at this
time is about 900nA. In the shutdown mode, the content of the configuration word is maintained
in the NewMsg_RF2401 chip, which is the difference between the mode and the power off state.
Configure NewMsg_RF24L01 module
All of the configuration of the NewMsg_RF2401 is done by SPI, with 30 bytes of configuration
word.. We recommend NewMsg_RF24L01 rf24l01 work in enhanced shockbursttm transceiver
mode. This mode, system programming will be more simple and stability will be higher, therefore,
are highlighted below the NewMsg_RF24L01 rf24l01 configuration for device configuration
method of enhanced shockbursttm transceiver mode.
Shockbursttm configuration word make NewMsg_RF24L01 rf24l01 to deal with RF protocol, after
configuration is complete, in the process of NewMsg_RF24L01 rf24l01, only need to change the
contents in the lowest one byte, the receiving and sending mode switch between.
ShockBurstTM configuration word can be divided into the following four parts:
Data width: the number of data occupied in the radio frequency packet. This allows the
NewMsg_RF24L01 to distinguish between the received packet data and the CRC code;
Address width: the number of addresses in the radio frequency packet. This allows the
NewMsg_RF24L01 to distinguish between address and data;
Address: the address of the receiving data, the address of the channel 0 to the channel 5;
CRC: enable CRC to generate NewMsg_RF24L01 verification code and decoding. When using the
CRC technology within the NewMsg_RF24L01 chip, make sure that the CRC check is enabled in
the configuration word (EN_CRC CONFIG), and send and receive the same protocol. The bit
description of the CONFIG register of the NewMsg_RF24L01 configuration word is shown below.
Reference source code
#include
//
sbit MISO =P1^3;
sbit MOSI =P1^4;
sbit SCK =P1^5;
sbit CE =P1^6;
sbit CSN =P3^7;
sbit IRQ =P1^2;
sbit LED2 =P3^5;
sbit LED1 =P3^4;
sbit KEY1 =P3^0;
sbit KEY2 =P3^1; // SPI(nRF24L01) commands
#define READ_REG
0x00 // Define read command to register
#define WRITE_REG
0x20 // Define write command to register
#define RD_RX_PLOAD 0x61 // Define RX payload register address
#define WR_TX_PLOAD 0xA0 // Define TX payload register address
#define FLUSH_TX
0xE1 // Define flush TX register command
#define FLUSH_RX
0xE2 // Define flush RX register command
#define REUSE_TX_PL 0xE3 // Define reuse TX payload register command
#define NOP
0xFF // Define No Operation, might be used to read status register
//***************************************************//
// SPI(nRF24L01) registers(addresses)
#define CONFIG
0x00 // 'Config' register address
#define EN_AA
0x01 // 'Enable Auto Acknowledgment' register address
#define EN_RXADDR 0x02 // 'Enabled RX addresses' register address
#define SETUP_AW
0x03 // 'Setup address width' register address
#define SETUP_RETR 0x04 // 'Setup Auto. Retrans' register address
#define RF_CH
0x05 // 'RF channel' register address
#define RF_SETUP
0x06 // 'RF setup' register address
#define STATUS
0x07 // 'Status' register address
#define OBSERVE_TX 0x08 // 'Observe TX' register address
#define CD
0x09 // 'Carrier Detect' register address
#define RX_ADDR_P0 0x0A // 'RX address pipe0' register address
#define RX_ADDR_P1 0x0B // 'RX address pipe1' register address
#define RX_ADDR_P2 0x0C // 'RX address pipe2' register address
#define RX_ADDR_P3 0x0D // 'RX address pipe3' register address
#define RX_ADDR_P4 0x0E // 'RX address pipe4' register address
#define RX_ADDR_P5 0x0F // 'RX address pipe5' register address
#define TX_ADDR
0x10 // 'TX address' register address
#define RX_PW_P0
0x11 // 'RX payload width, pipe0' register address
#define RX_PW_P1
0x12 // 'RX payload width, pipe1' register address
#define RX_PW_P2
0x13 // 'RX payload width, pipe2' register address
#define RX_PW_P3
0x14 // 'RX payload width, pipe3' register address
#define RX_PW_P4
0x15 // 'RX payload width, pipe4' register address
#define RX_PW_P5
0x16 // 'RX payload width, pipe5' register address
#define FIFO_STATUS 0x17 // 'FIFO Status Register' register address
uchar SPI_RW(uchar byte)
uchar bit_ctr;
for(bit_ctr=0;bit_ctr<8;bit_ctr++) // output 8-bit
MOSI = (byte & 0x80);
// output 'byte', MSB to MOSI
byte = (byte << 1);
// shift next bit into MSB..
SCK = 1;
// Set SCK high..
byte |= MISO;
// capture current MISO bit
SCK = 0;
// ..then set SCK low again
return(byte);
// return read byte }
//
uchar SPI_RW_Reg(BYTE reg, BYTE value)
uchar status; CSN = 0;
// CSN low, init SPI transaction
status = SPI_RW(reg); // select register
SPI_RW(value);
// ..and write value to it..
CSN = 1;
// CSN high again
return(status);
// return nRF24L01 status byte
//
uchar SPI_Read_Buf(BYTE reg, BYTE *pBuf, BYTE bytes)
uchar status,byte_ctr; CSN = 0;
// Set CSN low, init SPI tranaction
status = SPI_RW(reg);
// Select register to write to and read status byte
for(byte_ctr=0;byte_ctr
Source Exif Data:
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.5
Linearized : Yes
Author : 彭世萌
Create Date : 2015:06:24 11:36:31+08:00
Modify Date : 2015:06:24 11:36:35+08:00
Subject :
Tagged PDF : Yes
XMP Toolkit : Adobe XMP Core 5.2-c001 63.139439, 2010/09/27-13:37:26
Metadata Date : 2015:06:24 11:36:35+08:00
Creator Tool : Acrobat PDFMaker 10.1 Word 版
Document ID : uuid:754375fa-43d4-418b-9267-3c8e75bf189a
Instance ID : uuid:0fe64963-30b5-4531-8d15-6f3e88f06add
Format : application/pdf
Title :
Description :
Creator : 彭世萌
Producer : Adobe PDF Library 10.0
Keywords :
Source Modified : D:20150624033605
Company :
Comments :
Page Layout : OneColumn
Page Count : 10
EXIF Metadata provided by EXIF.tools