loganwilliams / thermografree

An open source, medium resolution, and broadband thermal imaging camera.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htpa.py not working

Grandpa-G opened this issue · comments

in the htpa.py script around line 171, the loop is never broken. The value of query[1].data[0] is 1 for the first block and so the loop keeps looping.

I am using the Heimann 32x32 sensor and it works with their software ok. Is there something I am doing wrong?

Change line 167 from: expected = 1 + (block << 2)
to: expected = 1 + (block << 4)

If that doesn't work, uncomment the print statement on line 176 and see report what was (1) received and (2) what was expected.

I did that and it seems to run now. However, capture_display, I only get black/white and it looks like a high level camera shot of mars surface, just splotches. Running dualcam is yellow to red but never changes. Is this what it should do?
image

image

I think I got dualcam working, I just had to calibrate it.

Is it possible (easy) to get temperatures from you code?