# Thermal Imaging

**URL:** <https://discourse.processing.org/t/thermal-imaging/2172>\
**Category:** Processing\
**Created:** [July 28, 2018, 11:34pm UTC](https://discourse.processing.org/t/thermal-imaging/2172 "2018-07-28T23:34:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DZR](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@DZR](https://discourse.processing.org/u/DZR)\
**Post date:** [July 28, 2018, 11:34pm UTC](https://discourse.processing.org/t/thermal-imaging/2172/1 "2018-07-28T23:34:57Z")

</div>

I have a thermal imager (AMG8833) that is connected to an Arduino Uno and is communicating to my serial port. I want to use Processing to display the thermal data as an image. It has an 8 X 8 resolution. So far none of the basic sketches in the example libraries are working for me. Any tips for modifying the existing examples to do what I want to do simply? I’m a novice (I know nothing, I just tinker a lot!).

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [July 28, 2018, 11:52pm UTC](https://discourse.processing.org/t/thermal-imaging/2172/2 "2018-07-28T23:52:17Z")

</div>

There are many steps here, and it’s not clear which one you are having trouble with. I assume you have the sensor talking to your Arduino. Do you have your Arduino talking to Processing? Can Processing access the sensor data (that is, can your print it with, say, `println()`)? Do you have a basic Processing sketch? What does it do? Does it draw anything? Can it draw something based on the data you are getting?

Without more details, it’s not possible to help you.

---

<div class="post-metadata">

**Author:** ![DZR](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@DZR](https://discourse.processing.org/u/DZR)\
**Post date:** [July 29, 2018, 12:39am UTC](https://discourse.processing.org/t/thermal-imaging/2172/3 "2018-07-29T00:39:49Z")

</div>

I can view the real time data in either tabular form (serial monitor showing an 8 X 8 grid of data) or graphically (serial plotter showing 8 different color line graphs) through the IDE. I would like to take this data and “process” it to display a real time color gradient thermal image. Can you help me?

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [July 29, 2018, 4:44am UTC](https://discourse.processing.org/t/thermal-imaging/2172/4 "2018-07-29T04:44:20Z")

</div>

Please post the code you have so far.

> [@DZR](#):
>
> graphically (serial plotter showing 8 different color line graphs) through the IDE

Is this in the Processing IDE?

Kf

---

<div class="post-metadata">

**Author:** ![DZR](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@DZR](https://discourse.processing.org/u/DZR)\
**Post date:** [July 29, 2018, 12:31pm UTC](https://discourse.processing.org/t/thermal-imaging/2172/5 "2018-07-29T12:31:36Z")

</div>

No. It is not the processing IDE that I am referring to here. That is what I am trying to develop (albeit from already existing code). The Arduino puts out a 8X8 “array” (temperature grid) that is continuously updated (once per second) to the serial port. Can I take that and write a 'processing" code that will color map it for a live view (thermal image)?

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [July 29, 2018, 3:47pm UTC](https://discourse.processing.org/t/thermal-imaging/2172/6 "2018-07-29T15:47:38Z")

</div>

That is possible. Check for the keyword heatmap and you will get some posts that you will find helpful.

Kf
