Hi, so the goal of my project is to use the adafruit 8x8 thermal imaging camera and have it send live data over the wifi to my laptop, where my laptop will then turn that into a visual heatmap.
I would also need to know how to control the sensor's shutter, also maybe how open or close the shutter is, can't really find this info anywhere.
I plan on using an Arduino UNO and the ESP8826, I know nothing else about what to do or how to do it. I'd appreciate any help, thanks
Send the readings over serial to a Processing application running on the PC/laptop, and use the Processing to display the results as rectangles of colour.
The attached picture shows and array that will update at a rate of 10Hz, how would I assign it to a variable. This variable array will be passed to processing language to map the data.
How many entries will there be in the array and what type of variable do you expect to be able to hold the values ?
Please post the code that creates the data shown ? Can you not simply send each value to Processing instead of writing it to the Serial monitor ? In fact, it is already being sent to the Serial interface
And followup, will it even be able to send the data correctly to Processing without needing an actual micro-controller such as an arduino UNO? The camera sends an 8x8 array at a maximum frequency of 10 Hz if it matters. Thanks.
And followup, will it even be able to send the data correctly to Processing without needing an actual micro-controller such as an arduino UNO? The camera sends an 8x8 array at a maximum frequency of 10 Hz if it matters. Thanks.
The camera output via the I2C bus so you can't send directly to Processing. You could read the camera with the 8266 and send the data via serial to the Processing program. I have used I2C with 8266 and it is no different than using I2C with any other Arduino (except you can choose the pins).
This page has wiring, library link and example code.
groundFungus:
The camera output via the I2C bus so you can't send directly to Processing. You could read the camera with the 8266 and send the data via serial to the Processing program. I have used I2C with 8266 and it is no different than using I2C with any other Arduino (except you can choose the pins).
This page has wiring, library link and example code.
Ok so it is feasible, thank you.
And, (sorry im new to this process), What do you mean by sending the data via serial to the processing program? Does this mean wired or could I still do it wirelessly from the adafruit feather ESP8266?
UKHeliBob:
How many entries will there be in the array and what type of variable do you expect to be able to hold the values ?
Please post the code that creates the data shown ? Can you not simply send each value to Processing instead of writing it to the Serial monitor ? In fact, it is already being sent to the Serial interface
Here is the code that made that 8x8 array of numbers
Im new to this stuff but I understand Serial.print(####) will make the microcontroller wirelessly send data to the Serial monitor and then display it. I'm not sure how to send it to processing, and then define it as an array, instead of Arduino.
Exactly, maximum. This implies there would be some sort of command to decrease it. No ideas?
No, it does not imply any such command. The sensor converts values every 1/10 of a second. You can read them out if you wish, or not. You can set it to convert at 1 frame/second, but there is no real difference in the performance.
You clearly don't understand how this sensor works. Each pixel measures the temperature of whatever it is pointed at, which would include the temperature of any "shutter" you cared to put in front of it.