m27D UserManual EN v1.1
m27D UserManual EN v1.1
m27D UserManual EN v1.1
0
Chengdu Ebyte Electronic Technology Co., Ltd E34-2G4H27D User Manual
CONTENTS
1.OVERVIEW ........................................................................................................................................... 3
9 FAQ ........................................................................................................................................................ 15
ABOUT US............................................................................................................................................... 18
1.Overview
1.1 Introduction
E34 (2G4H27D) is a 500mW wireless transceiver module, which
operates at 2.4-2.518GHz. The outstanding advantages of this module
is concentrated power densities, long transmission range, automatic
frequency hopping and TTL level, compatible with 3.3V and 5V.
With auto frequency hopping communication, the module has a
good anti-interference ability with low latency, even if there are some
frequency interference, it still can communicate on the undisturbed
frequency point.
1.2 Features
Support automatic frequency hopping, greatly improve communication anti-interference ability;
Support fixed frequency communication, fast transmission speed and low latency;
Support automatic packet retransmission after packet loss;
Support fixed-point transmission, easy to start network communication;
Built-in PA+LNA with 500mW power,communication distance tested is up to 5km;
It works at ISM 2.4GHz;
Air data rate:250k~2Mbps;
With advanced GFSK modulation;
Support 3.3V~5.5V power supply, power supply over 5.0 V can guarantee the best performance;
Industrial grade standard design, support -40 ~ 85 °C for working over a long time;
With SMA-K connector, easy connection of IPEX cable or external antenna.
1.3 Application
4 Connect to MCU
2 For some MCU works at 5VDC, it may need to add 4-10K pull-up resistor for the TXD & AUX pin.
5 Function description
5.2 Reset
When the module is powered, AUX outputs low level immediately, conducts hardware self-check and sets the
operating mode based on user’s parameters. During the process, the AUX remains low level. After the process
completed, the AUX outputs high level and starts to work as per the operating mode combined by M1 and M0.
Therefore, users need to wait the AUX rising edge as the start of module’s normal work.
AUX Pin can be used as indication for wireless send & receive buffer and self-check.
It can indicate whether there are data that are not sent yet 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
Buffer (empty): the internal 256 bytes data in the buffer are written to the RFIC (Auto sub-packaging).
When AUX=1, the user can input data less than 256 bytes continuously without overflow. Buffer (not empty): when
AUX=0, the internal 256 bytes data in the buffer have not been written to the RFIC completely. If the user starts to
transmit data at this circumstance, it may cause overtime when the module is waiting for the user data, or transmitting
wireless sub package.
When AUX = 1, it does not mean that all the UART data of the module have been transmitted already, perhaps the
last packet of data is still in transmission.
For function 1 & function 2 mentioned above, the priority should be given to the one with low level output, which means if it
meets each of any low level output condition, AUX outputs low level, if none of the low level condition is met, AUX outputs high
level.
When AUX outputs low level, it means the module is busy & cannot conduct operating mode checking. Within 1ms since AUX
outputs high level, the mode switch will be completed.
After switching to new operating mode, it will not work in the new mode immediately until AUX rising edge lasts for 2ms . If
AUX stays on the high level, the operating mode switch can be effected immediately.
When the user switches to other operating modes from mode 3 (sleep mode) or it’s still in reset process, the module will reset user
parameters, during which AUX outputs low level.
6 Operating mode
There are four operating modes set via pin M0 and M1, see details below:
Mode 0
UART and wireless channel are open, transparent The receiver must work in mode 0 or
Fixed frequency 0 0
transmission is on. mode 2
mode
Mode 2
0 1 Reservation mode Same with mode 0
Reservation mode
Mode 3
1 1 Parameter setting
Sleep
Users can combine M1 and M0 for high and low levels to determine the operating mode.
Two mode GPIOs of the MCU can be used to control mode switching;
After changing M1 and M0: If the module is idle, after 1ms, it can start working according to the new mode;
If the serial port data of the module has not been transmitted wirelessly, the new operating mode can be entered after the
transmission is completed;
If the module receives wireless data and sends out data through the serial port, it needs to be sent before entering the new working
mode.
Therefore, the mode switch can only be valid when the AUX output is 1, otherwise the switch will be delayed.
For example, in mode 0 or mode 1, the user continuously inputs a large amount of data and simultaneously performs mode
switching, and the switching mode operation at this time is invalid;
The module will process all user data before performing new mode detection;
Therefore, the general recommendation is to detect the output state of the AUX pin and wait for 2ms to switch after the AUX
output is high.
The module can receive the user data via serial port, and transmit wireless data package of 27 bytes. When the data
inputted by user is up to 27 byte, the module will start wireless transmission. During which the user can input data
continuously for transmission.
When the required transmission bytes are less than 27 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
Transmitti channel.
ng
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
256 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 2.
The wireless receiving function of the module is on, the data packet transmitted from the module working in mode 0
& mode 2 can be received.
Receiving After the data packet is received, the AUX outputs low level, 5ms later 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.
Notes Module can not receive data when transmitting and can not transmit data when receiving.
The condition of data packet transmission & AUX function is the same as mode 0.
The only difference is that the module will according to certain algorithm rules, the frequency will change in send
Transmitting &receive process, the scope is not limited to the basic frequency of user setting, the module has a specific spread
sequence.
Therefore, the data package transmitted from mode 1 can be received by mode 1.
Notes Module can not receive data when transmitting and can not transmit data when receiving.
This mode can be used for parameter setting. It uses serial port 9600 & 8N1 to set module working parameters
Parameter setting
through specific instruction format.
When the mode changes from stand-by mode to others, the module will reset its parameters, during which
Notes the AUX keeps low level and then outputs high level after reset completed. It is recommended to check the
AUX rising edge for user.
Steps Operation
Plug the USB test board (E15-USB-T2) into computer, make sure the driver is installed correctly. Plug mode-select
1
jumper in the USB test board (M1 = 0,M0 = 0), make the module work in mode 0.
2 Optional power supply, 3.3V or 5V (it supports 3.3V ~ 5.5V).
3 Operate AccessPort software and select the correct serial port code.
7. Instruction format
In sleep mode(M0=1,M1=1) ,User gives the module instruction (HEX format): C1 C1 C1,
C1+C1+C1 Module returns the present configuration parameters.
For example, C0 00 00 18 00 40.
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C3 C3 C3,
C3+C3+C3 Module returns its present version number, for example C3 34 xx yy.
32 here means the module model (E34 series); xx is the version number and yy refers to the other module
features.
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C4 C4 C4, the module resets for one time.
C4+C4+C4 During the reset process, the module will conduct self-check, AUX outputs low level. After reset
completing, the AUX outputs high level, then the module starts to work regularly which the working
mode can be switched or be given another instruction.
1 1 The air data rate must keep the same for both
communication parties.
6 IO drive mode (default 1) This bit is used to the module internal pull-up
TXD and AUX push-pull outputs,RXD pull-up inputs resistor. It also increases the level’s adaptability
5 OPTION 1
in case of open drain. But in some cases, it may
0 TXD、AUX open-collector outputs;RXD open-collector inputs need external pull-up resistor.
8. Hardware design
It is recommended to use a DC stabilized power supply. The power supply ripple factor is as small as possible, and
the module needs to be reliably grounded.;
Please pay attention to the correct connection of the positive and negative poles of the power supply. Reverse
connection may cause permanent damage to the module;
Please check the power supply to ensure it is within the recommended voltage otherwise when it exceeds the
maximum value the module will be permanently damaged;
Please check the stability of the power supply, the voltage can not be fluctuated frequently;
When designing the power supply circuit for the module, it is often recommended to reserve more than 30% of the
9 FAQ
Please check the power supply to ensure that it is between the recommended power supply voltage. If the maximum
There are co-channel signal interference nearby, please be away from interference sources or modify frequency and
channel to avoid interference.
Poor power supply may cause messy code. Make sure that the power supply is reliable.
The extension line and feeder quality are poor or too long, so the bit error rate is high.
10 Production guidance
This type is DIP module, when the welder welds the module, he must be welding according to the anti-static regulation.
This product is allergic to static, randomly welding the module will have the chance of damaging it permanently.
11 E34 series
12 Antenna recommendation
The antenna is an important role in the communication process. A good antenna can largely improve the
communication system. Therefore, we recommend some antennas for wireless modules with excellent performance and
reasonable price.
Revision history
About us
Technical support: [email protected]
Documents and RF Setting download link: www.ebyte.com
Thank you for using Ebyte products! Please contact us with any questions or suggestions: [email protected]
------------------------------------------------------------------------------------------------------------
Fax: 028-64146160
Web: www.ebyte.com
Address: Innovation Center B333-D347, 4# XI-XIN Road,Chengdu, Sichuan, China