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.1%)
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.4%)
Not yet, but probably will if now that a closed-box hack becomes is possible
158 (17.6%)

Total Members Voted: 774

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

0 Members and 7 Guests are viewing this topic.

Offline BigBird007

  • Newbie
  • Posts: 3
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #8050 on: December 07, 2016, 07:57:28 am »
I just PM'd you but figured this is the best place to outline fixes so everyone can share in the solutions.

The methods outlined in the blog worked well. The steps are listed throughout the thread so you'll have to do some digging but it will be worth it. There is a lot of useful info and all the questions I had were answered after some research.

If you have any specific questions once you start please post them on the thread so everyone can gain from our back and forth. I'd be glad to help if you run into any snags.

@BigBird007:
Congratulation!
I am going to buy E4  that was made last month, so I expect the firmware  will be higher that 2.3. So, can you confirm it is possible to make a fully working hack without downgrading?
Thank you
 

Offline tpn

  • Newbie
  • Posts: 1
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #8051 on: December 07, 2016, 09:04:28 am »
Hi Guys,

i am following this thread a few weeks and i like it and decided to order an E4.

So i think it arrives in 2 or 3 Days and i suspect that it has Firmware 2.11
But now im not sure which method i should choose to do the res and menu hack because here are so many posts and methods?

Anyone here that can give me an recommandation how i should do the hack? Actually have only a Windows 10 64bit.
Maybe i can get an old laptop to work with xp 32 bit but not sure if it works anymore  ::)

I have seen some German Guys, maybe someone down from the South of Germany? ;D


 

Offline Chanc3

  • Frequent Contributor
  • **
  • Posts: 410
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #8052 on: December 10, 2016, 12:08:58 am »
I am attaching the modified script package (removed e6 files, as they seem to work slightly differently at first glance)...

I have an E6 I am trying to upgrade to E8. Does this mean I cannot use this method/files?
 

Offline arekm

  • Supporter
  • ****
  • Posts: 149
  • Country: pl
Re: Flir E4 Thermal imaging camera teardown
« Reply #8053 on: December 13, 2016, 09:30:24 am »
E4, 2.11.0, windows 10, 64bit

Method http://fubar.gr/hacking-the-flir-e4/ (description + drivers + tool) but actual hack files (python2 scripts, fif files) from https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg921880/#msg921880

RNDIS wasn't too nice. There were problems - like rndis ethernet network interface was becoming visible but it didn't get any IP assigned. Manually assigning IP (192.168.250.1/255.255.255.0) got things working (camera was 192.168.250.2). FLIRInstallNet.exe seems to use interface IP address + 1 for showing IP in program itself in such case.

RNDIS didn't even work under Linux (rndis_host 3-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47), so its likely camera software fault and not windows drivers. Manually assigning IPs under Linux worked fine (just like it did under Windows).

tcpdump sniffing on ethernet interface when booting camera is good way to figure out camera ip (that 192.168.250.2).

PLD/Linux Team. Electronics as a hobby.
http://readme.maven.pl/
 

Offline Notsolowki

  • Contributor
  • Posts: 7
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8054 on: December 15, 2016, 09:23:05 am »
What would it take to add a video record feature to the e4. I want to put ut on my drone but the camera and the phone i think would be just too much weight. Or even a timer that would take pictures at a set amount of seconds. Thanks everyone
 

Offline OrBy

  • Regular Contributor
  • *
  • Posts: 220
Re: Flir E4 Thermal imaging camera teardown
« Reply #8055 on: December 16, 2016, 01:20:27 am »
What would it take to add a video record feature to the e4. I want to put ut on my drone but the camera and the phone i think would be just too much weight. Or even a timer that would take pictures at a set amount of seconds. Thanks everyone

For easy video your looking at attaching another device to the USB port of the E4 can capture it's webcam video out. I believe others here have used RPI's for the task but I found a cheap HP Stream 7 windows tablet worked well for me. I don't recall if anyone got a phone working - but as long as it supported USB-OTG there is a chance it could work. I do remember seeing a pic here on the forum of some one that stripped down a E4 to just the internal frame to accomplish something similar but don't recall what they attached to it.
 

Offline Notsolowki

  • Contributor
  • Posts: 7
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8056 on: December 16, 2016, 11:11:35 pm »
Hi. The problem im having is i cant press the capture button while its off the ground. I have the video working over Otg cable but all the weight and cables might be a problem. I wonder if someone could make script or somthing to record straight to the cameras storage. Or even take a picture every few seconds or so. It sure would help me out alot. Thanks

Im not necesarily looking for easy. Using the avaliable tools to do the modification to the menu and res was easy. Modifying the code not so easy. Atleast not for me
« Last Edit: December 18, 2016, 03:16:54 pm by Notsolowki »
 

Offline Notsolowki

  • Contributor
  • Posts: 7
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8057 on: December 19, 2016, 03:01:52 pm »
really no one?
 

Online Bud

  • Super Contributor
  • ***
  • Posts: 3215
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #8058 on: December 19, 2016, 03:36:01 pm »
Based on my experience - forget about using e4 to record video internally.
 

Offline Signal32

  • Regular Contributor
  • *
  • Posts: 234
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8059 on: December 19, 2016, 03:42:01 pm »
Hi. The problem im having is i cant press the capture button while its off the ground. I have the video working over Otg cable but all the weight and cables might be a problem. I wonder if someone could make script or somthing to record straight to the cameras storage. Or even take a picture every few seconds or so. It sure would help me out alot. Thanks

Im not necesarily looking for easy. Using the avaliable tools to do the modification to the menu and res was easy. Modifying the code not so easy. Atleast not for me
There's no way to record video on the FLIR directly, there's no existing feature that has support for video so very likley the code for encoding video is simply not on the camera.
Easiest way would probably be to use a simple timer to trigger the capture button (short out the contacts underneath the membrane every X seconds)
But of course seek camera + phone would probably be much much easier for this.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #8060 on: December 19, 2016, 10:36:56 pm »
There's no way to record video on the FLIR directly, there's no existing feature that has support for video

This is not correct. I posted some variants
see links in topic 15 "save a radiometric 16 bit video as *.seq" of my post
https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg342072/#msg342072

a sample for scripting on Ex
https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg1066954/#msg1066954

simple loop this code snippet (code successful tested on lir Exx)
Code: [Select]
#set file name
> rset .image.services.rtrecord.filename \StorageCard\seq\5.seq

 #save the raw seq to RAM !!
>rset .image.services.rtrecord.active true

 #wait until status is false
>rls .image.services.rtrecord.active                         
active                     false

 # save video to file path
>rset .image.services.rtrecord.store true
« Last Edit: December 19, 2016, 10:53:07 pm by tomas123 »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #8061 on: December 19, 2016, 10:59:01 pm »
What would it take to add a video record feature to the e4. I want to put ut on my drone but the camera and the phone i think would be just too much weight. Or even a timer that would take pictures at a set amount of seconds. Thanks everyone

IMHO use USB RAW streaming and save the stream to a SD card with a raspberry pi (zero)
https://www.eevblog.com/forum/thermal-imaging/flir-ex-realtime-raw-radiometric-data-streaming-via-uvc/?all

Online Bud

  • Super Contributor
  • ***
  • Posts: 3215
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #8062 on: December 20, 2016, 12:02:18 am »
There's no way to record video on the FLIR directly, there's no existing feature that has support for video

This is not correct. I posted some variants

Nope, that requires the command to be sent externally, which OP is trying to avoid.
 

Offline mct75

  • Contributor
  • Posts: 49
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8063 on: December 20, 2016, 01:02:34 am »
Is it possible to get UVC working on Android?  I have tried but it looks like there's a flir-specific implementation and it does not show up in Android as a basic webcam.
 

Offline Notsolowki

  • Contributor
  • Posts: 7
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8064 on: December 20, 2016, 01:05:49 am »
  If i had to add and delete a startup file to disable the script that would be fine. What could i do to make it just take a picture every 5 seconds own its own untill i power it down and remove the script or kill it from telnet. I like the idea of video too that would be great if it just powered on and started recording untill i shut it off. Could your video record script be tweaked to be initiated from telnet or on startup. In not looking for somthing fancy just enough to ge tthe job done thanks you
« Last Edit: December 20, 2016, 01:35:31 am by Notsolowki »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #8065 on: December 20, 2016, 01:40:42 am »
  If i had to add and delete a startup file to disable the script that would be fine.

please see my link above
...
on my Flir Exx I wrote a trigger for a button, while hooking a function (here the reversed palette)

On the applaunch.dat file append a dos script
...
...
This works fine on Exx.
On Ex there are some barriers, like the checksum in applaunch.dat



Nope, that requires the command to be sent externally, which OP is trying to avoid.

with applaunch.dat you can start a script while booting the camera

Offline Notsolowki

  • Contributor
  • Posts: 7
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8066 on: December 20, 2016, 03:07:47 am »
okay so i got the seq file opened in flir tools but how can i save it in a different format so i can view it without flir tools. and how can i make it record for like 5-10 minutes. if thats not possible due to memory what could be changed to make it record a new seq file after the times up so they can be put into one main file. thankyou
« Last Edit: December 20, 2016, 03:14:04 am by Notsolowki »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #8067 on: December 20, 2016, 04:39:52 am »
*.seq files are only stitched *.fff files
I wrote something about *.seq splitting to single *.fff images (see my perl script) and convert this frames to regular images (see my exiftool + ImageMagick samples).

> and how can i make it record for like 5-10 minutes
Yes, this is the problem. 
I wrote here about the "out of memory"
https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg363898/#msg363898
You must write a loop.
Therefore you get gaps between the video snippets.

I would go this way:
IMHO use USB RAW streaming and save the stream to a SD card with a raspberry pi (zero)
https://www.eevblog.com/forum/thermal-imaging/flir-ex-realtime-raw-radiometric-data-streaming-via-uvc/?all

There is a Raspberry pi behind my display. The Raspberry get over USB the real 16 Bit RAW stream from a Flir E4:

use a small raspberry pi zero for your quadcopter
thats all
« Last Edit: December 20, 2016, 04:49:02 am by tomas123 »
 

Offline 3roomlab

  • Frequent Contributor
  • **
  • Posts: 947
  • Country: 00
  • can you tell me how to cal sesame street meter?
Re: Flir E4 Thermal imaging camera teardown
« Reply #8068 on: December 20, 2016, 09:48:53 pm »
i saw fraser's thread about black body calibrator, i thought i ask this here instead of a new thread.

has anyone tried this?
http://www.palmerwahl.com/product_home.php?cat=26&catl=7&line=319&itm=5014

TEC based calibrator i assume, goes down to -40C.
« Last Edit: December 20, 2016, 10:00:48 pm by 3roomlab »
there should be a new global law, every new mobile phone model released should consume at least 1% less power than its previous highest model @ full load W/Gflops.
 

Offline Chanc3

  • Frequent Contributor
  • **
  • Posts: 410
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #8069 on: December 20, 2016, 11:05:43 pm »
i saw fraser's thread about black body calibrator, i thought i ask this here instead of a new thread.

has anyone tried this?
http://www.palmerwahl.com/product_home.php?cat=26&catl=7&line=319&itm=5014

TEC based calibrator i assume, goes down to -40C.

Better off starting your own thread I think.
 

Offline Notsolowki

  • Contributor
  • Posts: 7
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #8070 on: December 21, 2016, 12:06:26 am »
the pi might do the trick. could you feed the video to it straight from the microbolometer. or better yet use the flirs lcd screen output as a video input.
 

Offline ysmalkie

  • Newbie
  • Posts: 2
  • Country: pl
Re: Flir E4 Thermal imaging camera teardown
« Reply #8071 on: December 21, 2016, 04:19:46 am »
Hi ,

I am new, just bought a used E4 off eBay.  I thought it was a good idea, as it had 1.19.8 firmware inside which looks easiest to 'trick' :-)

I am new to thermography, and I have few questions I thought I might share:
- the 1.9 hack which involves sending the modified E8.cfg & camera.cmd files  is safe I presume??.. Is there anything that might go wrong? What happens for example if the CRC is wrong? - Just being cautious with my new toy :-).
- Can I use the current version of FLIRInstallNet.exe or do I need some older version?
- this may be a stupid question, but I body heat seems to be off the 36.6C by about 4C. Why?
- is there any guideline for emissivity values to use?

Tadek
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 3921
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #8072 on: December 21, 2016, 06:43:25 am »
- this may be a stupid question, but I body heat seems to be off the 36.6C by about 4C. Why?

That's the inside temperature, so you will have to cut yourself open and take a quick measurement to get to 36.6  :scared:
Keyboard error: Press F1 to continue.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #8073 on: December 21, 2016, 09:30:44 am »
the pi might do the trick. could you feed the video to it straight from the microbolometer. or better yet use the flirs lcd screen output as a video input.

title: "Flir Ex: Realtime raw radiometric data streaming via UVC"
https://www.eevblog.com/forum/thermal-imaging/flir-ex-realtime-raw-radiometric-data-streaming-via-uvc/
=> 16 Bit sensor data from microbolometer ;)

Offline Scottjd

  • Frequent Contributor
  • **
  • Posts: 417
  • Country: us
    • YouTube Gadget Reveiws
Re: Flir E4 Thermal imaging camera teardown
« Reply #8074 on: December 21, 2016, 07:57:16 pm »
So I'm thinking of getting a FLIR E4 and a few other things to finish off the lab build.
I've read several pages on this thread and I guess I have a few questions.

1. If I was to buy a new E4 what is the latest firmware and can the latest firmware be modded for the updated resolution?

2. I'm also looking at a used E4 running 2.3.X. I read some comments saying if the E4 was updated to 2.3 from 1.X then the mods might fail. Is this still true or has this been fixed?

I plan to still keep the FLIR One running on my iPod touch for videos, but a higher resolution would also be nice. I see some lens options for taking close up images, this will mostly be used for electronics to see what's dead shorting or running hot. I may even try some of the lens mods as well. Has anyone made a 3D print of an adapter for adding cheaper lenses on the E4 or any E serries?

Thanks in advanced for any answers,
Scott
Please be sure to check out my YouTube channel and subscribe if you like the videos. https://www.youtube.com/c/GadgetReviewVideos

By people subscribing and giving thumbs up I know what I am doing is still wanted and adding value, then will continue to release new videos. Thank you for your support.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf