Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 111.2
edited by Karry Zhuang
on 2024/04/29 15:08
on 2024/04/29 15:08
Change comment:
There is no comment for this version
To version 94.1
edited by Karry Zhuang
on 2024/04/28 17:58
on 2024/04/28 17:58
Change comment:
Uploaded new attachment "image-20240428175834-9.jpeg", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 13 removed)
- 1714358288601-933.png
- 1714374026505-898.png
- 1714374373681-339.png
- 1714374389825-148.png
- 1714374398047-940.png
- 1714374445395-196.png
- 1714374493101-914.png
- image-20240428175925-10.jpeg
- image-20240428180114-11.png
- image-20240428180208-12.png
- image-20240429091325-1.png
- image-20240429092436-2.png
- image-20240429143943-1.png
Details
- Page properties
-
- Content
-
... ... @@ -130,12 +130,19 @@ 130 130 131 131 This power meter is designed in accordance with the Chinese standard for Electricity metering equipment, GB/T 17215.321-2008. It features six dial numbers for measurement accuracy. 132 132 133 -=== 2.2.2 Fix Sensor to a Power Meter (%title="Click and drag to resize" %)(%%)===133 +=== 2.2.2 Fix Sensor to a Power Meter === 134 134 135 +Do the following with EVB_Board 136 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 137 +AIoT Board SW123456=[off off off off off off] 138 + 139 +(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% title="Click and drag to resize" %) 140 + 135 135 You can utilize a couple of pea clips or other suitable fixtures to securely fasten the AIS sensor and ensure precise alignment of the camera with the digital watch wheel. 136 136 137 -[[image:image-2024042 9091325-1.png||height="706" width="535"]]143 +[[image:image-20240422092350-2.png]](% title="Click and drag to resize" %) 138 138 145 + 139 139 === 2.2.3 Calibration === 140 140 141 141 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. ... ... @@ -210,11 +210,17 @@ 210 210 211 211 === 2.3.2 Fix Sensor to a Gas Meter === 212 212 213 -You can utilize a couple of pea clips or other suitable fixtures to securely fasten the AIS sensor and ensure precise alignment of the camera with the digital watch wheel. 220 +Do the following with EVB_Board 221 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 222 +AIoT Board SW123456=[off off off off off off] 214 214 215 - [[image:image-20240429092436-2.png||height="676" width="519"]]224 +(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% title="Click and drag to resize" %) 216 216 226 +Use a hot glue gun and several sticks to attach for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the gas meter. 217 217 228 +(% title="Click and drag to resize" %)[[image:image-20240422092731-2.png||height="693" width="518"]] 229 + 230 + 218 218 === 2.3.3 Calibration === 219 219 220 220 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. ... ... @@ -278,7 +278,6 @@ 278 278 279 279 After the calibration process is completed, it can be observed that the obtained reading aligns consistently with the numerical value displayed on the digital wheel dial. 280 280 281 -[[image:1714358288601-933.png]] 282 282 283 283 == 2.4 Digital wheel dial take point coordinate diagram == 284 284 ... ... @@ -308,57 +308,6 @@ 308 308 == (% title="Click and drag to resize" %)3.1 Get Digital Reading After Calibration(%%) == 309 309 310 310 311 -=== 3.1.1 Uplink Payload (Fport~=5) === 312 - 313 -The uplink payload includes totally 14 bytes. Uplink packets use FPORT=5 and (% style="color:#4472c4" %)**every 20 minutes**(%%) send one uplink by default. 314 - 315 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:370px" %) 316 -|=(% style="width: 60px;background-color:#4F81BD;color:white" %)**Size(bytes)(% style="display:none" %) (%%)**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)2|=(% style="width: 80px;background-color:#4F81BD;color:white" %)4|=(% style="width: 80px;background-color:#4F81BD;color:white" %)4|=(% style="width: 60px;background-color:#4F81BD;color:white" %)4 317 -|(% style="width:99px" %)Value|(% style="width:62px" %)BAT|sysTimeCurrent|Integer|Decimal 318 - 319 -[[image:1714374026505-898.png||height="200" width="736"]] 320 - 321 -Payload Example(FPort=5):(% style="background-color:yellow" %)**0D 32 66 29 AF E0 00 00 00 02 00 05 E3 B0** 322 - 323 -=== 3.1.2 BAT- Battery information === 324 - 325 -These two bytes of BAT include the battery state and the actual voltage. 326 - 327 -**Ex**:0x0B32 = 3378mV 328 - 329 -=== 3.1.3 sysTimeCurrent === 330 - 331 -These four bytes contain the year, month, day, hour, minute, and second of the time. 332 - 333 -AI Sensor use Unix TimeStamp format based on 334 - 335 -[[image:1714374373681-339.png||height="81" width="527"]] 336 - 337 -Users can get this time from the link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 338 - 339 -Below is the converter example 340 - 341 -**Ex**:6629AFE0=2024-04-25 01:20:32 342 - 343 -[[image:1714374389825-148.png||height="313" width="428"]][[image:1714374398047-940.png||height="214" width="508"]] 344 - 345 -So, we can use AT+TIMESTAMP=1714012723 or downlink 6629C233 to set the current time 2024 – April ~-~- 25 Thursday 02:38:41 346 - 347 -=== 3.1.4 Integer === 348 - 349 -These four bytes display the integers in the digital wheel face 350 - 351 -[[image:file:///C:/Users/zzccc/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg]][[image:1714374445395-196.png]] 352 - 353 -Read table integer:0x00000002=2 354 - 355 -=== 3.1.5 Decimal === 356 - 357 -These four bytes display decimals on the digital wheel. 358 - 359 -[[image:1714374493101-914.png]][[image:file:///C:/Users/zzccc/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg]] 360 - 361 -Read table decimals:0x005E3B0/1000000= 0.385968 362 - 363 - 364 364 == (% title="Click and drag to resize" %)3.2 Get Image and show in PC(%%) == 324 + 325 +
- 1714358288601-933.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.5 KB - Content
- 1714374026505-898.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -53.7 KB - Content
- 1714374373681-339.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.2 KB - Content
- 1714374389825-148.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -99.5 KB - Content
- 1714374398047-940.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -76.2 KB - Content
- 1714374445395-196.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -15.3 KB - Content
- 1714374493101-914.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -15.6 KB - Content
- image-20240428175925-10.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.3 MB - Content
- image-20240428180114-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.0 MB - Content
- image-20240428180208-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.7 MB - Content
- image-20240429091325-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.0 MB - Content
- image-20240429092436-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.9 MB - Content
- image-20240429143943-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -86.8 KB - Content