maxritter / diy-thermocam

A do-it-yourself thermal imager, compatible with the FLIR Lepton 2.5, 3.1R and 3.5 sensor with Arduino firmware
http://www.diy-thermocam.net
GNU General Public License v3.0
1.1k stars 174 forks source link

firmware stops responding sometimes #14

Closed haraldg closed 3 years ago

haraldg commented 6 years ago

It seems there is some condition, where the firmware gets stuck: The display freezes and the firmware doesn't react to any touch or button events. Turning the camera off and on fixes the problem.

I can't exactly reproduce it, but it happend to me three times now over a period of 1-2 hours. It always happens in the process of taking/saving an image. I have the gut feeling, that it might be related to bouncing of the button or the exact time or duration the button is pressed.

Sorry, I don't know how to dig into this further ATM. But I will try to get a feeling of how I need to press the button to trigger the crash.

maxritter commented 6 years ago

Thanks for the info.

Right now I am not able to reproduce this issue on my test devices here. If you could nail it down a little bit further, that would be very helpful :)

haraldg commented 6 years ago

I think that the freezes mostly happen when I push the button a bit harder but rarely when pushing it very gently. So looks like a problem with bouncing to me. If you have a better button than what groupgets sent me, then maybe you have no chance for reproducing ...

maxritter commented 6 years ago

I increased the debouncing time in FW version 2.46. Please check it out and report back the results :)

FuwoWolf commented 4 years ago

Well, I seem to have to Problem as well, but it seems not only to happen while taking images, but also when leaving the menu or at random in live view.

I'm on the most recent firmware 2.48

Edit: It does seem like it doesn't come back from the short lag of when the Lepton 3.5 uses its shutter. But only sometimes, not always.