Pentax K3III - BodyBatteryVoltage - RollAngle -PitchAngle - SensorTemperature

Started by lizoom, April 22, 2024, 12:51:11 PM

Previous topic - Next topic

lizoom

I have been using ExifTool for some time now with a number of Pentax DSLR cameras (K10; K7; K5II; K3) and use the additional information to analyze accidental shots. I am currently using the Pentax K3III. In the Pentax K3III, Pentax revised the camera software.

When using ExifTool with files from the Pentax K3III I noticed that some tags show incorrect values:
BodyBatteryVoltage1; BodyBatteryVoltage2; RollAngle; PitchAngle; SensorTemperature.

Here is an example:
version of exiftool:12.83
version of Gui for exiftool:5.16
system type: Windows 10

Pentax ModelID: K-3 Mark III
DSPFirmwareVersion:2.13.10.25
RawDevelopmentProcess: 20 (K-3III)

Tags with incorrect values:
BodyBatteryVoltage1: 13.80 V (typical is 7.2 V)
BodyBatteryVoltage2: 28.72 V
RollAngle: 0
PitchAngle: 0
SensorTemperature: 2983.9 C

Tags with apparently correct values for comparison
SensorTemperature2: 30.5 C
CameraTemperature: 20 C

A bug report was also written some time ago by "kypfer" about the display of incorrect values for RollAngle and PitchAngle
https://exiftool.org/forum/index.php?topic=13742.0

The Pentax K3III users would certainly be happy if this could be fixed.

Phil Harvey

Could you send me a few samples at various pitch and roll angles so I can take a look?  My email is philharvey66 at gmail.com

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

lizoom


Phil Harvey

Great, thanks.  I've been able to decode these angles from your samples.

Unfortunately I didn't find the samples in my junk mailbox until after I did the ExifTool 12.84 release, so the K-3III PitchAngle and RollAngle will be decoded in version 12.85.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

lizoom

Thanks, that's great. :)
Could you also fix the problem with the wrong values for the tags "BodyBatteryVoltage" and "BodyBatteryVoltage"?

-lizoom

Phil Harvey

I will need some samples to be able to decode this.  Can you send me a few samples at known battery levels from nearly empty to full?  My email is philharvey66 at gmail.com

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

lizoom

In the last few days I have carried out a systematic (I hope) series of tests with different battery voltages in the possible battery constellations.
I have just sent you an email with the resulting pictures.

I have also tried to create images of the "SensorTemperature" for the incorrect values mentioned above.
But the test with an infrared thermometer does not provide reasonable results.

-lizoom


Phil Harvey

I'll look at the files when I get a chance.

For sensor temperature, it is sometimes sufficient to look at a long series of closely-spaced images to look for a number that increases slowly.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

Also, I should mention that another set of pitch/roll images in portrait orientation would probably be helpful because I think it may be different in this orientation.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

lizoom

Thanks for your reply to roll/pitch. I have created a new series of tests with different Roll/Pitch Values in Landscape and Portrait. I have just sent 2 emails about this.

-lizoom

Phil Harvey

I got them, thanks.  I'll analyze them before the next release (may be a while, it's migration season now and I'm out most days birding).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

I've been staring at the voltage data and haven't made much headway.  I'll have to take a break for now, but here is the table I've made showing the BatteryInfo raw hex value and the battery conditions for each series:

Byte number:
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2                                       Power  Body        Grip
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2                                       Source Battery     Battery
------------------------------------------------------------------------------------------------------------
315305640bae0b4f000000000000000005640c460b4200    20240427_K33P0373.JPG    Series_1 Body   Discharging Full
314b05640aa20a17000000000000000005640bff0b3b00    20240427_K33P0378.JPG    Series_1
315304500a5a09ea000000000000000005640b9f0b1c00    20240427_K33P0388.JPG    Series_1
3147033c09d10946000000000000000005640bff0b3b00    20240427_K33P0392.JPG    Series_1
315405640b0c0aa2000000000000000005640bbb0b3400    20240428_K33P0419.JPG    Series_1
315405640b750b10000000000000000005640bbd0b3c00    20240428_K33P0426.JPG    Series_1
315405640a840a26000000000000000005640bd60b5100    20240428_K33P0430.JPG    Series_1
31420228097d0934000000000000000005640c260b8500    20240428_K33P0438.JPG    Series_1
325305640baa0b45000000000000000005640c460b4000    20240427_K33P0374.JPG    Series_2 Grip   Discharging Full
325505640ad00a45000000000000000005640bba0af600    20240427_K33P0379.JPG    Series_2
324804500a2b09ce000000000000000005640bde0b4500    20240427_K33P0389.JPG    Series_2
3245022809d00979000000000000000005640c060b6a00    20240427_K33P0393.JPG    Series_2
324d05640ae00a82000000000000000005640c240b7c00    20240428_K33P0420.JPG    Series_2
325005640b4e0af4000000000000000005640c210b8800    20240428_K33P0427.JPG    Series_2
324904500a5f0a09000000000000000005640c2f0b9300    20240428_K33P0431.JPG    Series_2
32420228095d0913000000000000000005640c2c0b8b00    20240428_K33P0439.JPG    Series_2
314b05640be20b72000000000000000005640a920a0100    20240427_K33P0380.JPG    Series_3 Body   Full        Discharging
314905640bc60b5e000000000000000004500a3209be00    20240427_K33P0390.JPG    Series_3
315305640bab0b200000000000000000033c0a12094e00    20240427_K33P0394.JPG    Series_3
314e05640c0e0b97000000000000000005640aec0a6d00    20240428_K33P0421.JPG    Series_3
315105640c0b0b9e000000000000000005640b550ace00    20240428_K33P0428.JPG    Series_3
314a05640c150ba2000000000000000004500a5609ca00    20240428_K33P0432.JPG    Series_3
315305640bdd0b790000000000000000033c09b1092100    20240428_K33P0440.JPG    Series_3
325205640b9c0b36000000000000000005640af80a3300    20240427_K33P0381.JPG    Series_4 Grip   Full        Discharging
325205640b8f0b2f000000000000000005640a6b09e000    20240427_K33P0391.JPG    Series_4
324805640be40b590000000000000000022809d4091000    20240427_K33P0395.JPG    Series_4
325305640bb40b4e000000000000000005640b230a8900    20240428_K33P0422.JPG    Series_4
325305640bab0b4a000000000000000005640b8c0af600    20240428_K33P0429.JPG    Series_4
325305640bc00b5a000000000000000005640a9909e800    20240428_K33P0433.JPG    Series_4
325305640bb00b4e0000000000000000022809b5092d00    20240428_K33P0441.JPG    Series_4
1145022809bb095a000000000000000000000778002600    20240427_K33P0400.JPG    Series_5 Body   Discharging No Grip
1148033c0a2009950000000000000000000007b606f200    20240428_K33P0402.JPG    Series_5
110004500a5109f50000000000000000000007d1002800    20240428_K33P0405.JPG    Series_5
110005640bf20b850000000000000000000008ff002d00    20240428_K33P0408.JPG    Series_5
110005640ab80a5f000000000000000000000820002900    20240428_K33P0411.JPG    Series_5
110005640afe0a9d000000000000000000000854002a00    20240428_K33P0414.JPG    Series_5
110005640b590aee000000000000000000000894002b00    20240428_K33P0423.JPG    Series_5
11430228096b090a00000000000000000000072f002400    20240428_K33P0434.JPG    Series_5
2245000a07db07500000000000000000022809ba08f600    20240427_K33P0399.JPG    Series_6 Grip   Missing     Discharging
2248000a081107860000000000000000033c0a12094e00    20240428_K33P0403.JPG    Series_6
2200000a0841002c000000000000000004500a5409d200    20240428_K33P0407.JPG    Series_6
2200000a09860030000000000000000005640bfb0b6500    20240428_K33P0409.JPG    Series_6
2200000a0894002d000000000000000005640ac00a3800    20240428_K33P0412.JPG    Series_6
2200000a08c7002d000000000000000005640b000a6a00    20240428_K33P0415.JPG    Series_6
2200000a0919002f000000000000000005640b630ac900    20240428_K33P0424.JPG    Series_6
2200000a07a4002800000000000000000228098b090b00    20240428_K33P0435.JPG    Series_6
1145022809bc093100000000000000000000076b06a700    20240427_K33P0401.JPG    Series_7 Body   Discharging No Battery
110004500a2809d20000000000000000000007b5002800    20240428_K33P0404.JPG    Series_7
114904500a4c09e50000000000000000000007d5002800    20240428_K33P0406.JPG    Series_7
110005640bec0b8a000000000000000000000904002d00    20240428_K33P0410.JPG    Series_7
110005640ab60a53000000000000000000000822002800    20240428_K33P0413.JPG    Series_7
110005640af10a8500000000000000000000084e002a00    20240428_K33P0416.JPG    Series_7
110005640b560aed000000000000000000000894002b00    20240428_K33P0425.JPG    Series_7
110002280980093600000000000000000000073c002500    20240428_K33P0436.JPG    Series_7
945c05640b130a94000000000000000000000cdf002a00    20240429_K33P0442.JPG    Series_8 External Yes       No Grip
845b00640035ffaa000000000000000000000ccc0c0800    20240429_K33P0443.JPG    Series_8 External Missing   No Grip
845c00640038ffad000000000000000000000cd80c1400    20240429_K33P0444.JPG    Series_8 External Missing   No Battery

The body battery corresponds with the 2 bytes at offset 02, and the grip battery at offset 16 -- these values are near zero when the corresponding battery is missing, and 0x0564 when the battery is full.  But I am confused because the numbers don't decrease in any reasonable fashion through a discharging series.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

lizoom

Hi Phil,

Thanks for the interim result on battery voltage.
I have tried to read the information from the HEX code.
The values have been split up as 8-bit values and also as 16-bit values. I tried to interpret the results in a meaningful way.
This was done with the use of Excel. I have sent you the file by e-mail.

-Peter