Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -111,44 +111,48 @@ 111 111 [[image:image-20230717144740-2.png||height="391" width="267"]] 112 112 113 113 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 114 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Comportamento no ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Função**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Acção** 115 -|(% style="background-color:#f2f2f2; width:167px" %)Pressionando ACT entre 1s < tempo < 3s|(% style="background-color:#f2f2f2; width:117px" %)Teste o estado da ligação ascendente|(% style="background-color:#f2f2f2; width:225px" %)Se o LHT65N já estiver unido à rede rhe LoRaWAN, o LHT65N enviará um pacote de uplink, se o LHT65N tiver sensor externo conectado, o led azul piscará uma vez. Se o LHT65N não tiver sensor externo, o led vermelho piscará uma vez. 116 -|(% style="background-color:#f2f2f2; width:167px" %)Pressionando ACT por mais de 3s|(% style="background-color:#f2f2f2; width:117px" %)Dispositivo Activo|(% style="background-color:#f2f2f2; width:225px" %)O led verde piscará rapidamente 5 vezes, o LHT65N entrará no modo de trabalho e começará a juntar-se à rede LoRaWAN. 117 -O led verde ligará solidamente por 5 segundos após a junção na rede. 118 -|(% style="background-color:#f2f2f2; width:167px" %)Pressione rapidamente ACT 5 vezes.|(% style="background-color:#f2f2f2; width:117px" %)Desactivar o Dispositivo|(% style="background-color:#f2f2f2; width:225px" %)((( 119 -O led vermelho ficará sólido durante 5 segundos. Significa que LHT65N está em modo de sono profundo. 114 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 115 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)((( 116 +If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once. 120 120 ))) 118 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)((( 119 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. 120 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 121 +))) 122 +|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode. 121 121 122 -== 2.3 Ex emploparaingressarna redeLoRaWAN ==124 +== 2.3 Example to join LoRaWAN network == 123 123 124 124 125 125 (% class="wikigeneratedid" %) 126 - Estaseçãomostraumexemplo decomoentrarnoservidorIoTTN V3 LoRaWAN.O usocom outrosservidoresIoTLoRaWANédeum procedimento semelhante.128 +This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure. 127 127 128 128 129 129 (% class="wikigeneratedid" %) 130 130 [[image:image-20220522232442-1.png||_mstalt="427830" height="387" width="648"]] 131 131 132 -Suponha que o LPS8N já esteja configurado para se conectar à rede [[TTN V3>>https://eu1.cloud.thethings.network]], então ele fornece cobertura de rede para LHT65N. Em seguida, precisamos adicionar o dispositivo LHT65N em TTN V3: 133 133 134 134 ((( 135 - 136 +Assume the LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network||_mstvisible="2"]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3: 136 136 ))) 137 137 138 -=== 2.3.1 Etapa 1: Crie dispositivo n ttn === 139 139 140 +=== 2.3.1 Step 1: Create Device n TTN === 140 140 142 + 141 141 ((( 142 -Crie um dispositivo no TTN V3 com as teclas OTAA do LHT65N. 144 +Create a device in TTN V3 with the OTAA keys from LHT65N. 145 +))) 143 143 144 -Cada LHT65N é enviado com um adesivo com seu dispositivo eui, chave de aplicativo e aplicativo eui como abaixo: 147 +((( 148 +Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 145 145 ))) 146 146 147 147 [[image:image-20230426083319-1.png||height="258" width="556"]] 148 148 149 - O usuáriopodeinseriressaschaves noportaldoservidorLorawan.Abaixoestá a captura de tela do TTN V3:153 +User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 150 150 151 -Ad icioneoaplicativoEUI noaplicativo.155 +Add APP EUI in the application. 152 152 153 153 154 154 [[image:image-20220522232916-3.png||_mstalt="430495"]] ... ... @@ -161,41 +161,43 @@ 161 161 162 162 163 163 164 -(% style="color:red" %)**Not a: LHT65NUse asmacargaútilqueLHT65.**168 +(% style="color:red" %)**Note: LHT65N use same payload as LHT65.** 165 165 166 166 167 167 [[image:image-20220522233026-6.png||_mstalt="429403"]] 168 168 169 169 170 -I NSIDEAPP EUI, APP KEYeDEV EUI:174 +Input APP EUI, APP KEY and DEV EUI: 171 171 172 172 173 173 [[image:image-20220522233118-7.png||_mstalt="430430"]] 174 174 175 175 176 -=== 2.3.2 Passo2: AtiveoLHT65N pressionandoo botãoACTpor mais de 5 segundos. ===180 +=== 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 177 177 178 178 179 179 ((( 180 -Use obotãoACT para ativaroLHT65Neelese conectará automaticamenteà redeTTN V3. Apóso sucesso da junção,elecomeçaráa carregarosdadosdosensorpara o TTN V3eousuário poderávernopainel.184 +Use ACT button to activate LHT65N and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel. 181 181 ))) 182 182 183 183 [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]] 184 184 185 185 186 -== 2.4 Carga útil de uplink (Fport~=2) ==190 +== 2.4 Uplink Payload (Fport~=2) == 187 187 188 188 189 189 ((( 190 - A carga de uplink incluitotalmente11 bytes.Ospacotesdeuplink usamFPORT=2ea cada20 minutosviamumuplinkporpadrão.194 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 191 191 ))) 192 192 193 193 ((( 194 -A póscadauplink, o LEDAZULpiscaráumavez.198 +After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 195 195 ))) 196 196 197 197 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 198 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)Tamanho( bytes)|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 202 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 203 +**Size(bytes)** 204 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 199 199 **2** 200 200 )))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)((( 201 201 **2** ... ... @@ -206,56 +206,62 @@ 206 206 )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 207 207 **4** 208 208 ))) 209 -|(% style="width:97px" %)Valor|(% style="width:39px" %)((( 210 -[[MTD>>||anchor="H2.4.2BAT-BatteryInfo"]] 215 +|(% style="width:97px" %)((( 216 +**Value** 217 +)))|(% style="width:39px" %)((( 218 +[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]] 211 211 )))|(% style="width:100px" %)((( 212 212 ((( 213 -[[Temperatur a incorporada>>||anchor="H2.4.3Built-inTemperature"]]221 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 214 214 ))) 215 215 )))|(% style="width:77px" %)((( 216 216 ((( 217 -[[ Umidadeincorporada>>||anchor="H2.4.4Built-inHumidity"]]225 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 218 218 ))) 219 219 )))|(% style="width:47px" %)((( 220 220 [[Ext>>||anchor="H2.4.5Ext23"]] # 221 221 )))|(% style="width:51px" %)((( 222 -[[ ValorExt>>||anchor="H2.4.6Extvalue"]]230 +[[Ext value>>||anchor="H2.4.6Extvalue"]] 223 223 ))) 224 224 225 -* Osprimeiros 6 bytes:temsignificados fixosparacadaLHT65N.233 +* The First 6 bytes: has fix meanings for every LHT65N. 226 226 227 -* O7ºbyte (EXT #): defineomodelodosensorexterno.235 +* The 7th byte (EXT #): defines the external sensor model. 228 228 229 -* O8º~~ 11ºbyte:ovalorparao valordosensor externo.Adefiniçãoébaseadano tipo de sensorexterno. (SeEXT=0,nãohaveráessesquatrobytes.)237 +* The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won't be these four bytes.) 230 230 231 231 232 -=== 2.4.1 Decod ificadoremTTN V3 ===240 +=== 2.4.1 Decoder in TTN V3 === 233 233 234 234 235 - Quandoopayloaddo uplink chegaTTNv3,elemostraoformatoHEXenãoéfácildeler.PodemosadicionarLHT65NificadoremTTNv3paraleituraamigável.243 +When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading. 236 236 237 - Abaixoestáaposiçãopara colocarodecodificadore odecodificadorLHT65Npodeserbaixadoqui: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]245 +Below is the position to put the decoder and LHT65N decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 238 238 239 239 240 240 [[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]] 241 241 242 242 243 -=== 2.4.2 Informações da bateriaBAT===251 +=== 2.4.2 BAT-Battery Info === 244 244 245 245 246 - EssesdoisbytesdeBAT incluemo estadodabateriae a tensãoatual.254 +These two bytes of BAT include the battery state and the actually voltage. 247 247 248 248 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 249 249 |=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)((( 250 250 **Bit(bit)** 251 251 )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0] 252 -|(% style="width:66px" %)Valor|(% style="width:250px" %)Estado MTD 253 -00 b): Ultra baixo ( MTD <= 2,50v) 254 -01 b): Baixo (2,50v <=MTD <= 2,55v) 255 -10 b): OK (2,55v <= MTD <=2,65v) 256 -11 b): Bom (MTD >= 2,65v)|(% style="width:152px" %)Na realidade, tensão MTD 260 +|(% style="width:66px" %)((( 261 +**Value** 262 +)))|(% style="width:250px" %)((( 263 +BAT Status 264 +00(b): Ultra Low ( BAT <= 2.50v) 265 +01(b): Low (2.50v <=BAT <= 2.55v) 266 +10(b): OK (2.55v <= BAT <=2.65v) 267 +11(b): Good (BAT >= 2.65v) 268 +)))|(% style="width:152px" %)Actually BAT voltage 257 257 258 -**(b) ignificabinário**270 +**(b)stands for binary** 259 259 260 260 261 261 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]