Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2024/12/13 11:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -432,15 +432,47 @@ 432 432 433 433 [[image:image-20240430162820-5.png||height="218" width="532"]] 434 434 435 -=== BAT- Battery information === 435 +==== 3.2.1.2 BAT- Battery information ==== 436 436 437 437 These two bytes of BAT include the battery state and the actual voltage. 438 438 439 +[[image:image-20240430163600-8.png||height="50" width="1141"]] 440 + 439 439 **Ex**:0X0BBE= 3006 mv 440 440 443 +==== ==== 441 441 442 -=== total_packages === 445 +==== 3.2.1.3 total_packages ==== 443 443 444 -This byte represents the total number of packets for the image fetched this time 447 +This byte represents the total number of packets for the image fetched this time. 445 445 449 +[[image:image-20240430163626-9.png||height="47" width="1116"]] 450 + 451 +==== ==== 452 + 453 +==== 3.2.1.4 subcontracting_count ==== 454 + 455 +This byte represents the data number of the image packet retrieved 456 + 457 +[[image:image-20240430163738-10.png||height="44" width="1117"]] 458 + 459 + 460 +==== 3.2.1.5 Image_date ==== 461 + 462 +Apart from the eight bytes mentioned above, the next 200 bytes are all image data. 463 + 464 +Example the first packet:663095C00BBE1000FFD8FFE000104A46494600010101004800480000FFDB0043001B12141714111B1716171E1C1B2028422B28252528513A3D3042605565645F555D5B6A7899816A7190735B5D85B586909EA3ABADAB6780BCC9BAA6C799A8ABA4FFDB0043011C1E1E2823284E2B2B4EA46E5D6EA4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4FFC0000B0800F0014001012200FFC4001F00000105010101010101000000000000000001020304050607 465 + 466 +Image_date=FFD8FFE000104A46494600010101004800480000FFDB0043001B12141714111B1716171E1C1B2028422B28252528513A3D3042605565645F555D5B6A7899816A7190735B5D85B586909EA3ABADAB6780BCC9BAA6C799A8ABA4FFDB0043011C1E1E2823284E2B2B4EA46E5D6EA4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4FFC0000B0800F0014001012200FFC4001F00000105010101010101000000000000000001020304050607 467 + 468 + 469 +==== 3.2.1.6 Combined image ==== 470 + 471 +Once all the data has been uploaded to the TTN platform, the subsequent step involves concatenating each packet in sequential order and saving it into a new TXT file. It is important to note that the first 8 bytes of each packet should be removed before concatenation. 472 + 473 +When you combine all the packets, you need to convert the data inside to binary. Here the conversion is demonstrated using the [[WinHex>>http://www.x-ways.net/winhex/index-m.html]] software. 474 + 475 + 476 + 477 + 446 446