Show last authors
1 (% class="wikigeneratedid" %)
2
3
4
5 (% class="wikigeneratedid" %)
6 **Table of Contents:**
7
8 {{toc/}}
9
10
11
12
13 = 1.Door sensor =
14
15
16 Application: Connect to Door Sensor detect door open / close and send to IoT server
17
18 Sensor Type: Normal Close Type Door Sensor as below
19
20 [[image:image-20240424100239-8.png||height="227" width="946"]]
21
22
23 == 1.1 Hardware Connection ==
24
25 * (((
26 LHT65N VDD <~-~-> one wire of Door Sensor
27 )))
28 * (((
29 LHT65N Interrupt Pin <~-~-> one wire of Door Sensor
30 )))
31
32 [[image:image-20240424100415-9.png||height="355" width="796"]]
33
34 == 1.2 Software Configuration ==
35
36 Set LHT65N to Interrupt Mode so device will uplink when there is open/close event
37
38 * (((
39 AT Command : AT+EXT=4,1
40 )))
41 * (((
42 Downlink Command: 0xA20401 :   Same as AT+EXT=4,1
43 )))
44
45 Enlarge the TDC time so LHT65N will send Keep Alive message every 24 hours so to save battery life.
46
47 * (((
48 AT Command :AT+TDC=86400000
49 )))
50 * (((
51 Downlink Command:  0x01015180   Same as AT+TDC=86400000
52 )))
53
54 == 1.3 Test Result ==
55
56 Move the magnet part to generate Open / Close event and check the uplink packet in the platform.
57
58 [[image:image-20240424100951-10.jpeg||height="333" width="741"]]
59
60 [[image:image-20240424100951-11.png||height="280" width="1247"]]
61
62
63 == 1.4 Power Consumption Notice ==
64
65
66 Connect a Normal Close Door Sensor won't increase sleep current (~~6uA). The power consumption mainly depends on the how many open/close event happen every day.
67
68
69
70
71 = 2. Water Sensor =
72
73
74 Application: Connect to Water leakage Sensor detect door open / close and send to IoT server
75
76
77 == 2.1 Hardware Connection ==
78
79 * LHT65N VDD <~-~-> one wire of water leakage Sensor
80 * LHT65N Interrupt Pin <~-~-> one wire of water leakage Sensor
81
82
83
84 == 2.2  Software Configuration ==
85
86 Set LHT65N to Interrupt Mode so device will uplink when there is open/close event
87
88 * AT Command : AT+EXT=4,1
89 * Downlink Command:  0xA20401 :   Same as AT+EXT=4,1
90
91 Enlarge the TDC time so LHT65N will send Keep Alive message every 24 hours so to save battery life.
92
93 * AT Command :AT+TDC=86400000
94 * Downlink Command:  01015180  Same as AT+TDC=86400000
95
96
97
98 == 2.3 Test Result ==
99
100
101 Partial contact of the sensor probe with water generates open/close events and checks for upstream packets in the platform.
102
103 [[image:image-20240424101908-12.png||height="331" width="435"]]
104
105 [[image:image-20240424101927-13.png||height="303" width="766"]]
106
107
108 == 2.4 Power Consumption Notice ==
109
110 * Connecting the water leak sensor increases the sleep current (~~40uA). When using a water leak sensor, the battery life will be reduced.
111
112 [[image:image-20240424102048-14.png||height="495" width="926"]]
113
114 When the probe comes into contact with water, it will increase the low power consumption by about 300uA.
115
116 Then when it is out of contact with water, the power consumption will slowly drop. The reason for the slow drop is that there are water beads hanging on the surface of the probe. When it dries, It will reduce power consumption.
117
118
119
120 = 3 Smoke Sensor =
121
122 Application:  Mainly suitable for hotels, warehouses, guesthouses, restaurants, hostels, factories, oil field well teams, prefabricated houses and other public places.When it is detected that the smoke in the air reaches a certain concentration value, an alarm signal is triggered immediately.
123
124
125 == 3.1 Hardware Connection ==
126
127 * LHT65N VDD <~-~-> Sound vibration film red line
128 * LHT65N Interrupt Pin <~-~-> sound vibration film black line
129
130 [[image:image-20240428090354-1.jpeg||height="456" width="1015"]]
131
132
133 == 3.2 Software Configuration ==
134
135
136 Set LHT65N to Interrupt Mode so device will uplink when there is open/close event
137
138 * AT Command : AT+EXT=4,1
139 * Downlink Command:  0xA20401 :   Same as AT+EXT=4,1
140
141 Enlarge the TDC time so LHT65N will send Keep Alive message every 24 hours so to save battery life.
142
143 * AT Command :AT+TDC=86400000
144 * Downlink Command:  01015180  Same as AT+TDC=86400000
145
146
147
148 == 3.3 Test Result ==
149
150
151 [[image:image-20240428090354-2.png||height="771" width="1011"]]
152
153 [[image:image-20240428090354-3.png||height="314" width="1015"]]
154
155 When triggered, the node will send data packets twice. When it is not triggered or the trigger ends, it needs to wait for the TDC time to send data packets.
156
157
158 == 3.4 Power Consumption Notice ==
159
160 Connect a Normal Close Door Sensor won't increase sleep current (~~6uA). The power consumption mainly depends on the how many open/close event happen every day.
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0