Poll

Has the hackabiliy of the E4 made you buy one :  

Yes, I was already looking at the competition at a similar price, but the hack swung it to E4
236 (26.3%)
Yes, I'd not considered buying a TIC before, but 320x240 resolution at this price justifies it (as either tool or toy!)
423 (47.2%)
Yes, I was going to buy an E5/6/8 class of unit but will now get the E4
42 (4.7%)
No, but am looking out for a cheap i3 to hack
40 (4.5%)
Not yet, but probably will if now that a closed-box hack becomes is possible
156 (17.4%)

Total Members Voted: 772

Author Topic: Flir E4 Thermal imaging camera teardown  (Read 2589467 times)

0 Members and 4 Guests are viewing this topic.

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7350 on: October 14, 2015, 10:51:30 pm »
I see that rls.exe is onboard, but how do I execute it? If I go to the copy on my windows computer it says it is not a valid win32 application. If I type the command in winspc command box when connected to the camera it says it cannot recognise the command? Please describe how to do it...
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7351 on: October 14, 2015, 10:55:24 pm »
in Germany we say: "you are a hard nut"

google
Code: [Select]
site:www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown telnet

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7352 on: October 14, 2015, 11:12:19 pm »
Ok, thank you for your patience

I installed putty and the rls command returns "bad data" and no file is created. If I type "rls -rl" I get info but it keeps filling up the screen. Any thought on what is the problem?
 

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7353 on: October 14, 2015, 11:44:56 pm »
Ok, I managed to extract all info from putty by copy to clipboard in sections and puzzle it together. Phew!

 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 3902
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #7354 on: October 15, 2015, 12:05:40 am »
Ok, I managed to extract all info from putty by copy to clipboard in sections and puzzle it together. Phew!

And then somebody tells you that Putty has a log function  :-X
Keyboard error: Press F1 to continue.
 

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7355 on: October 15, 2015, 12:20:39 am »
 :-DD

That's on me :)
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7356 on: October 15, 2015, 03:31:11 am »
Ok, I managed to extract all info from putty by copy to clipboard in sections and puzzle it together. Phew!

bad news, your sensor is only 80x80
Code: [Select]
i5

.image.flow.framebuffer.geom:
r---r--------- 0 root   root   <i> bitsPerPixel                  16
r---r--------- 0 root   root   <i> height                        80
r---r--------- 0 root   root   <i> width                         80


.calib.detector.geom:
rw--rw-------p*0 root   root   <i> imgPixX                       80
rw--rw-------p*0 root   root   <i> imgPixY                       80

compare the values with an unpatched Flir E40
image 160x120 <-> sensor 320x240
Code: [Select]
E40

.image.flow.framebuffer.geom: (3)
r---r--------- 0 root   root   <i> bitsPerPixel                  16
r---r--------- 0 root   root   <i> height                       120
r---r--------- 0 root   root   <i> width                        160


.calib.detector.geom: (8)
rw--rw-------p*0 root   root   <i> imgPixX                      320
rw--rw-------p*0 root   root   <i> imgPixY                      240

we need 17 posts to check it  :(
« Last Edit: October 15, 2015, 03:33:59 am by tomas123 »
 

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7357 on: October 15, 2015, 03:35:39 am »
Okay. If you are 100% sure, then - I'll live with that.


Thank you so much for your help and time spent on this.
 

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7358 on: October 15, 2015, 04:17:01 am »
But hey, what's up with this section then:

Code: [Select]
.caps.config.image.settings:
r---r--------- 0 root   root   <b> enabled                     true
r---r--------- 0 root   root   <i> resIR                        120
 

Offline encryptededdy

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: nz
Re: Flir E4 Thermal imaging camera teardown
« Reply #7359 on: October 15, 2015, 06:09:37 am »
Ok, I managed to extract all info from putty by copy to clipboard in sections and puzzle it together. Phew!

bad news, your sensor is only 80x80
Code: [Select]
i5

.image.flow.framebuffer.geom:
r---r--------- 0 root   root   <i> bitsPerPixel                  16
r---r--------- 0 root   root   <i> height                        80
r---r--------- 0 root   root   <i> width                         80


.calib.detector.geom:
rw--rw-------p*0 root   root   <i> imgPixX                       80
rw--rw-------p*0 root   root   <i> imgPixY                       80

compare the values with an unpatched Flir E40
image 160x120 <-> sensor 320x240
Code: [Select]
E40

.image.flow.framebuffer.geom: (3)
r---r--------- 0 root   root   <i> bitsPerPixel                  16
r---r--------- 0 root   root   <i> height                       120
r---r--------- 0 root   root   <i> width                        160


.calib.detector.geom: (8)
rw--rw-------p*0 root   root   <i> imgPixX                      320
rw--rw-------p*0 root   root   <i> imgPixY                      240

we need 17 posts to check it  :(
That's so odd...

I'm pretty sure they don't make a 80x80 sensor. The lowest res non-lepton sensor is a 80x64 50 micron sensor that you find in the FLIR A5.

Unless they're using the ULIS Pico80P, but that's very unlikely.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7360 on: October 15, 2015, 06:58:46 am »
ok, you don't give up.

The next proof is your calibration file. The calibration with bad pixel mapping is taken by full resolution.

your calibration file name is ds250C_we_ap_fi_le.gan
Code: [Select]
.registry.calib.detector.deadPixMap.ds250C_we_ap_fi_le:
rw-dr--------- 0 root   root   <a> fileName        "ds250C_we_ap_fi_le.gan"
rw-dr--------- 0 root   root   <i> type                         100

you find it here
Code: [Select]
+---FlashFS
|   +---system
|   |   +---maps
|   |   |       ds250C_we_ap_fi_le.gan

you can read the gain map with exiftool

here a sample from a E40
Code: [Select]
$ exiftool ds250C_we_ap_fi_le_static.gan
File Type                       : FLIR
File Type Extension             : fff
Gain Dead Map Image Width       : 320
Gain Dead Map Image Height      : 240
Gain Dead Map Image Type        : TIFF
Gain Dead Map Image             : (Binary data 153804 bytes, use -b option to extract)

 8)
« Last Edit: October 15, 2015, 07:03:14 am by tomas123 »
 

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7361 on: October 15, 2015, 07:28:53 am »
Ok.

exiftool output for ds250C_we_ap_fi_le.gan:

Code: [Select]
ExifTool Version Number         : 10.02
File Name                       : ds250C_we_ap_fi_le.gan
Directory                       : .
File Size                       : 13 kB
File Modification Date/Time     : 2000:01:01 00:34:00+01:00
File Access Date/Time           : 2015:10:14 12:44:10+02:00
File Creation Date/Time         : 2015:10:14 12:44:10+02:00
File Permissions                : rw-rw-rw-
File Type                       : FLIR
File Type Extension             : fff
MIME Type                       : application/unknown
Creator Software                :

but there's another file in the maps directory called "ds250C_we.crs" mentioned, among other places, here in the allsettings-file:
Code: [Select]
.registry.calib.detector.data:
rw-dr--------- 0 root   root   <x> ds250C_we

with the exiftool output:
Code: [Select]
ExifTool Version Number         : 10.02
File Name                       : ds250C_we.crs
Directory                       : .
File Size                       : 13 kB
File Modification Date/Time     : 2000:01:01 00:29:00+01:00
File Access Date/Time           : 2015:10:14 12:44:09+02:00
File Creation Date/Time         : 2015:10:14 12:44:09+02:00
File Permissions                : rw-rw-rw-
File Type                       : FLIR
File Type Extension             : fff
MIME Type                       : application/unknown
Creator Software                :
Coarse Map Image Width          : 80
Coarse Map Image Height         : 80
Coarse Map Image Type           : TIFF
Coarse Map Image                : (Binary data 13004 bytes, use -b option to extract)

That kind of convice me that you are right, tomas123. But I just can't help to wonder why the resolution 120x120 is suggested here and there in filenames and the allsettings-file. Could it be that the sensor has different "modes"? ...But I'm not the one to speculate on this, all you other people here have way more knowledge about how it's normally done...
« Last Edit: October 15, 2015, 07:32:28 am by Maxpax »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7362 on: October 15, 2015, 07:51:15 am »
 the fw is the same for all ix cameras (all resolutions)
« Last Edit: October 15, 2015, 10:00:45 am by tomas123 »
 

Offline stefbeer

  • Regular Contributor
  • *
  • Posts: 57
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7363 on: October 15, 2015, 07:54:36 am »
@ Maxpax:
Back then I successfully upgraded my i3 (bought about 3 years ago) with the instructions from this post. When I look at your original config file, then all the lines essential for the hack are missing. Which means that you have a later hardware revision and / or firmware version. And please note the last line of the linked post. My TIC was able to do the full 144 but it seems yours really only can do 80.

And the 120 you mentioned here are from the config file you copied from the pdf with the instructions. Because the "new" config file is successfully loaded (which means you did all the # ID and # CRC01 stuff correctly :) ) this parameter is set but sadly because of the hardware / firmware this parameter doesn't do anything. :( And even if it did, you really seem to have only a 80 sensor.

And the timestamp from January 1st 2000 is just a default time if the actual time isn't set, this doesn't mean the TIC is 15 years old. :)

I have no idea why the i-Series has three different types of sensors but it seems that you just have the wrong one. :(
« Last Edit: October 15, 2015, 07:57:36 am by stefbeer »
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 312
  • Country: de
    • Joe-c.de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7364 on: October 15, 2015, 08:52:42 am »
Hello,
try to go to: FlashFS\system\maps\  there should be a *.gan file
ds150C_we_ap_fi_le_static.gan (from FlirC2)
ds250C_we_ap_fi_le.gan (from Flir i3... later enhanced to 120x120)
ds250C_we_ap_fi_le_static.gan (from Flir E4... later enhanced to 320x240)

I guess... this Calibration file was ever in the full resolution of the Camera.
Try to decode it with my Dev Tools file to image decoder:
http://joe-c.de/pages/posts/programm_dev_tools_133.php#bilder

from the i3 and E4 i get a 320x240 resolution, the C2 brings only 80x60... it has a Lepton core.
FLIR E4 hardware mods 
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Freeware Remote Software for some FLIR Cameras: Ex Tools
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7365 on: October 15, 2015, 10:04:29 am »
@ Maxpax:
You wrote that exiftool can't read your
ds250C_we_ap_fi_le.gan
Please zip and upload your gan file. I will check it.

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7366 on: October 15, 2015, 10:31:08 am »
vielen dank!
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7367 on: October 15, 2015, 06:00:34 pm »
just for fun some exiftoool and imagemagick magics.

your ds250C_we_ap_fi_le.gan has the Flir Tag FFF_TAGID_DeadMap = 4 (see pdf)
with the config.txt file from attachment we can extract the RAW 80x80 image

Code: [Select]
>exiftool -config config.txt ds250C_we_ap_fi_le.gan
ExifTool Version Number         : 9.91
File Name                       : ds250C_we_ap_fi_le.gan
File Size                       : 13 kB
...
File Type                       : FLIR
MIME Type                       : application/unknown
Creator Software                :
Embedded Image Width            : 80
Embedded Image Height           : 80
Dead Map                        : (Binary data 12800 bytes, use -b option to extract)

>exiftool -config config.txt -b -DeadMap ds250C_we_ap_fi_le.gan > 1.hex

now convert with IM
Code: [Select]
>convert -depth 16 -endian lsb -size 80x80 gray:1.hex  t2.png
resize for better bad pixel peeping
Code: [Select]
>convert t2.png -filter point -resize 320x resize.png
« Last Edit: October 15, 2015, 08:34:45 pm by tomas123 »
 

Offline encryptededdy

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: nz
Re: Flir E4 Thermal imaging camera teardown
« Reply #7368 on: October 15, 2015, 06:37:05 pm »
Still no idea where FLIR is getting these 80x80 sensors.

Perhaps in the later versions some image processing (specifically downscaling) got moved on chip?

But that would make no sense because the E4 doesn't do that...

hmm...
 

Offline Maxpax

  • Contributor
  • Posts: 15
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #7369 on: October 15, 2015, 09:09:28 pm »
My i5 is blue and gray, not black. I think it is one of the earlier versions of i5, and therefore one of the older designs. I suppose it is quite natural to change designs i the beginning of new models as a company gains in understanding from testing, customer feedback, ideas on how to achieve cheaper/simpler manufacturing and not least, providers who approach the company with deals on technology parts, such as sensors.

Anybody want to buy it?  ;D
« Last Edit: October 15, 2015, 11:41:16 pm by Maxpax »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7370 on: October 18, 2015, 05:13:52 am »
sorry for double posting

I published in the seek thread an excel sheet to show, why the RAW values of an E4 microbolometer (response of "A/D Counts") are linear to radiance [W / m^2] (per nm wave length) and not linear to temperature [Kelvin]. The difference is not great.

http://www.eevblog.com/forum/testgear/yet-another-cheap-thermal-imager-incoming/msg779709/#msg779709
« Last Edit: October 18, 2015, 08:34:59 am by tomas123 »
 

Offline brobbuilder

  • Contributor
  • Posts: 15
  • Country: as
Re: Flir E4 Thermal imaging camera teardown
« Reply #7371 on: October 18, 2015, 03:52:15 pm »
Would be cool to get a firmware on the i-series that dumps full rez (320x230) to SD, since the screen can't handle more than 140x140.

We never did figure out the pinouts on those, did we?  If we did, the hazard cams from BMWs/Audis might finally be reusable, since they use the same sensor.
 

Offline jumbo

  • Contributor
  • Posts: 31
Re: Flir E4 Thermal imaging camera teardown
« Reply #7372 on: October 28, 2015, 07:43:45 pm »
Hello,

I changed E30bx to E60bx and its really clear view now, thanks eevblog  :clap:
but is it possible to change settings in video mode to turn of staff on right?


If you don't understand me I attached picture below.
On first its all staff (temperatures, point etc.) on second its what I would like to have on video mode.

I would like to clear screen only on video mode - not on picture mode.
 

Offline Chanc3

  • Frequent Contributor
  • **
  • Posts: 408
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7373 on: October 28, 2015, 10:44:21 pm »
Hello,

I changed E30bx to E60bx and its really clear view now, thanks eevblog  :clap:
but is it possible to change settings in video mode to turn of staff on right?


If you don't understand me I attached picture below.
On first its all staff (temperatures, point etc.) on second its what I would like to have on video mode.

I would like to clear screen only on video mode - not on picture mode.

You can turn it all off in one of the settings panels - I'll have to dig out my E60 and see if I can find it.
 

Offline jumbo

  • Contributor
  • Posts: 31
Re: Flir E4 Thermal imaging camera teardown
« Reply #7374 on: October 29, 2015, 07:44:49 am »
Hello,

I changed E30bx to E60bx and its really clear view now, thanks eevblog  :clap:
but is it possible to change settings in video mode to turn of staff on right?


If you don't understand me I attached picture below.
On first its all staff (temperatures, point etc.) on second its what I would like to have on video mode.

I would like to clear screen only on video mode - not on picture mode.

You can turn it all off in one of the settings panels - I'll have to dig out my E60 and see if I can find it.

From menu I can only switch off left site
« Last Edit: October 29, 2015, 04:45:16 pm by jumbo »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf