Author Topic: Question about FLIR One for Android  (Read 263740 times)

0 Members and 2 Guests are viewing this topic.

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #225 on: September 02, 2016, 02:02:29 pm »
With this version p1 the "colorized thermal image" is in "RGB24"  instead of "MJPEG" => mjpg-streamer can't read this

if you dont like use V4L with
Code: [Select]
#define FRAME_FORMAT2 V4L2_PIX_FMT_RGB24
then test the initial variant flir8k.zip with jpg files from a RAMDISK
https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg839518/#msg839518

mjpg-streamer works great with jpg input files
Code: [Select]
./mjpg_streamer -i "input_file.so -f /mnt/RAMDisk/ -n thermal.jpg" -o "output_http.so -p 8080 -w /usr/local/www"




Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #226 on: September 20, 2016, 10:11:40 pm »
the flir F1 USB interface it's extreme time critical

As I posted above in this thread, I have not success with connecting a Flir F1 to my Macbook running a virtual linux machine in vmware fusion (some hours of useless work :palm:)

Please note on EP 0x81 I got allways a answer on OSX and in VM
see
https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg816972/#msg816972

The challange is EP 0x83 and EP 0x85
« Last Edit: September 20, 2016, 10:21:37 pm by tomas123 »
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: Question about FLIR One for Android
« Reply #227 on: September 21, 2016, 07:38:00 pm »
the flir F1 USB interface it's extreme time critical
...
The challange is EP 0x83 and EP 0x85
Why FLIR... why... :palm:

thank you for the info, i will try later more with the FLIR One  :-/O
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 

Offline TheError

  • Newbie
  • Posts: 1
  • Country: us
Re: Question about FLIR One for Android
« Reply #228 on: September 22, 2016, 08:29:44 am »
the flir F1 USB interface it's extreme time critical
...
The challange is EP 0x83 and EP 0x85
Why FLIR... why... :palm:

thank you for the info, i will try later more with the FLIR One  :-/O

I'm so ready for this, the Android app isn't very stable and your software looks perfect for what im trying to do.
 

Offline Stereo

  • Contributor
  • Posts: 16
  • Country: ua
Re: Question about FLIR One for Android
« Reply #229 on: October 02, 2016, 04:44:31 am »
Hi all.

My Flir One Android often freezing image after calibration "click" need touch calibration button again then it may unfreezing or even need reconnect device.
Please advise.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #230 on: October 02, 2016, 03:41:39 pm »
This is unfortunately a feature of the F1G2.

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #231 on: October 03, 2016, 12:36:22 pm »


Quote from: joe-c on September 21, 2016, 06:44:35 AM
Hey Guys,
I want to use the Flir One on Windows with .NET (like the Seek Thermal).
i was able to connect to the Flir One with Zadig Driver:
1. Plung in Flir One, the Device manager note "could not start"
2. install standard driver for "unknown device"
3. reinstall zadig for the unknown Device "Flir One Camera"
Now the Device could be found and accessed.

now I try to implant the initialization routine for linux, made by cynfab and tomas123. but i get no response on the Endpoints 0x81,0x83 and 0x85.
I don't know what I am doing wrong... :-//
Any suggestions?



joe-c Have you succeeded in connecting Flir One same as Seek Compact to PC ?
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #232 on: October 03, 2016, 05:14:48 pm »
please give use more details about your host machine and linux version

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #233 on: October 03, 2016, 05:58:55 pm »
please give use more details about your host machine and linux version

tomas123 - was this question intended for me? If so, firstly it would be interesting to know if you managed to connect it to PC at all in any conditions.

I can give you my machine specs, its windows 10 build 1607 on laptop, on tablet windows 10 build 1501. I saw in some thread that someone used some driver and PC saw Flir One as a device, not sure which device.

Anyway, if its possible to connect to windows - great, I will be able to take from there. If from linux - I can install linux and try out it that way, maybe do dual boot on my tablet. Though I would prefer windows. Not sure if recognising the device and sending correct challenge is the same - it was 10+ years ago I wrote any driver in C++, I now mostly code in java.

Anyway, I scanned through all the threads and I am, simply, confused from all the information. I will be getting Flir One in a week maybe, so I thought I will begin reading :) Maybe I need to scan all the Flir One related threads one more time, not sure yet.
« Last Edit: October 03, 2016, 06:01:33 pm by allstone »
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: Question about FLIR One for Android
« Reply #234 on: October 03, 2016, 09:01:14 pm »
joe-c Have you succeeded in connecting Flir One same as Seek Compact to PC ?
Connection yes, but not ready for stream.

i was able to read the Descriptors, write some data, but i can't get the FLIR into the Frame Stream mode.
tomas123 give me great help but sadly i had no success yet.

The Problem seems to be at the Initialization step 2 (sending some magic Byte sequences followed by a string command sequence.)
My device often disconnects at this point, sometimes it run to Step 3 and has an error while ControlTransferOut, sometimes it passed this point and poll 0x85 without a response.

from my point of view its a low priority project. if i have a little bit time i try some things.
i think now about buying a better logic analyzer... and if i was able to "see the transmissions" it will be maybe more possible to make this thing working under windows.

For now, the application has only 2 Steps... fist "Connect and Stream" should be hit and green, this indicates, the FLIR was found and respond to a control request.
than the Button "Get 1 Frame (Byte array)" tries a initialization routine and returns, if more 10 bytes was read from EP 0x85... this never happen until now.
i tried sometimes the FLIR One G2 on my Smartphone to be sure, it still works.

if somebody will try, here is the Project file and the way to get this thing installed on windows.

Additional Note: i have a iOS version too, it was internal connected over 4 Wires (i suggest USB, like the Seek Thermal) but sadly this device is not recognized on the PC or Smartphone. Not sure if its defect or it has just another communications way. My Andoid PCB have less components.
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #235 on: October 04, 2016, 07:11:25 am »
joe-c Have you succeeded in connecting Flir One same as Seek Compact to PC ?
Connection yes, but not ready for stream.

i was able to read the Descriptors, write some data, but i can't get the FLIR into the Frame Stream mode.
tomas123 give me great help but sadly i had no success yet.

The Problem seems to be at the Initialization step 2 (sending some magic Byte sequences followed by a string command sequence.)
My device often disconnects at this point, sometimes it run to Step 3 and has an error while ControlTransferOut, sometimes it passed this point and poll 0x85 without a response.

from my point of view its a low priority project. if i have a little bit time i try some things.
i think now about buying a better logic analyzer... and if i was able to "see the transmissions" it will be maybe more possible to make this thing working under windows.

For now, the application has only 2 Steps... fist "Connect and Stream" should be hit and green, this indicates, the FLIR was found and respond to a control request.
than the Button "Get 1 Frame (Byte array)" tries a initialization routine and returns, if more 10 bytes was read from EP 0x85... this never happen until now.
i tried sometimes the FLIR One G2 on my Smartphone to be sure, it still works.

if somebody will try, here is the Project file and the way to get this thing installed on windows.

Additional Note: i have a iOS version too, it was internal connected over 4 Wires (i suggest USB, like the Seek Thermal) but sadly this device is not recognized on the PC or Smartphone. Not sure if its defect or it has just another communications way. My Andoid PCB have less components.

Thanks joe-c, thats great start for me!

So it seems this still needs a bit of reverse engineering, I will take a look when I get my camera. The main reason I bought Flir One G2, but not Seek Compact, was because of the more accurate thermal data coming from the sensor and less bleeding (at least from the images others has posted). But we will see.

Joe-c, when you say "and the way to get this thing installed on windows." do you mean it is working with streaming on Linux? Have you also got some try-out project for that? I know it works on Android though, because I see there is a custom app. Would be great to get something working on Linux and Android, it would be easier to spot the differences. I like meddling with with firmware through wireshark and disassemblers, might get it working just to be able to connect it to my tablet for easier home inspection, as this is my primary usage for the camera. I already see a lot of information regarding the protocol, I think you all were very close, maybe some bad byte orders, bad timing, bad encoding or something like that.
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: de
    • Joe-c.de
Re: Question about FLIR One for Android
« Reply #236 on: October 04, 2016, 07:51:56 am »
... do you mean it is working with streaming on Linux? Have you also got some try-out project for that?
look at page 2 of this thread, thomas123 and cynfab get it working under linux mint. they provide a working linux sample.

they made it working under linux, i just used there working code as base for a windows application.

maybe its just a tiny change...
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Some Thermal cameras: Kameras
 
The following users thanked this post: allstone

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #237 on: October 04, 2016, 08:08:14 am »
tomas123 - was this question intended for me? If so, firstly it would be interesting to know if you managed to connect it to PC at all in any conditions.
Sorry for misunderstanding, I would know, if you are using some variants of virtual machines.

I've made the experience, that my libusb code only opens the EP 0x81 on VM and OSX. ( no EP 0x83 etc., see my post to cynfab above).
I think, there are some timing issues...

So it seems this still needs a bit of reverse engineering

yes,
therefore I built the driver code "byte for byte" from the usb dump (thanks to cynfab) and the java code from the Flir One Android App ( https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg798258/#msg798258 ).
see  http://www.beyondlogic.org/usbnutshell/usb5.shtml

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #238 on: October 04, 2016, 08:14:39 am »
Thanks guys, I see it. Plenty of info, now the big picture is already in my head. I believe we will do it - I always succeed when I put enough effort :p and it seems interesting enough for me to invest some time ;).
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #239 on: October 04, 2016, 08:21:48 am »
and with this running code, you can debug the java communication between the Flir One App (Android) anf the F1G2
I was able to recompile the example app from the sdk

I think you are the only one, who testing the Flir SDK.
Here you can download a working SDK sample with the extracted java.class (see my post above)
 see path FLIROneSDKBundle\FLIRONEExampleApplication\app\src\main\java\com\flir\flironesdk\usb

have fun
http://www.file-upload.net/download-11040066/FLIROneSDKBundle04-Basis.zip.html

a sample for getting the configuration file CameraFiles.zip from the camera
(set a breakpoint in "public void sendDataToDevice")
{"type":"openFile","data":{"mode":"r","path":"CameraFiles.zip"}}
Code: [Select]
data = {byte[16]@20956}
0 = -52 (0xCC)
1 = 1 (0x1)
2 = 0 (0x0)
3 = 0 (0x0)
4 = 1 (0x1)
5 = 0 (0x0)
6 = 0 (0x0)
7 = 0 (0x0)
8 = 65 (0x41)
9 = 0 (0x0)
10 = 0 (0x0)
11 = 0 (0x0)
12 = -8 (0xF8)
13 = -77 (0xB3)
14 = -9 (0xF7)
15 = 0 (0x0)
protocolType = {UsbCommunicator$ProtocolType@20957} "CONFIGURATION"


{"type":"openFile","data":{"mode":"r","path":"CameraFiles.zip"}}
data = {byte[65]@20984}
0 = 123 (0x7B)
1 = 34 (0x22)
2 = 116 (0x74)
3 = 121 (0x79)
4 = 112 (0x70)
5 = 101 (0x65)
6 = 34 (0x22)
7 = 58 (0x3A)
8 = 34 (0x22)
9 = 111 (0x6F)
10 = 112 (0x70)
11 = 101 (0x65)
12 = 110 (0x6E)
13 = 70 (0x46)
14 = 105 (0x69)
15 = 108 (0x6C)
16 = 101 (0x65)
17 = 34 (0x22)
18 = 44 (0x2C)
19 = 34 (0x22)
20 = 100 (0x64)
21 = 97 (0x61)
22 = 116 (0x74)
23 = 97 (0x61)
24 = 34 (0x22)
25 = 58 (0x3A)
26 = 123 (0x7B)
27 = 34 (0x22)
28 = 109 (0x6D)
29 = 111 (0x6F)
30 = 100 (0x64)
31 = 101 (0x65)
32 = 34 (0x22)
33 = 58 (0x3A)
34 = 34 (0x22)
35 = 114 (0x72)
36 = 34 (0x22)
37 = 44 (0x2C)
38 = 34 (0x22)
39 = 112 (0x70)
40 = 97 (0x61)
41 = 116 (0x74)
42 = 104 (0x68)
43 = 34 (0x22)
44 = 58 (0x3A)
45 = 34 (0x22)
46 = 67 (0x43)
47 = 97 (0x61)
48 = 109 (0x6D)
49 = 101 (0x65)
50 = 114 (0x72)
51 = 97 (0x61)
52 = 70 (0x46)
53 = 105 (0x69)
54 = 108 (0x6C)
55 = 101 (0x65)
56 = 115 (0x73)
57 = 46 (0x2E)
58 = 122 (0x7A)
59 = 105 (0x69)
60 = 112 (0x70)
61 = 34 (0x22)
62 = 125 (0x7D)
63 = 125 (0x7D)
64 = 0 (0x0)
protocolType = {UsbCommunicator$ProtocolType@20957} "CONFIGURATION"

and here the tune command "doFFC" (Flat-field correction)
{"type":"setOption","data":{"option":"doFFC","value":true}}
Code: [Select]
data = {byte[16]@21106}
0 = -52 (0xCC)
1 = 1 (0x1)
2 = 0 (0x0)
3 = 0 (0x0)
4 = 1 (0x1)
5 = 0 (0x0)
6 = 0 (0x0)
7 = 0 (0x0)
8 = 60 (0x3C)
9 = 0 (0x0)
10 = 0 (0x0)
11 = 0 (0x0)
12 = -71 (0xB9)
13 = -53 (0xCB)
14 = -94 (0xA2)
15 = -103 (0x99)
protocolType = {UsbCommunicator$ProtocolType@20957} "CONFIGURATION"

{"type":"setOption","data":{"option":"doFFC","value":true}}
data = {byte[60]@21045}
0 = 123 (0x7B)
1 = 34 (0x22)
2 = 116 (0x74)
3 = 121 (0x79)
4 = 112 (0x70)
5 = 101 (0x65)
6 = 34 (0x22)
7 = 58 (0x3A)
8 = 34 (0x22)
9 = 115 (0x73)
10 = 101 (0x65)
11 = 116 (0x74)
12 = 79 (0x4F)
13 = 112 (0x70)
14 = 116 (0x74)
15 = 105 (0x69)
16 = 111 (0x6F)
17 = 110 (0x6E)
18 = 34 (0x22)
19 = 44 (0x2C)
20 = 34 (0x22)
21 = 100 (0x64)
22 = 97 (0x61)
23 = 116 (0x74)
24 = 97 (0x61)
25 = 34 (0x22)
26 = 58 (0x3A)
27 = 123 (0x7B)
28 = 34 (0x22)
29 = 111 (0x6F)
30 = 112 (0x70)
31 = 116 (0x74)
32 = 105 (0x69)
33 = 111 (0x6F)
34 = 110 (0x6E)
35 = 34 (0x22)
36 = 58 (0x3A)
37 = 34 (0x22)
38 = 100 (0x64)
39 = 111 (0x6F)
40 = 70 (0x46)
41 = 70 (0x46)
42 = 67 (0x43)
43 = 34 (0x22)
44 = 44 (0x2C)
45 = 34 (0x22)
46 = 118 (0x76)
47 = 97 (0x61)
48 = 108 (0x6C)
49 = 117 (0x75)
50 = 101 (0x65)
51 = 34 (0x22)
52 = 58 (0x3A)
53 = 116 (0x74)
54 = 114 (0x72)
55 = 117 (0x75)
56 = 101 (0x65)
57 = 125 (0x7D)
58 = 125 (0x7D)
59 = 0 (0x0)
protocolType = {UsbCommunicator$ProtocolType@20949} "CONFIGURATION"

« Last Edit: October 04, 2016, 08:51:11 am by tomas123 »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #240 on: October 04, 2016, 08:47:08 am »
@allstone
@joe-c

I forgot the make a documentation of the FlirOne control commands (see my last post) while debugging the SDK App.
If you get some new informations, please post it here

The deactivation of the automatic shutter maybe a  interesting feature, because the 135 seconds intervall generates a absurd drift of 1.5 Kelvin:
I made a Flir One G2 run down test as answer to this seek post:

with the source code from
https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg846130/#msg846130
I wrote all logs to file and generated a excel sheet.

This was a cold start of the Flir One and the log begins 1 minute after shutting on.
The battery reaches only 57 minutes, but it's more as expected:
Quote
The FLIR One houses its own battery source that can power the device for more than 45 minutes of continuous use.

The blue line is the average temperature of 2x2=4 center pixels. The measured temperature was a wall with a constant temperature over the hour.
The F1 G2 needs 10 minutes until stabilization.
The vertical green lines mark the FFC shutter movements.

The shutter interval is constant 135 seconds after 5 minutes runtime.

After FFC the temperature needs 30 seconds to settle (2 sec down + 10 sec up + 20 seconds to stabilize)   >:(
a sample at 00:25:50
Code: [Select]
Time    Spot FFC
0:25:50 19,6
0:25:51 19,6 Shutter
0:25:52 19,3 Shutter
0:25:53 19,1
0:25:54 19,0
0:25:55 19,1
0:25:56 19,3
0:25:57 19,5
0:25:58 19,7
0:25:59 19,9
0:26:00 20,1
0:26:01 20,2
0:26:02 20,3
0:26:03 20,3
0:26:04 20,3
0:26:05 20,3
0:26:06 20,3
0:26:07 20,3
0:26:08 20,3
0:26:09 20,2
0:26:10 20,2
0:26:11 20,1
0:26:12 20,0
0:26:13 20,0
0:26:14 19,9
0:26:15 19,9
0:26:16 19,8
0:26:17 19,7
0:26:18 19,7
0:26:19 19,7
0:26:20 19,7
0:26:21 19,6
0:26:22 19,6
0:26:23 19,6
0:26:24 19,6
0:26:25 19,6
0:26:26 19,6
0:26:27 19,5
0:26:28 19,5
0:26:29 19,5
0:26:30 19,4
0:26:31 19,4
0:26:32 19,4
0:26:33 19,4
0:26:34 19,4
0:26:35 19,4
0:26:36 19,4
0:26:37 19,4
0:26:38 19,4
0:26:39 19,5
0:26:40 19,5
0:26:41 19,5
0:26:42 19,4
0:26:43 19,5
0:26:44 19,4
0:26:45 19,4
0:26:46 19,3
0:26:47 19,3
0:26:48 19,5
0:26:49 19,4
0:26:50 19,5
0:26:51 19,5
0:26:52 19,4
0:26:53 19,4
0:26:54 19,5
0:26:55 19,4
0:26:56 19,4
0:26:57 19,5
0:26:58 19,5
0:26:59 19,5
0:27:00 19,5
0:27:01 19,4
0:27:02 19,4
0:27:03 19,5
0:27:04 19,5
0:27:05 19,5
0:27:06 19,5
0:27:07 19,5
0:27:08 19,6
0:27:09 19,6
0:27:10 19,6
0:27:11 19,6
0:27:12 19,7
0:27:13 19,7
0:27:14 19,6
0:27:15 19,6
0:27:16 19,6
0:27:17 19,7
0:27:18 19,6
0:27:19 19,6
0:27:20 19,6
0:27:21 19,6
0:27:22 19,7
0:27:23 19,7
0:27:24 19,7
0:27:25 19,7
0:27:26 19,7
0:27:27 19,7
0:27:28 19,6
0:27:29 19,6
0:27:30 19,6
0:27:31 19,8
0:27:32 19,7
0:27:33 19,7
0:27:34 19,7
0:27:35 19,7
0:27:36 19,7
0:27:37 19,6
0:27:38 19,6
0:27:39 19,6
0:27:40 19,5
0:27:41 19,6
0:27:42 19,6
0:27:43 19,6
0:27:44 19,7
0:27:45 19,7
0:27:46 19,6
0:27:47 19,6
0:27:48 19,6
0:27:49 19,6
0:27:50 19,6
0:27:51 19,6
0:27:52 19,6
0:27:53 19,6
0:27:54 19,6
0:27:55 19,7
0:27:56 19,7
0:27:57 19,6
0:27:58 19,7
0:27:59 19,6
0:28:00 19,6
0:28:01 19,7
0:28:02 19,7
0:28:03 19,7
0:28:04 19,7
0:28:05 19,7
0:28:06 19,7
0:28:07 19,6 Shutter
0:28:08 19,4 Shutter
0:28:09 19,0
0:28:10 18,9

the corresponding battery diagram: 


PS: all described effects (shutter interval, temperature drift) you also get with the Flir One Ap from google play store



Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #241 on: October 04, 2016, 11:35:12 am »
The deactivation of the automatic shutter maybe a  interesting feature, because the 135 seconds intervall generates a absurd drift of 1.5 Kelvin:

Hm, sorry for asking, but does that mean that even with original app you cannot achieve real 0.1C temperature measurement changes, and they are more like 1-2K because of the shutter/FFC intervals? Or it means real temperature can differ from shown in Flir app 1-2C/1-2K ?

The F1 G2 needs 10 minutes until stabilization.

Oh wait, did you notice if it was calibrated for starting (up to 10 minutes) or for the stabilized (after 10min) in Flir One. Or maybe FFC and other calibration data already accounts for this and correct the shown temperature values accordingly ? I though this was done in other Flir devices at least when I were reading on documents on FFC to account for the heating up. Because noone wants either of two things: wait for heatup or see real values at once (but see them drifting over-time). So if calibration data was not correcting this temperature as seeing from the logs, then maybe Flir App is doing that then.

Either way, I saw that Lepton 3 microbolometer is able to detect even 0.005C differences. That brings another question that I did not see answered: can Leptop 3 detect temperatures outside -20 to 150C (advertised as 120C, but I saw mentioning 150C in some posts who reads raw data) ? I wonder if Lepton just sees in that range but is more accurate on each pixel in regard of Raytheon in Seek which seems to be not as accurate for each pixel, but having wider range, or its something else like firmware limiting the temperatures.

 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #242 on: October 04, 2016, 01:08:44 pm »
yes, also with original Flir One App the temperature drifts like shown in the diagramm (20,0°C -> shutter -> immediately 19,2°C -> after 20  seconds 20,5°C -> one minute later you get the old value 20,0°C)
It's better to reduce the shutter frequence after the warm up phase.
The "real" temperature is another question.

Oh wait, did you notice if it was calibrated for starting (up to 10 minutes) or for the stabilized (after 10min) in Flir One.
Look at the diagram above. It shows a cold start of a switched off camera.
This drift is a problem of the low cost Flir One. With my Flir E4 and Flir E40  this effect is significant lower.

edit:
Datasheet: Flir Lepton 3 thermal sensitivity <50 mK =0,050 K.
This is a realistic value, but not so good like a upgraded E4. You see the difference ;-)

Quote
can Leptop 3 detect temperatures outside -20 to 150C
Try Georgs Thermal Camera App. There is no temperature limit (but limited by SDK).
« Last Edit: October 04, 2016, 01:19:21 pm by tomas123 »
 

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #243 on: October 04, 2016, 03:01:24 pm »
Look at the diagram above. It shows a cold start of a switched off camera.
This drift is a problem of the low cost Flir One. With my Flir E4 and Flir E40  this effect is significant lower.

Yes but it does not make sense not to calibrate for cold start. If the sensor reacts this way, it should be calibrated to work from the start and to show correct values. Hm, will do some testing, mines already shipped, not long to wait.

Here is Lepton 3 datasheet http://www.file-upload.net/download-11989243/Lepton_Datasheet.pdf.html. There are some interesting points. For example, page 21, "Lepton 3 automatically prohibits the shutter from operating when it detects the temperature to be outside the range -10° C to +65° C. For example, if the camera is operating at a temperature of 70° C, no automatic FFC will be performed, and the camera will ignore any commanded FFC if the FFC mode is “automatic” or “manual.” ". Meaning if you want shutter control, there of course is another way - heat the thing up. Ok, do not listen to me, you can burn it. Just saying. Maybe E4 has heating element? Anyway, on page 57 Maximum Operating Temperature is -40 to +80C. Over that it shuts after some seconds has passed.

Datasheet: Flir Lepton 3 thermal sensitivity <50 mK =0,050 K.
This is a realistic value, but not so good like a upgraded E4. You see the difference ;-)

Yup, NETD is rated <50 mK (20 mK typical) according to datasheet at page 52.

But temperature is rated 0 K to >400 K at the same page 52. Hm, that means realy -273.15 C to >+126.85 C , meaning this sensor can actually sense that temperature. Ok, maybe over 120C it is not as accurate (or it just dies and sees same values for any higher?), but I believe Seek over 120C is not very acccurate too. You think Flir SDK let us see this whole range really?

Ok, I do not want to resurrect old discussions about the f. rate limit here, and firmware, etc, heck I do not even have the product in hands yet, well but being still careful, even though page 36 states that 26 frames are @8mhz, max @20mhz could be 60 or smth, and at page 42 you can see interesting statement "For each unique frame, two duplicates follow in the VoSPI stream", so this may as well be something different, but anyway what I am trying to say you know where the limit is (could be) implemented, so I wonder if temperature range is not limited there too.

Try Georgs Thermal Camera App. There is no temperature limit (but limited by SDK).

Definitely. I think I will buy it anyway, need to support the community ;)
« Last Edit: October 04, 2016, 03:03:27 pm by allstone »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Question about FLIR One for Android
« Reply #244 on: October 04, 2016, 03:53:08 pm »
Don't forget, that you have with the Flir One not a direct communication with the Lepton 3 sensor.
And the FFC has (almost) nothing to do with it the "calibrated" radiometric mode.

Try Georgs App and use your camera outside the regular temperature range.
This is all what you can get with Windows software if you self decode the usb data stream of the Flir One.

This is limited by the internal calculations around the "calibrated" radiometric mode.
You can't read out the native SPI interface of the Flir One...

Believe me, 20mK is impossible for the Flir One.
50mK it's a lot. See this sample:
real  Lepton sensor 160x120 (no image postprocessing and with noise/grain because the temperature spread is only 4 Kelvin)


« Last Edit: October 04, 2016, 03:55:27 pm by tomas123 »
 

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #245 on: October 04, 2016, 05:15:04 pm »
Don't forget, that you have with the Flir One not a direct communication with the Lepton 3 sensor.
You can't read out the native SPI interface of the Flir One...

Is this a hardware limitation? Cause I have no problem connecting to the chip legs directly, but.. that is not my intention with Flir One, I could have bought just the sensor instead then. But I dont believe that there is a chip inside which would decode the original firmware at runtime, and that the firmware is inside unreadable EEPROM. Its just too small for such device.. with 2 cameras in it.

Thanks. Enough information for starters. Dont get me wrong, I am not the professional in this field, I used PRO Flir device maybe once or twice, nothing fancy. My intention to use this at two of my houses to find insulation problems, see if cracks in a wall has any effect on it, also on the wires to see if they do not get too hot, find shorts maybe or bad connections early on before any real damage, then when testing laptops to see if they are not getting too hot somewhere and are not in need of better cooling or just cleaning, and lastly maybe on some electronics, but just 4fun (if I manage to buy ZnSe lenses for example). But I am a programmer so I will definitely meddle with it at some degree, as I meddle with any chip on my quadcopters, laptop EC/BIOS, car ECU, etc.
 

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #246 on: October 10, 2016, 05:28:55 pm »
Well I got Flir One G2 today. Works with my older micro USB Android 4.4.2 phone (I needed to root it and write OTG file to enable OTG functionality though). Still waiting for several micro usb to type-c otg adapters (or Ill solder my own otg adapter otherwise if they will not work) for my newer phone.

Anyways, first impression is good. Although I tried it on my heated floor several times in the dark. Sometimes, tubes could be clearly visible, other times image was blurry. After some time it was again visible. Not sure, maybe together with internal clicking it is also re-focusing or something. Also I used it for 10-15 minutes, noticed temperatures were 2C lower than should be. But seeing your graph @tomas123  I had to use it for 45 minutes for temps to stabilise, but internal battery does not hold as long. How did you manage to use it that long? Was it attached to external power source during that time? Can it be used with external power source for longer periods while still connected to the phone? Anyways, wanted to try Thermal Camera application but it goes to Thanks screen and when pressing thanks keeps showing me same screen on my old phone. Flir Mobile Tools also does not work on older phone. Maybe will need to try on newer one when type-c situation is resolved.
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13168
  • Country: gb
Re: Question about FLIR One for Android
« Reply #247 on: October 10, 2016, 07:03:53 pm »
Has anyone else noticed the number of used FLIR One G2 cameras appearing on the secondary market at ever decreasing prices ?

I almost bought a faulty F1G2 last month for £80 but thought better of it as I already have one. In the last week I managed to buy an as new F1G2 Android for only £60 complete with box and accessories. I bought another today for £135.

I am thinking that maybe the Thermal Revolution is coming to an end for many consumers as they realise it is a neat gadget for which they have no real use in everyday life. I suspect that we will see more F1G2 cameras selling at very reasonable prices. Who would buy a LEPTON3 now when a used F1G2 costs so much less on the secondary market.

I wonder if FLIR sales of the F1G2 have, or are about to, take a steep downturn ?

Interesting times. Fads come and go very quickly. May be good news for us 'hard core' users of the technology but sadly if the consumer market loses interest, we may see the likes of FLIR being less keen to invest in new developments for the low end consumer market.

Food for thought

Fraser
« Last Edit: October 10, 2016, 07:05:41 pm by Fraser »
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline allstone

  • Contributor
  • Posts: 13
  • Country: lt
Re: Question about FLIR One for Android
« Reply #248 on: October 10, 2016, 07:49:22 pm »
Has anyone else noticed the number of used FLIR One G2 cameras appearing on the secondary market at ever decreasing prices ?

I almost bought a faulty F1G2 last month for £80 but thought better of it as I already have one. In the last week I managed to buy an as new F1G2 Android for only £60 complete with box and accessories. I bought another today for £135.

I am thinking that maybe the Thermal Revolution is coming to an end for many consumers as they realise it is a neat gadget for which they have no real use in everyday life. I suspect that we will see more F1G2 cameras selling at very reasonable prices. Who would buy a LEPTON3 now when a used F1G2 costs so much less on the secondary market.

I wonder if FLIR sales of the F1G2 have, or are about to, take a steep downturn ?

Interesting times. Fads come and go very quickly. May be good news for us 'hard core' users of the technology but sadly if the consumer market loses interest, we may see the likes of FLIR being less keen to invest in new developments for the low end consumer market.

Food for thought

Fraser

Not sure where you bought it at such a cheap price? Anyway, Flir may be as well interested to kill consumer market. It is too cheap to make huge profit. I would never consider buying it if it would cost more than several hundred euro. It would then be better to go to lending office. Anyways, I still think it has huge potential. Not everything is discovered in this area yet too. Either Flir kills it or reveals potential good uses for it at home. I.e. what is the most common use for thermal imaging at home for consumer besides the fun factor? I mean what it is good for for casual people at home. To check on laptops temperature? To find out where the dog was sleeping at night? I mean one has to find why people would need this camera. If not, several days of usage and they sell it not having any potential usage for it..
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13168
  • Country: gb
Re: Question about FLIR One for Android
« Reply #249 on: October 10, 2016, 08:48:52 pm »
Hi Allstone,

FLIR are using the LEPTON 2 and 3 in more specialist products that have a definite market. namely the hunting/trekking/Maritime and trades-person tools. These markets will continue IMHO. It is the budget consumer phone accessory that I can see fading away over time. Maybe FLIR will do some more promotion of the technology, I do not know.

My £60 FLIR ONE G2 Android was advertised locally in the newsagent and my £135 FLIR ONE G2 came off ebay today. Both sellers told me the same story. It was a fun gadget for a while but they then put it away and never used it again. How common this scenario must be... just like any consumer gadget bought without a real need for it. I should know, I am a prime offender in that area with test equipment !

Is it just the UK where they are selling cheap on ebay then ? There have been several sold very cheaply of recent here. All with boxes paperwork etc so I do not think they are 'dodgy', just unwanted.

Fraser
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 
The following users thanked this post: allstone


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf