About UVC extension units on PureThermal 1

463 views
Skip to first unread message

Hamlet Tu

unread,
Dec 7, 2016, 5:57:58 AM12/7/16
to Flir Lepton
Dear,
I have a Pure Thermal 1,
I want to perform FFC on PT1.
I got a page on wiki
https://github.com/groupgets/purethermal1-firmware/wiki/Lepton-CCI-through-UVC-extension-units

and I install uvcdynctrl ,reference on
https://github.com/groupgets/purethermal1-uvc-capture

But I don't know how to do next step to perform FFC.
Any Suggest is welcome.

and How to do FFC on Windows OS?

I use USB Device Viewer (usbview.exe from MS ddk),
I found EU like this,
Is there a tool for execute EU on Windows or example code to do it?
Thanks a lot.

          ===>Video Control Extension Unit Descriptor<===
bLength:                           0x1D
bDescriptorType:                   0x24
bDescriptorSubtype:                0x06
bUnitID:                           0x03
guidExtensionCode:                 {2D317470-656C-2D70-6167-632D30303030}
bNumControls:                      0x13
bNrInPins:                         0x01
===>List of Connected Units and Terminal ID's
baSourceID[1]:                     0x02
bControlSize:                      0x04
bmControls : 0xFF 0xFF 0x07 0x00
     D00 = 1  yes -  Vendor-Specific (Optional)
     D01 = 1  yes -  Vendor-Specific (Optional)

Kurt Kiefer

unread,
Dec 7, 2016, 3:31:13 PM12/7/16
to Flir Lepton
Hello Hamlet,

On Linux, along with uvcdynctl, did you load the controls xml definition?
uvcdynctrl -d /dev/video0 -i pt1.xml -v

There's a pt1.xml file in the uvc-capture-examples repository:

After you load this, you should be able to get a list of available controls on the command line. Off the top of my head, this is something like:
uvcdynctrl -d /dev/video0 -c

Also, after loading that xml, guvcview will now also give you a bunch of controls you can change in its GUI.

For Windows, FLIR was working on a LDK port for PT1, which you can grab a beta of here:

I think it should support at least FFC, if not a few more functions.

Kurt

Hamlet Tu

unread,
Dec 7, 2016, 8:58:45 PM12/7/16
to Flir Lepton
Hi Kurt,
 I have try PureThermalDemo.zip on Windows ,
It could perform FFC, and is it open source ?
or example code  to show how to perform FFC?

I will try uvcdynctrl again to test.

Thanks.
Reply all
Reply to author
Forward
0 new messages