Dear all, I'interested to build a thermal camera by Arduino for educational reason.
I found the AMG8833 IR 8x8 and the display...but the display is the Adafruit ST7789 1.54" 240x240px therefore, how to to change the code showed here https://learn.adafruit.com/adafruit-amg ... mal-camera (in this example a 1.4" display has been used)
Moreover, by pics of the example it looks likes that the display just show the temperature color, of the object, bit there isn't a temperature scale, therefore we can't know the blu what temperature is, the red what temperature is etc...how to modify the code to add the scale?
Kind regards
Thermal camera arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- sj_remington
- Posts: 997
- Joined: Mon Jul 27, 2020 4:51 pm
Re: Thermal camera arduino
In order to change code, you first have to understand how it works. Go through the original code, line by line, looking up function calls in the various code libraries, and make sure you know the purpose of each one. Then check the documentation for the new display and see what you have to change in order to duplicate the original function. Once you have the modified example running correctly, change the code to accommodate new features, change image size, etc.
To represent the color/temperature scale, most people add an extra feature to the screen, called a colorbar. You can make this by plotting several rectangles filled with a particular temperature value, and display text along side with the temperature.
Example (colorbar to the right): Definitely an educational experience!
To represent the color/temperature scale, most people add an extra feature to the screen, called a colorbar. You can make this by plotting several rectangles filled with a particular temperature value, and display text along side with the temperature.
Example (colorbar to the right): Definitely an educational experience!
- Faca87
- Posts: 2
- Joined: Sun Aug 01, 2021 2:41 am
Re: Thermal camera arduino
Hello, yes...I was talking about the color bar...is there any example code?
- sj_remington
- Posts: 997
- Joined: Mon Jul 27, 2020 4:51 pm
Re: Thermal camera arduino
There are plenty of code examples for drawing filled rectangles and text, which is all you need to make a color bar.
Pick a display and start learning how to program it, by studying the library examples and documentation.
Pick a display and start learning how to program it, by studying the library examples and documentation.
Please be positive and constructive with your questions and comments.