background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E34-2G4D27D User manual

Copyright ©2012–2018, Chengdu Ebyte Electronic Technology Co.,Ltd.

8

6.1 Mode switching

The user can decide the operating mode by the combination of M1 and M0. The two GPIO of MCU can be used to switch mode.
After modifying M1 or M0, it will start to work in new mode 1 ms later if the module is free. If there are any serial data that are
yet to finish wireless transmitting, it will start to work in new mode after the UART transmitting finished. After the module
receives the wireless data & transmits the data through serial port, it will start to work in new mode after the transmitting
finished. Therefore, the mode-switch is only valid when AUX outputs 1, otherwise it will delay.

For example, in mode 0 or mode 1, if the user inputs massive data consecutively and switches operating mode at the same time,
the mode-switch operation is invalid. New mode checking can only be started after all the user’s data process completed. It is
recommended to check AUX pinout status and wait 2ms after AUX outputs high level before switching the mode.

6.2 Half-Duplex (Mode 0)

When M1 = 0 & M0 = 0, module works in mode 0

Transmitting

The module can receive the user data via serial port, and transmit wireless data package of 29 bytes. When the

data inputted by user is up to 29 bytes, the module will start wireless transmission. During which the user can

input data continuously for transmission. When the required transmission bytes are less than 29 bytes, the module

will wait 3-byte time and treat it as data termination unless continuous data inputted by user.

Then the module will transmit all the data through wireless channel. When the module receives the first data

packet from user, the AUX outputs low level. After all the data are transmitted into RF chip and transmission is

started, AUX outputs high level. At this time, it means that the last wireless data package transmission is started,

which enables the user to input another 1024 bytes continuously. The data package transmitted from the module

working in mode 0 can only be received by the module working in mode 0 or 1 or mode 2

Receiving

The wireless receiving function of the module is on, the data packet transmitted from the module working in mode

1 & mode 2 can be received.After receiving the data packet, the AUX outputs low level, the module starts to

transmit wireless data through serial port TXD pin. After all the wireless data have been transmitted via serial port,

the AUX outputs high level.

Note

Module cannot receive data in the process of transmitting.

Also, module cannot transmit data in the process of receiving.

6.3 Full-Duplex (Mode 1)

When M1 = 0 & M0 = 1, module works in mode 1.

Transmitting

The condition of data packet transmission & AUX function is the same as mode 0. The only difference is that the

module will add preamble code before each data packet automatically. The preamble code length depends on the

wake-up time set in the user parameters. The purpose of the preamble code is waking up the receiving module

works in mode 2. Therefore, the data package transmitted from mode 1 can be received by mode 0, mode1 and

mode 2.

Receiving

The same as that in mode 0.

Note

Module can receive data in the process of transmission.

Also, module can transmit data in the process of receiving.

Содержание E34-2G4D27D

Страница 1: ...E34 2G4D27D User Manual nRF24L01 2 4GHz TTL Full Duplex Wireless Module...

Страница 2: ...itting 6 5 2 3 Configuration procedure of module 7 5 2 4 Notes for AUX 7 6 Operating mode 7 6 1 Mode switching 8 6 2 Half Duplex Mode 0 8 6 3 Full Duplex Mode 1 8 6 4 Reservation Mode Mode 2 9 6 5 Set...

Страница 3: ...uction use modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited The information contained herein is provided...

Страница 4: ...he data interception loses its meaning through strict encryption and decryption algorithms The data compression function has the probability of reducing the transmission time reducing the probability...

Страница 5: ...le Blocking power dBm 10 Chances of burn is slim when modules are used in short distance Operating temperature 40 85 Industrial grade 2 2 Operating parameter Main parameter Performance Remark Min Typ...

Страница 6: ...emark Distance for reference 5000m Test condition clear and open area antenna gain 5dBi antenna height 2 5m baud rate 9600 FIFO 29Byte Maximum length of single transmission Buffer Size 2048 Btye Unlim...

Страница 7: ...utput TTL UART outputs connects to external RXD MCU PC input pin Can be configured as open drain or push pull output 5 AUX Output To indicate module s working status wakes up the external MCU During t...

Страница 8: ...er there are data that are yet to send via wireless way or whether all wireless data has been sent through UART or whether the module is still in the process of self check initialization 5 2 1 Indicat...

Страница 9: ...in the new mode immediately until AUX rising edge 2ms later If AUX is on the high level the operating mode switch can be effected immediately When the user switches to other operating modes from mode...

Страница 10: ...ta termination unless continuous data inputted by user Then the module will transmit all the data through wireless channel When the module receives the first data packet from user the AUX outputs low...

Страница 11: ...rameters through specific instruction format pls refer to parameters setting for details Notes When the mode changes from setting mode to others the module will reset its parameters during which the A...

Страница 12: ...Three C3 are sent in hexadecimal format The module returns the version information and must be send in succession 5 C4 C4 C4 Three C4 are sent in hexadecimal format The module will reset one time and...

Страница 13: ...ent between communication parties 0 0 8N1 Default 0 1 8O1 1 0 8E1 1 1 8N1 equal to 00 5 4 3 TTL Serial port rate bps UART baud rate can be different between communication parties The UART baud rate ha...

Страница 14: ...ower supply transformers high frequency wiring and other parts with large electromagnetic interference High frequency digital traces high frequency analog traces and power traces must be avoided under...

Страница 15: ...e lower the voltage is the lower the transmitting power is Due to antenna quality or poor matching between antenna and module 9 2 Module is easy to damage Please check the power supply and ensure it i...

Страница 16: ...21 36 frequency hopping anti interference 12 Antenna Type The antenna plays an important role in the communication process The inferior antenna often has a great impact on the communication system Th...

Страница 17: ...ate Description Issued by v1 0 2021 9 24 Original version Linson About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products...

Отзывы: