background image

E150-400T30S User Manual

400M frequency band 1W LoRa wireless

acquisition control module

Summary of Contents for E150-400T30S

Page 1: ...E150 400T30S User Manual 400M frequency band 1W LoRa wireless acquisition control module ...

Page 2: ... 5 1 READ COIL STATUS 10 5 2 CONTROL COIL STATUS 11 5 3 READ INPUT REGISTER STATUS 12 5 4 READ HOLD REGISTER 12 5 5 OPERATION HOLDING REGISTER 13 5 6 BROADCAST ADDRESS 14 5 7 LISTENING ADDRESS 14 5 8 MODULE RESET 15 5 9 AUX DETAILS 15 5 9 1 Serial port data output indication 15 5 9 2 Work instructions 15 5 9 3 Module is in the process of configuration 16 5 9 4 Flash write 16 5 9 5 Complete process...

Page 3: ...G POINT CONVERSION 32 8 8 MODULE USE 32 8 9 INTERACTION BETWEEN MODULES 32 8 10 ABOUT FLASH OPERATION 33 CHAPTER 9 INTRODUCTION TO UPPER COMPUTER 35 CHAPTER 10 HARDWARE DESIGN 38 CHAPTER 11 COMMON PROBLEMS 39 9 1 THE TRANSMISSION DISTANCE IS NOT IDEAL 39 9 2 MODULE IS EASY TO BE DAMAGED 39 9 3 BIT ERROR RATE IS TOO HIGH 39 CHAPTER 12 WELDING OPERATION INSTRUCTIONS 40 12 1 REFLOW TEMPERATURE 40 12 ...

Page 4: ...l oscillator is used to ensure its stability and consistency 1 2 Features Support advanced LoRa modulation method with the advantage of long distance anti interference Built in PA LNA the communication distance can reach 10km under ideal conditions and the transmission distance is better than traditional GFSK Support air wake up ultra low power consumption suitable for battery applications The max...

Page 5: ...200 38400 57600 115200 and other baud rates Support low power consumption mode Support direct access of E22 series modules Using industrial grade crystal oscillator industrial grade standard design support long term use at 40 85 IPEX interface external antenna can be installed 1 3 Application scenarios Application of industrial PLC Modbus RTU Smart home and industrial sensors etc Wireless alarm se...

Page 6: ...ection stops working 2 2 Working parameters main parameters performance Notes MIin Typical value Max Operating Voltage V 3 3 5 0 5 5 5 0V Guaranteed output power RF communication level V 3 3 Risk of burnout with 5V TTL Operating temperature 40 85 Industrial grade design Working frequency MHz 410 125 493 125 Supports ISM bands 功 耗 Emission current mA 750 900 Instantaneous power consumption Working ...

Page 7: ...r the power supply voltage needs to be 3 0V and the accuracy is 1 DAC accuracy 8 bits Floating point value the power supply voltage needs to be 3 3V the accuracy is 1 PWM precision Frequency step 1 Hz Duty cycle step 1 Frequency range 25Hz 65535Hz accuracy 1 Duty cycle range 0 100 accuracy 1 Subcontracting 240 Btye The maximum capacity of a single package after it is exceeded it will be automatica...

Page 8: ...er positive reference voltage range 3 3 5 5V DC 2 GND Input Module power ground 3 SWCLK Input SWD debug pin 4 NRST Input Reset module pin it needs to be pulled low for at least 10 ms and then released to perform external reset 5 SWDIO Input SWD debug pin 6 485_EN Output When connecting an external UART to RS485 chip this pin is used as the control terminal 7 AUX Output Used to indicate the working...

Page 9: ...or voltage measurement 0 5V 22 ADC2 Input ADC input pin for voltage measurement 0 5V 23 ADC4 Input ADC input pin for current measurement 0 20mA 24 ADC5 Input ADC input pin for current measurement 0 20mA 25 DI1 Input very weak pull up Digital input IO status can be inquired through Modbus commands 26 DI2 Input very weak pull up Digital input IO status can be inquired through Modbus commands 27 DI3 ...

Page 10: ...odule is TTL level please connect with 3 3V TTL level MCU 2 When using a 5V microcontroller please perform UART level conversion 3 TVS protection and capacitors need to be added outside the power supply it is recommended to add a 22uF low ESR electrolytic capacitor or tantalum capacitor 4 The RF module is sensitive to pulsed static electricity Do not hot swap the module 5 It is recommended to use ...

Page 11: ...sistent The following commands related to remote wireless communication must meet the above conditions 5 1 Read coil status Using the read coil status 01 function code to read the output coil status for example read the status of do1 do4 01 01 00 00 00 04 3D C9 Device MODBUS address Function code Register head address Number of output coils read CRC check code CRC check code note the CRC check cod...

Page 12: ... will return the following values to the serial port or wireless 01 05 00 00 FF 00 8C 3A Device MODBUS address Function code Register head address Operation mode CRC check code Phenomenon DO1 output high level Serial port receiving return value 01 05 00 00 FF 00 8C 3A Remote wireless reception return value 01 01 01 0f 11 8C use the 0f function code to write commands for multiple coils for example ...

Page 13: ...k code of the last two bytes of the sending instruction needs to be calculated by the user Serial port sending 01 04 00 CC 00 02 B1 F4 Remote wireless transmission 01 04 00 CC 00 02 B1 F4 After sending the above command to the device via serial port or wireless the device will return the following values to the serial port or wireless 01 04 04 40 85 E5 5E 35 00 Device MODBUS address Function code ...

Page 14: ... code operation of operating a single register 06 and operating multiple registers 10 Using 06 function code to write a single holding register for example set to change the working mode of the equipment 01 06 07 E8 00 00 F8 8A Device MODBUS address Function code Register address Write value CRC check code Note the CRC check code of the last two bytes of the sending instruction needs to be calcula...

Page 15: ...ss 01 10 00 00 00 02 41 C8 Device MODBUS address Function code Register address Number of registers CRC check code Phenomenon The DAC1 pin of the module outputs a voltage of 1 2V Serial port receiving return value 01 10 00 00 00 02 41 C8 Remote wireless reception return value 01 10 00 00 00 02 41 C8 5 6 Broadcast address When the module receives commands in non MODBUS format it will send the recei...

Page 16: ...ases Power on and enter the initialization process Data received through serial port Serial port is sending data RF is sending data Saving data to flash 5 9 1 Serial port data output indication When UART needs to send data aux will be pulled down about 5ms in advance to wake up the external MCU in sleep When the module receives the RF signal it will delay about 10ms to wait for the sending module ...

Page 17: ...5 9 3 Module is in the process of configuration When resetting and switching modes the aux pull down time generated by resetting is generally about 11ms 5 9 4 Flash write Many instructions will save parameters to flash when writing so aux is required to indicate so as to prevent the customer from sending data when writing in flash resulting in write failure or failure to receive data normally The ...

Page 18: ...d the preamble will not be added by default If the customer needs to access the module in wor mode the preamble register must be configured and the length of the preamble must be greater than or equal to the wor cycle 5 9 6 Lora sends data continuously When customers need to send long data continuously they can choose to directly pour more than 240 bytes of data into the serial port The module wil...

Page 19: ...td 18 5 9 7 Aux precautions In the process of aux being pulled down it is not recommended to operate the module which may lead to some unknown problems Aux is generally used as an indicator or as a judgment indicator of the working state The aux timing in debug mode may be different Please take the non debug mode as the standard ...

Page 20: ...he serial port must be awakened according to the sequence to work 2 All peripherals sleep 3 All IO states are forced to change please refer to the pin state of sleep mode All peripherals go to sleep 01 06 07 EB 00 02 79 4B 6 1 UART sleep wake when working in wor mode or sleep mode you need to wake up the module according to a specific timing You can use any baud rate before entering sleep If the b...

Page 21: ...00 02 79 4B Module switching will be carried out only when there are no other tasks The default switching sequence is as follows 6 3 Normal mode mode 0 Type When the device mode register 0 the module operates in mode 0 Local MODBUS Or 00modbus instructions When the module receives the Modbus instruction of local or 00 address it will immediately start to process the corresponding operation If the ...

Page 22: ... of the preamble by default which needs to be set by the customer LoRa receiving The module is periodically woken up by the low power timer and the control module enters the receiving mode If it needs to reply data it will reply through LoRa Wake up Serial wake up can be realized by using a certain timing sequence 6 5 Sleep Mode Mode 2 Type When the device mode register 2 the module works in mode ...

Page 23: ...byte Electronic Technology Co Ltd 22 AI all pins Low output AO all pins Low output DO1 DO2 Open drain output high DO3 DO4 push pull output high DI all pins Input pull up close interrupt PWM all pins Low output RS485_EN Low output AUX High output TXD input pull up RXD Input pull up enable interrupt ...

Page 24: ...125V 2125 084D H 0x04 AI floating point value 0x00C8 input register R 2 5 Analog signal floating point value 4 bytes For example 2 125V 0x4008 0x0000 0x04 AO floating point value 0x0000 holding register RW 2 2 Analog signal floating point value 4 bytes For example 2 125V 0x4008 0x0000 0x03 0x06 0x10 AO Power up floating point value 0x00C8 holding register RW 2 2 AO output default value after devic...

Page 25: ...e 0x03 0x06 0x10 Part number 0x07EE holding register R 25 DEVTYPE E150 400T30S r n 0x03 Module firmware 0x0807 holding register R 25 FWCODE 7409 0 10 r n 0x03 Device address 0x0B6F holding register RW 1 设备的地址 0 65535 0x03 0x06 0x10 website address 0x0B71 holding register RW 1 设备的网络地址 0 255 0x03 0x06 0x10 baud rate 0x0B72 holding register RW 1 设备的波特率 默认 9600 0x00 1200 0x01 2400 0x02 4800 0x03 9600 ...

Page 26: ... only be awakened through the local serial port 7 Data RSSI is only valid in transparent data 8 When the channel is the same and the network ID is different communication cannot be performed but mutual interference will occur 0x0002 Medium 0x0003 low WOR cycle 0x0B79 holding register RW 1 Default 2000 ms 0x0000 500 ms 0x0001 1000 ms 0x0002 1500 ms 0x0003 2000 ms 0x0004 2500 ms 0x0005 3000 ms 0x000...

Page 27: ...d by the user Serial port sending 01 02 00 00 04 79 C9 Remote wireless transmission 01 02 00 00 00 04 79 C9 After sending the above command to the device via serial port or wireless the device will return the following values to the serial port or wireless 01 02 01 0F E1 8C Device Modbus address function code number of bytes of data Status data returned CRC check code The above returned status dat...

Page 28: ...ption return value 01 0f 00 00 00 04 C8 3F In addition to this do also has two controllers which are used to control whether the last state needs to be restored after power on DOPower on hold After the module is reset the DO output state depends on 0x0000 default DO power on state coil 0x0001 DO state coil When the do power on holding register is 0x0001 flash will be updated every time the user ch...

Page 29: ...bers two MODBUS registers must be read continuously Use 04 function code to read one or more input register values For example 1 to read the current floating point voltage value power supply voltage of adc3 two registers must be read continuously 01 04 00 CC 00 02 B1 F4 Device MODBUS address Function code Register first address Number of registers read CRC check code Note The CRC check code of the...

Page 30: ...bytes of data Returned data CRC check code Phenomenon return the value of power supply voltage 4 528V 11B6 H floating point value 1000 Serial port sending 01 04 02 11 B6 34 D6 Remote wireless transmission 01 04 02 11 B6 34 D6 8 4 analog output AO E150 400T30S has two analog output pins AO AO output voltage is controlled by floating point number with built in voltage stabilization algorithm The max...

Page 31: ...oint value holding register When AO power on holding register is 0x0001 flash will be updated every time the user changes AO status register If the customer needs to change the AO status register frequently it is not recommended to turn on this function to avoid reducing the service life of the module 8 5 pulse width modulation PWM E150 400T30S has two channels of pulse width modulation PWM and op...

Page 32: ...lue CRC check code Set initial level 01 06 17 D4 00 00 CC 46 Device MODBUS address Functio n code Register address Write value CRC check code Note The CRC check code of the last two bytes of the sending instruction needs to be calculated by the user Serial port send 01 06 17 70 00 14 8D AA 01 06 17 A2 03 E8 2D 22 01 06 17 D4 00 00 CC 46 Remote wireless transmission send 01 06 17 70 00 14 8D AA 01 ...

Page 33: ...tion code Register head address Number of registers read CRC check code Note the CRC check code of the last two bytes of the sending instruction needs to be calculated by the user Serial port sending 01 03 0b 72 00 01 26 35 Remote wireless transmission 01 03 0b 72 00 01 26 35 After sending the above command to the device via serial port or wireless the device will return the following values to th...

Page 34: ...upy one page of flash so updating different peripherals will not affect each other Whenever the user uses MODBUS to read flash will not be updated Whenever the user uses MODBUS to write generally flash will be directly written for data saving except for the following registers Do status 0x0000 Coil RW 1 4 When the do power on hold register is 0x01 Writing will automatically update flash When the d...

Page 35: ... Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 34 PWM frequency 0x17A2 Holding register RW 1 2 When the PWM power on hold register is 0x01 Writing will automatically update flash When the PWM power on hold register is 0x00 Writing does not update flash ...

Page 36: ... control the module When using the module the user needs to virtualize the serial port of the module into a COM port The upper computer interface is as follows Spaces need to be reserved in the middle of hexadecimal parameters The upper computer provides a MODBUS standard command interface The user can use this interface to directly control various actions of the module The check code will be auto...

Page 37: ...ad or control the status of the remote module di or do according to different MODBUS addresses Among them yellow represents unknown green represents high level and black represents low level The acquisition interface can regularly collect various inputs of local or remote AI and the interval is 3 s by default AO output only supports floating point input Although the module will adjust the output a...

Page 38: ...Chengdu Ebyte Electronic Technology Co Ltd E150 400T30S user manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 37 ...

Page 39: ...laid and well grounded It must be close to the digital part of the module and run on the bottom layer Assuming that the module is welded or placed on the top layer it is also wrong to randomly route on the bottom layer or other layers which will affect the stray and receiving sensitivity of the module to varying degrees It is assumed that there are devices with large electromagnetic interference a...

Page 40: ...ration The matching degree between the antenna and the module is poor or the quality of the antenna itself is poor 9 2 module is easy to be damaged Please check the power supply to ensure that it is between the recommended power supply voltage Exceeding the maximum value will cause permanent damage to the module Please check the stability of the power supply and the voltage cannot fluctuate greatl...

Page 41: ... Sn Pb Assembly Pb Free Assembly Solder Paste Solder paste Sn63 Pb37 Sn96 5 Ag3 Cu0 5 Preheat Temperature min Tsmin Minimum preheating temperature 100 150 Preheat temperature max Tsmax Maximum preheating temperature 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 120 sec 60 120 sec Average ramp up rate Tsmax to Tp Average rising rate 3 second max 3 second max Liquidous Temperature TL Liq...

Page 42: ...Chengdu Ebyte Electronic Technology Co Ltd E150 400T30S user manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 41 12 2 Reflow soldering curve ...

Page 43: ... communication system Therefore our company recommends some antennas as supporting wireless modules of our company with better performance and reasonable price Product model type Freque ncy band gain size feeder Interface characteristic Hz dBi mm cm TX433 NP 4310 Flexible antenna 433M 2 0 10x43 welding Flexible FPC soft antenna TX433 JZ 5 Rubber rod antenna 433M 2 0 52 SMA J Ultra short straight o...

Page 44: ... Electronic Technology Co Ltd 43 TX433 XPH 300 Sucker antenna 433M 6 0 965 300 SMA J Small sucker antenna high gain Chapter 15 batch packaging method Revision history edition Revision date Revision Description Maintainer 1 0 2022 6 20 Initial version Weng 1 1 2022 8 30 Add instruction description Ning ...

Page 45: ...44 About us Technical support support cdebyte com Documents and RF Setting download link https www es ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web https www es ebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Reviews: