Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 97.2
edited by Karry Zhuang
on 2024/04/28 18:01
on 2024/04/28 18:01
Change comment:
There is no comment for this version
To version 56.1
edited by Karry Zhuang
on 2024/04/20 15:46
on 2024/04/20 15:46
Change comment:
Uploaded new attachment "image-20240420154605-14.jpeg", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 21 removed)
- image-20240420164123-15.jpeg
- image-20240420164123-16.jpeg
- image-20240422092251-1.png
- image-20240422092350-2.png
- image-20240422092640-1.jpeg
- image-20240422092731-2.png
- image-20240424163117-1.png
- image-20240424163158-2.gif
- image-20240424163213-3.jpeg
- image-20240424163340-4.jpeg
- image-20240428155254-1.png
- image-20240428155835-2.png
- image-20240428163842-3.png
- image-20240428165320-4.gif
- image-20240428165354-5.gif
- image-20240428165412-6.gif
- image-20240428165634-7.gif
- image-20240428165645-8.jpeg
- image-20240428175834-9.jpeg
- image-20240428175925-10.jpeg
- image-20240428180114-11.png
Details
- Page properties
-
- Content
-
... ... @@ -18,7 +18,6 @@ 18 18 19 19 = 2. Calibrate Digits Readings = 20 20 21 - 22 22 == 2.1 Calibrate a Water Meter == 23 23 24 24 === 2.1.1 Introduce === ... ... @@ -27,42 +27,24 @@ 27 27 28 28 === 2.1.2 Fix Sensor to a Water Meter === 29 29 30 -The assembly necessitates the use of two screws, two spacers, and this specific device. Additionally, there are AIS Sensors available along with TTL adapters for AIS Sensors. 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] 31 31 32 - 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" %) 33 33 34 - [[image:image-20240428163842-3.png||height="425"width="609"]][[image:image-20240428155254-1.png||height="424"width="358"]]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. 35 35 36 - Theprocedure isasfollows:37 +(% aria-label="image-20240419173432-1.jpeg image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419173432-1.jpeg||data-widget="image" height="757" width="757"]](% title="Click and drag to resize" %) 37 37 38 -~1. Secure back of the AIS sensor onto the small board and adjust its position according to your requirements. You may use two additional screws for fixation or utilize 3M double-sided adhesive for attachment. 39 39 40 -[[image:image-20240428165320-4.gif]] 41 - 42 -2. Proceed by fastening the device using the previously prepared screws and gaskets. 43 - 44 -[[image:image-20240428165354-5.gif]] 45 - 46 -3. Finally, nestle the device onto your water meter, ensuring that it can be adjusted to meet your specific needs while guaranteeing that the camera is directed towards the digital wheel face. 47 - 48 -[[image:image-20240428165412-6.gif]]. 49 - 50 -The AI Sensors and AUC USB TTL Adapter for AIS Sensors are connected and then connected to the PC. 51 - 52 -[[image:image-20240428165634-7.gif]][[image:image-20240428165645-8.jpeg||height="332" width="443"]] 53 - 54 - 55 - 56 - 57 57 === 2.1.3 Calibration === 58 58 59 - Launch [[HMX_FT4222H_GUI.exe>>https://www.dropbox.com/scl/fi/yktibns4o33oh0lqitqjl/HIMAX_AMR_PC_Tool.7z?rlkey=94d637ntx152idhw8vij39icv&st=4lsq8xf9&dl=0]].Please ensurehatthefirmwareupgradesoftware 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. 60 60 61 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 62 - 63 63 (% class="box warningmessage" %) 64 64 ((( 65 -(% 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. 66 66 ))) 67 67 68 68 (% 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" %) ... ... @@ -83,7 +83,7 @@ 83 83 84 84 (% 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" %) 85 85 86 -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. 87 87 88 88 (% 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" %) 89 89 ... ... @@ -124,24 +124,32 @@ 124 124 125 125 (% title="Click and drag to resize" %) 126 126 127 -== 2.2 Calibration PowerMeter ==108 +== 2.2 Calibration power meter == 128 128 110 + 111 +== 2.1 Calibrate a Power Meter == 112 + 129 129 === 2.2.1 Introduce === 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" %)(%%)===117 +=== 2.2.2 Fix Sensor to a Water Meter === 134 134 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. 119 +Do the following with EVB_Board 120 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 121 +AIoT Board SW123456=[off off off off off off] 136 136 137 -[[image:image-202404281 80114-11.png||height="705" width="536"]]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" %) 138 138 125 +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. 126 + 127 +[[image:image-20240420134742-1.jpeg||height="909" width="909"]](% title="Click and drag to resize" %) 128 + 129 + 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. 142 142 143 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 144 - 145 145 (% class="box warningmessage" %) 146 146 ((( 147 147 (% 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. ... ... @@ -163,7 +163,7 @@ 163 163 164 164 (% 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"]] 165 165 166 -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. 167 167 168 168 [[image:image-20240420153316-11.png||height="569" width="755"]] 169 169 ... ... @@ -202,7 +202,7 @@ 202 202 [[image:1713595371004-125.png]] 203 203 204 204 205 -== 2.3 Calibration GasMeter ==194 +== 2.3 Calibration gas meter == 206 206 207 207 === 2.3.1 Introduce === 208 208 ... ... @@ -210,16 +210,22 @@ 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. 202 +Do the following with EVB_Board 203 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 204 +AIoT Board SW123456=[off off off off off off] 214 214 215 -[[image:image-202404281 75925-10.jpeg||height="529" width="397"]]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" %) 216 216 217 - ===2.3.3Calibration===208 +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. 218 218 219 - Performpower reset on the EVB board,makingsureto close the ota.exe program before opening HMX_FT4222H_GUI.exe.210 +[[image:image-20240420152258-9.jpeg||height="931" width="698"]] 220 220 221 - Choosethelargestnumberof serialport, forexample, herehows 13 and 14, thenchoose 14.212 +(% title="Click and drag to resize" %) 222 222 214 +=== 2.1.3 Calibration === 215 + 216 +Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 217 + 223 223 (% class="box warningmessage" %) 224 224 ((( 225 225 (% 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. ... ... @@ -235,13 +235,13 @@ 235 235 236 236 [[image:1713592384928-500.png||height="494" width="266"]][[image:1713598094208-496.png||height="494" width="790"]] 237 237 238 -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. 239 239 240 240 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. 241 241 242 242 (% 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"]] 243 243 244 -(% 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. 245 245 246 246 [[image:image-20240420153139-10.png||height="530" width="710"]] 247 247 ... ... @@ -253,7 +253,7 @@ 253 253 254 254 The "Digit wheel" option is the digital wheel dial. 255 255 256 -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". 257 257 258 258 (% aria-label="1713576691266-408.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576691266-408.png||data-widget="image"]] 259 259 ... ... @@ -277,6 +277,7 @@ 277 277 278 278 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. 279 279 275 +[[image:1713598887495-423.png]] 280 280 281 281 == 2.4 Digital wheel dial take point coordinate diagram == 282 282 ... ... @@ -299,12 +299,3 @@ 299 299 8 numbers: 300 300 301 301 (% aria-label="image-20240420094632-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-15.png||data-widget="image"]](% 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" %) 302 - 303 - 304 -= (% title="Click and drag to resize" %)3. Get Sensor Data.(%%) = 305 - 306 -== (% title="Click and drag to resize" %)3.1 Get Digital Reading After Calibration(%%) == 307 - 308 - 309 -== (% title="Click and drag to resize" %)3.2 Get Image and show in PC(%%) == 310 -
- 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
- image-20240428155254-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.1 MB - Content
- image-20240428155835-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.6 MB - Content
- image-20240428163842-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.2 MB - Content
- image-20240428165320-4.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.0 MB - Content
- image-20240428165354-5.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.6 MB - Content
- image-20240428165412-6.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.0 MB - Content
- image-20240428165634-7.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.2 MB - Content
- image-20240428165645-8.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.9 MB - Content
- image-20240428175834-9.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.7 MB - 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