Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 81.2
edited by Edwin Chen
on 2024/04/26 22:11
on 2024/04/26 22:11
Change comment:
There is no comment for this version
To version 56.2
edited by Karry Zhuang
on 2024/04/20 15:47
on 2024/04/20 15:47
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 10 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.karry - Content
-
... ... @@ -18,12 +18,6 @@ 18 18 19 19 = 2. Calibrate Digits Readings = 20 20 21 -The AI Sensors and UART are connected and then connected to the PC. 22 - 23 - [[image:image-20240424163117-1.png||height="520" width="450"]] 24 - 25 -[[image:image-20240424163158-2.gif]][[image:image-20240424163213-3.jpeg||height="360" width="480"]] 26 - 27 27 == 2.1 Calibrate a Water Meter == 28 28 29 29 === 2.1.1 Introduce === ... ... @@ -30,24 +30,26 @@ 30 30 31 31 This water meter is designed in accordance with the Chinese standard for drinking cold water meters and hot water meters, GB/T 778.1-2007. It features five dial numbers for measurement accuracy. 32 32 33 -=== 2.1.2 Fix Sensor to a Water Meter (%title="Click and drag to resize" %)(%%)===27 +=== 2.1.2 Fix Sensor to a Water Meter === 34 34 35 -The AI Sensors are fixed in the device, and then the water meter is embedded and the Angle is adjusted. 29 +Do the following with EVB_Board 30 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 31 +AIoT Board SW123456=[off off off off off off] 36 36 37 - Thefixturebelowisjust ademo,usermightjust it with theirwater. HereistheSTEP fileforthefixturebelow: [[WaterMeterFixtureDemo>>https://www.dropbox.com/scl/fo/p1ykgysrv8p454swsh4zj/AHCYr5pcOM0WNad4fT1sf_I?rlkey=7x964q1tuvh0ezbhgxb9b2zqg&st=wxxq87t3&dl=0]].33 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% 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" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% title="Click and drag to resize" %) 38 38 39 - [[image:image-20240424163340-4.jpeg||height="709"width="532"]]35 +Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the water meter. 40 40 37 +[[image:image-20240420154605-14.jpeg||height="903" width="903"]](% title="Click and drag to resize" %) 41 41 39 + 42 42 === 2.1.3 Calibration === 43 43 44 - Revisedsentence: Launch[[HMX_FT4222H_GUI.exe>>https://www.dropbox.com/scl/fi/yktibns4o33oh0lqitqjl/HIMAX_AMR_PC_Tool.7z?rlkey=94d637ntx152idhw8vij39icv&st=4lsq8xf9&dl=0]].Please ensurethat thefirmwareupgradesoftware ota.exeis closedbefore opening HMX_FT4222H_GUI.exe.42 +Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 45 45 46 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 47 - 48 48 (% class="box warningmessage" %) 49 49 ((( 50 -(% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the [[visualcppredist_aio_x6_x64_v42.exe>>https://www.dropbox.com/scl/fi/mzqx6ld5a4zkcecntqjjg/VisualCppRedist_AIO_x86_x64_v42.rar?rlkey=9fuzodmed1fg9ulquh22h0dtr&st=ph6ozi4d&dl=0]]configuration environment. Otherwise, an error pop-up window occurs when running software.46 +(% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. 51 51 ))) 52 52 53 53 (% aria-label="1713519971789-213.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713519971789-213.png||data-widget="image"]](% title="Click and drag to resize" %) ... ... @@ -68,7 +68,7 @@ 68 68 69 69 (% aria-label="1713573839396-314.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713573839396-314.png||data-widget="image" height="198" width="649"]](% title="Click and drag to resize" %) 70 70 71 -The computer's drawing tool canbe used to open thelatest bmp image and get the coordinates of the digital wheel dial, as shownbelow. Based on theformatof thedigital wheeldial, wecan obtain each coordinate point of the currentuse dial.The (x,y) coordinate on the imageis locatedat thebottom left corner.67 +The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 72 72 73 73 (% aria-label="1713574859715-722.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713574859715-722.png||data-widget="image" height="481" width="576"]](% title="Click and drag to resize" %) 74 74 ... ... @@ -109,23 +109,26 @@ 109 109 110 110 (% title="Click and drag to resize" %) 111 111 112 -== 2.2 Calibration PowerMeter ==108 +== 2.2 Calibration power meter == 113 113 110 + 111 +== 2.1 Calibrate a Power Meter == 112 + 114 114 === 2.2.1 Introduce === 115 115 116 116 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. 117 117 118 -=== 2.2.2 Fix Sensor to a Power Meter ===117 +=== 2.2.2 Fix Sensor to a Water Meter === 119 119 120 120 Do the following with EVB_Board 121 121 Debug Board SW12=[off on] : FT4222H SPI Slave mode 122 122 AIoT Board SW123456=[off off off off off off] 123 123 124 -(% 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" %) 123 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% 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" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% title="Click and drag to resize" %) 125 125 126 126 Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the power meter. 127 127 128 -[[image:image-2024042 2092350-2.png]](% title="Click and drag to resize" %)127 +[[image:image-20240420134742-1.jpeg||height="909" width="909"]](% title="Click and drag to resize" %) 129 129 130 130 131 131 === 2.2.3 Calibration === ... ... @@ -132,8 +132,6 @@ 132 132 133 133 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 134 134 135 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 136 - 137 137 (% class="box warningmessage" %) 138 138 ((( 139 139 (% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. ... ... @@ -155,7 +155,7 @@ 155 155 156 156 (% aria-label="image-20240420094632-13.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-13.png||data-widget="image" height="148" width="588"]] 157 157 158 -The computer's drawing tool canbe used to open thelatest bmp image and get the coordinates of the digital wheel dial, as shownbelow. Based on theformatof thedigital wheeldial, wecan obtain each coordinate point of the currentuse dial.The (x,y) coordinate on the imageis locatedat thebottom left corner.155 +The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 159 159 160 160 [[image:image-20240420153316-11.png||height="569" width="755"]] 161 161 ... ... @@ -194,7 +194,7 @@ 194 194 [[image:1713595371004-125.png]] 195 195 196 196 197 -== 2.3 Calibration GasMeter ==194 +== 2.3 Calibration gas meter == 198 198 199 199 === 2.3.1 Introduce === 200 200 ... ... @@ -206,19 +206,18 @@ 206 206 Debug Board SW12=[off on] : FT4222H SPI Slave mode 207 207 AIoT Board SW123456=[off off off off off off] 208 208 209 -(% 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" %) 206 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% 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; 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" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% title="Click and drag to resize" %) 210 210 211 211 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. 212 212 213 - (% title="Click and drag to resize" %)[[image:image-20240422092731-2.png||height="693" width="518"]]210 +[[image:image-20240420152258-9.jpeg||height="931" width="698"]] 214 214 212 +(% title="Click and drag to resize" %) 215 215 216 -=== 2. 3.3 Calibration ===214 +=== 2.1.3 Calibration === 217 217 218 218 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 219 219 220 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 221 - 222 222 (% class="box warningmessage" %) 223 223 ((( 224 224 (% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. ... ... @@ -234,13 +234,13 @@ 234 234 235 235 [[image:1713592384928-500.png||height="494" width="266"]][[image:1713598094208-496.png||height="494" width="790"]] 236 236 237 -This gasmeter has eight fields, and the coordinates of the digital roulette wheel are shown in the figure.233 +This power meter has eight fields, and the coordinates of the digital roulette wheel are shown in the figure. 238 238 239 239 If your device's digital scroll wheel dial does not match these eight fields, you can try the other field dial coordinate dot plots in 2.4. 240 240 241 241 (% aria-label="image-20240420094632-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-15.png||data-widget="image" height="113" width="542"]] 242 242 243 -(% id="cke_bm_196694S" style="display:none" %) (%%)The computer's drawing tool canbe used to open thelatest bmp image and get the coordinates of the digital wheel dial, as shownbelow. Based on theformatof thedigital wheeldial, wecan obtain each coordinate point of the currentuse dial.The (x,y) coordinate on the imageis locatedat thebottom left corner.239 +(% id="cke_bm_196694S" style="display:none" %) (%%)The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 244 244 245 245 [[image:image-20240420153139-10.png||height="530" width="710"]] 246 246 ... ... @@ -252,7 +252,7 @@ 252 252 253 253 The "Digit wheel" option is the digital wheel dial. 254 254 255 -Now we are calibrating the digital wheel face of the gasmeter. Here we select "digit wheel".251 +Now we are calibrating the digital wheel face of the power meter. Here we select "digit wheel". 256 256 257 257 (% aria-label="1713576691266-408.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576691266-408.png||data-widget="image"]] 258 258
- image-20240420164123-15.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -229.3 KB - Content
- image-20240420164123-16.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -142.6 KB - Content
- image-20240422092251-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.0 MB - Content
- image-20240422092350-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -714.7 KB - Content
- image-20240422092640-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.1 MB - Content
- image-20240422092731-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.4 MB - Content
- image-20240424163117-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.2 MB - Content
- image-20240424163158-2.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.5 MB - Content
- image-20240424163213-3.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.1 MB - Content
- image-20240424163340-4.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.5 MB - Content