Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 95.1
edited by Karry Zhuang
on 2024/04/28 17:59
on 2024/04/28 17:59
Change comment:
Uploaded new attachment "image-20240428175925-10.jpeg", version {1}
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -130,19 +130,12 @@ 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 === 133 +=== 2.2.2 Fix Sensor to a Power Meter(% title="Click and drag to resize" %)(%%) === 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 - 141 141 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. 142 142 143 -[[image:image-2024042 2092350-2.png]](% title="Clickanddragto resize"%)137 +[[image:image-20240429091325-1.png||height="706" width="535"]] 144 144 145 - 146 146 === 2.2.3 Calibration === 147 147 148 148 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. ... ... @@ -217,17 +217,11 @@ 217 217 218 218 === 2.3.2 Fix Sensor to a Gas Meter === 219 219 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] 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. 223 223 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" %)215 +[[image:image-20240429092436-2.png||height="676" width="519"]] 225 225 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. 227 227 228 -(% title="Click and drag to resize" %)[[image:image-20240422092731-2.png||height="693" width="518"]] 229 - 230 - 231 231 === 2.3.3 Calibration === 232 232 233 233 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. ... ... @@ -291,6 +291,7 @@ 291 291 292 292 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. 293 293 281 +[[image:1714358288601-933.png]] 294 294 295 295 == 2.4 Digital wheel dial take point coordinate diagram == 296 296 ... ... @@ -320,6 +320,57 @@ 320 320 == (% title="Click and drag to resize" %)3.1 Get Digital Reading After Calibration(%%) == 321 321 322 322 323 -== (%title="Click and drag toresize" %)3.2 Get Image andshow in PC(%%) ==311 +=== 3.1.1 Uplink Payload (Fport~=5) === 324 324 325 - 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 +== (% title="Click and drag to resize" %)3.2 Get Image and show in PC(%%) ==
- 1714358288601-933.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.5 KB - Content
- 1714374026505-898.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.7 KB - Content
- 1714374373681-339.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.2 KB - Content
- 1714374389825-148.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.5 KB - Content
- 1714374398047-940.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.2 KB - Content
- 1714374445395-196.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.3 KB - Content
- 1714374493101-914.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.6 KB - Content
- image-20240428180114-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.0 MB - Content
- image-20240428180208-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.7 MB - Content
- image-20240429091325-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.0 MB - Content
- image-20240429092436-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 MB - Content
- image-20240429143943-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +86.8 KB - Content