background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E78-900M22S

User manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

1

E104-BT12NSP User Manual

TLSR8253F512 Serial Patch SIG Mesh Group Module

Summary of Contents for E104-BT12NSP

Page 1: ...hengdu Ebyte Electronic Technology Co Ltd E78 900M22S User manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 1 E104 BT12NSP User Manual TLSR8253F512 Serial Patch SIG Mesh Group Module ...

Page 2: ...2 BASIC CIRCUIT 8 4 FUNCTIONAL INTRODUCTION 9 4 1 BASIC CONCEPT 10 4 1 1 NETKEY 10 4 2 DATA FORMAT 13 5 SWITCH DIO 21 5 1 USE OF SWITCHES 21 6 QUICK GET START 21 6 1 RESTORE FACTORY SETTINGS RESTORE 22 6 2 EQUIPMENT ENTERS THE NET AND CONTROLS THE EQUIPMENT 22 6 3 SIG MESSAGES 28 6 4 TRANSMISSION OF INFORMATION 29 6 5 LOW POWER CONSUMPTION E104 BT12LSP 31 7 FAQ 31 7 1 POOR TRANSMISSION RANGE 31 7 ...

Page 3: ...ied is given including but not limited with respect to the accuracy correctness reliability and fitness for a particular purpose of the information This document may be revised by EBYTE at any time For most recent documents visit www ebyte com Note The contents of this manual are subject to change due to product version upgrades or other reasons Chengdu Ebyte Electronic Technology Co Ltd reserves ...

Page 4: ...ation L Lightness model one key implementation of lamp control application scene and support Skycat elves Suitable for Internet of Things information gathering large scale network communication smart home etc 1 2 Feature Support TmallGenie Support TmallGenie PCB carrier antenna 60m maximum open communication distance Multi stage adjustable power at 10 dBm serial port baud rate dynamic compatibilit...

Page 5: ...ort distance Operating temperature 40 85 2 2 Operating parameter Main parameter Performance Note Min Typ Max Voltage supply V 1 9 3 3 3 6 3 3 V ensures output power Communication level V 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Frequency MHz 2400 2483 5 ISM band Power consumption Transmitting current mA 21 Instantaneous power consumption at 10 dBm output Receivi...

Page 6: ...O 60Byte Single transmission maximum length Crystal oscillator 24MHz Modulation GFSK GFSK Package SMD Connector 1 27mm Interface UART 4800 230400bps Size 19 13mm Antenna PCB 50Ω Impedance 2 3 Dimension and Pin Definition No Pin item Pin direction Application 1 GND Ground wire connect to the power reference ground 2 PWM1 PWM Output Green light corresponding to SIGMESH HSL 3 PWM2 PWM Output Red ligh...

Page 7: ... It s working at low levels 26 GND Ground wire connect to the power reference ground 3 Basic Operation 3 1 Hardware design It is recommended to use DC steady voltage power supply to supply power to this module the ripple coefficient of power supply is as small as possible the module needs reliable grounding Note the proper connection of the power supply positive and negative poles Reconnecting may...

Page 8: ...yer Assuming that modules are welded or placed in Top Layers random paths in Botom Layers or other layers are also wrong affecting the stray and reception sensitivity of modules to varying degrees Assuming that there is a large amount of electromagnetic interference around the module the performance of the module can be greatly affected According to the intensity of the interference it is recommen...

Page 9: ... boot corresponding to TLSR8253 are switch volume input guides that customers can access to and use according to their own needs 4 The low power module can wake up via DI01 DIO2 and serial port after going to sleep 4 Functional Introduction The MESH network architecture is shown below The biggest advantage of this module is that it can relay any data in the network Any module can be relayed and re...

Page 10: ...odules B C D E need to receive data from A then module A will send the data at the broadcast address 0XFFFF If module A needs to specify data issuance All you need to do is write the address of module E at the address in the data format see instruction format for details But module E is 140 meters away from module A and cannot communicate the data directly but as long as these modules are on the s...

Page 11: ...iting for low power Node to query and obtain Proxy Node Proxy node that receives information through a load layer broadcast load or GATT load and resends the message through another broadcast load or GATT load It plays a key role in the non Mesh low power Bluetooth device becoming a member of Bluetooth Mesh network The basic purpose of proxy node is to perform load layer conversion It enables the ...

Page 12: ...evices elements Mesh Node Our Mesh node is a combination of four characters Node Relay Node Friend Node and Proxy Node convenient and quick to use 4 1 3 1 Moule There are many models in SIG MESH Our E104 BT10 module has three addresses Each one can be bound to more than one model HSL s model has three addresses because it needs to control three things brightness saturation and color temperature Mo...

Page 13: ... module s parameter configuration SIG messages are standard Mesh control messages defined for SIG and transmission messages are hundreds of millions of custom data transmission messages Length 1byte HEX Payload N byte HEX N Parameter configuration SIG Message Pass through Message 4 2 1 Parameter Configuration Configuration data is used for reading and writing module parameter information and for d...

Page 14: ... 0x01 Baud rate serial number to be set range 0x00 0x07 Respond 0x01 Returns the current baud rate serial number Example Order Baud rate specification 03 C0 01 xx Xx represents the baud rate label to be set 0x00 0x07 00 230400 01 128000 02 115200 03 76800 04 57600 05 19200 06 9600 07 4800 Note This instruction be suitable for operation of e104 BT112 L and e104 BT12SP N Example 03 C0 0E 02 Modifica...

Page 15: ...spond 0x03 Return to the set power number Example Order Explanation 03 C0 03 xx Xx represents the baud rate label to be set 0x00 0x0A 00 10dBm 01 8dBm 02 6dBm 03 4dBm 04 2dBm 05 0dBm 06 2dBm 07 4dBm 08 6dBm 09 8dBm 0A 10bBm 0B 25bBm 0C 30bBm Note This instruction is applicable to E104 BT12SP L and E104 BT12SP N configuration operation 4 2 1 5 Power Reading Operational code Parameter Request 0x04 N...

Page 16: ...uest 0x05 None Respond 0x05 Returns operational status value Example Request 02 C0 05 Respond 03 40 05 00 Note This instruction is applicable to E104 BT12SP L and E104 BT12SP N configuration operation Status value 00 indicates success 4 2 1 7 Restore factory settings restore Operation al code Parameter Request 0x06 None Respond 0x06 None Example Request 02 C0 06 Respond 03 43 15 00 Note This instr...

Page 17: ...ersion number Example Request 02 C0 08 Respond 04 40 16 10 00 Note This instruction is applicable to E104 BT12SP L and E104 BT12SP N configuration operation Software version number is unique 4 2 1 10 Equipment triad information Operation al code Parameter Request 0x09 None Respond 0x09 Setup triad information Example Request 1C C0 09 DATA 26 Respond 1D 40 09 DATA 26 Note This instruction be for E1...

Page 18: ... after Reading LPN External Wake up Operation al code Parameter Request 0x0C None Respond 0x0C Set time out sleepout Example Request 04 C0 0C TIME Respond 05 40 0C TIME Note This instruction be for E104 BT12SP L configuration operation only TIME 16 cimal segment mode Column Reading values 8813 8813 is small end mode Actual value is 1388 converted to decimal value of 5000 4 2 1 14 Setting up LPN po...

Page 19: ...88 converted to decimal value is 5000 4 2 1 16 Set LPN to Sleep Time without Networking Operation al code Parameter Request 0x0F None Respond 0x0F Set time out sleepout Example Request 04 C0 0F TIME Respond 05 40 0F TIME Note Default 10000 This instruction be for E104 BT12SP L configuration operation only TIME 16 cimal segment mode Column Set 5000 ms convert 5000 to 16 digit value 1388 When you se...

Page 20: ...without delay Request 09 C1 0004 8202 01000000 Respond 08 41 0004 0001 8204 01 Control the device whose main address is 0004 output low level without delay Request 09 C1 0004 8202 00000000 Respond 08 41 0004 0001 8204 00 2 Transparent transmission of information E104 BT12 supports transparent transmission of user data The maximum length of the serial port sub packet is 60 bytes the maximum payload...

Page 21: ...and B and C use danglog to network them all Note that all devices that are not low power nodes are automatically grouped to C000 It is best to remove C000 when you verify switch function Then B device element is then assigned to C002 and C device to C003 If the two switches DIO1 through device A are connected high then device B lights up DIO If one is low then device B lights go out Switch DIO2 to...

Page 22: ... format as the E104 BT12LSP instruction Baud rate 115200 other8N1 do not return to change lanes 6 2 Equipment enters the net and controls the equipment Note All E104 BT12SP N needs to have Ali triad information before use See Documentation Apply Triad to Ali and Set Up Device Information 6 2 1 Using Tmallgenie in the Internet Voice enters the net directs the voice command Tmallgenie Find Smart Dev...

Page 23: ...e to turn on or off the lights 6 2 2 Using Uploader Usb Dangol 6 2 2 1 Networking and Lighting Control See the Tutorial on Use of Tutorials for details 6 2 3 Mobile phone APP access and control devices 6 2 3 1 Access to the network 1 Open the APP and click this plus sign 1 If there is an unstructured network around the following diagrams will appear in sequence ...

Page 24: ...Chengdu Ebyte Electronic Technology Co Ltd E104 BT12NSP User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 24 ...

Page 25: ...ng in the previous step returns to the APP home page you can see a lamp click on the lamp and see that the device s LED is switching on and off according to your operation 4 When you press the length of the lamp it will appear on the page as shown below while sliding colored circles will change the color of the lamp to the color you to the color you want ...

Page 26: ...nual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 26 6 2 3 2 Publishing and Subscribing Grouping 1 Pressing multiple devices in turn into GROUP and then ticking the options on this page represents that you are dividing your devices into this group ...

Page 27: ...ronic Technology Co Ltd E104 BT12NSP User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 27 2 When grouping is successful group control can be carried out through GROUP on the mobile phone homepage ...

Page 28: ...quipment If the Target address is the group address the device in the current group will respond See Mesh Model 3 2 1 2 Generic OnOff Set for more information E104 BT12SP sends the light off command generic onoff command command to control the network equipment See Mesh Model 3 2 1 2 Generic OnOff Set for more information Send 09 C1 0002 8202 01000000 Response 08 41 0002 0001 8204 01 Send 09 C1 00...

Page 29: ...t addresses Device 0002 broadcasts hexadecimal data for 8202000 Writing the Target address as FFFF is broadcasting where all devices including their own receive data Sender 09 C2 ffff 8202 01 00 00 00 Receiver 0C 42 02 00 FF FF 82 02 01 00 00 00 6 4 1 Fixed point data transmission For example Device 0002 sends hexadecimal data of 82 02 01 00 00 00 to device 0004 Sender 09 C2 0004 8202 01 00 00 00 ...

Page 30: ...echnology Co Ltd 30 6 4 2 Group address transmission data For example Device 0002 sends hexadecimal data for 82 0200 000 to this group of device C001 Sender 09 C2 0004 8202 01 00 00 00 Receiver 0C 42 02 00 04 00 82 02 01 00 00 00 6 4 2 1 Acquisition of Group Addresses using APP Add 1 down to the address shown below ...

Page 31: ... address to transmit data to an LPN For example e8 ff 00 00 00 00 02 01 02 00 80 1b 02 00 01 c0 18 0A 00 00 e8 ff 00 00 00 00 02 01 02 00 80 1b 02 00 01 c0 180A 00 00 Cmd fixed field fix fix Target address Sig op Element address Group address ModleID fix 7 FAQ 7 1 Poor transmission range When there is a linear communication barrier the communication distance decays accordingly Temperature humidity...

Page 32: ...e error rate is too high There is interference from the same frequency signal nearby away from the source of interference or from modifying frequency and channel The clock waveforms on the UART are not standard Check for interference on the UART line Poor power supply may also cause confusion Be sure to ensure the reliability of the power supply 8 Welding instruction 8 1 Reflow Welding Temperature...

Page 33: ...Chengdu Ebyte Electronic Technology Co Ltd E104 BT12NSP User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 33 8 2 Backflow Welding Curve ...

Page 34: ...e Description Issued by 1 0 2021 04 14 Initial version About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Reviews: