Errors when using sensor.IOCTL_LEPTON_xxx

Hello all,

meanwhile I received my Flir Lepton 3.5. Together with the OpenMV Pure Thermal board everything works perfectly fine when using library fir.

However, all examples using sensor.IOCTL_LEPTON_xxx cause error messages. My assumption: the documentation mentioned something that OpenMV Pure Thermal is using different I2C channels than other OpenMV boards.

Any suggestion on how to get this issue solved and to get sensor.IOCTL_LEPTON_xxx working?

Thanks and best regards,
Matthias

Hi there,

I’m also having the same issue. I’m running with Lepton 3.5 and OpenMVPT board. Firmware: 4.4.2
Everytime an example uses sensor.IOCTL_LEPTON gives me an error of:
RuntimeError: Sensor control failed.

Regards,
Libelle

Exactly same issue here.

Hello!
I have the same problem now. I’m using OpenMV purethermal and Lepton 3.5 but I couldn’t run any examples in IDE. All of those examples gave me error: Sensor control failed. I’m wondering if my Lepton 3.5 is break:(
Is there any methods for me to solve these problems?
Thanks for all suggestions!

An example of code that works okay for me.

sensor.ioctl(sensor.IOCTL_TRIGGER_AUTO_FOCUS, True)

Best of luck getting a response on this forum, especially from devs.