16bit/24bit lcd display color calibration javascript color generator for amg8833 or other false color devices
thingiverse
I'd like to thank Adafruit for their original color table included with the AMG8833 sensor library, and also appreciate that they made it open source and easy to understand. I'm grateful to W3Schools.com as well, especially for their examples on copying data from canvas in HTML. Please keep in mind this is a work in progress, but one that I felt others could benefit from. You can view the video here: https://youtu.be/PFyu2S1H0v0 Just download the HTML web page, which includes JavaScript code that runs when you open it up. You might need to click submit 2 or three times at first to autofill default values. This code generates color tables for 16-bit LCD displays and outputs code in a format that can be cut and pasted into tables for Arduino or other processors/languages. It's still a work in progress, but it has advanced enough to be useful. For example, it allows my Arduino to run more color details with the thermal sensor. There are still issues with color detail due to bit reduction of GBA888 color down to RGB565, one reason being that it's best to have a color gradient that includes more than just primary colors for better resolution detail. In the future, I might add the ability to grayscale outside of browser control and have proper color range dithering for enhanced detail. Resolution is lost in RGB565. I've included an STL file that can be placed on the sensor while figuring out color tables and testing them. This printed isolation wall prevents heat from entering the edges of the sensor array. The web page allows false color mapping to determine false color values. Some RGB and hex script functions are referenced from W3Schools.com. The web page GUI function, including table generator and conversion from 24-bit RGB to 565-RGB by James Villeneuve, is available. Although other functions are available for experimenters if you look at the code. Comments and ideas welcome! Feel free to share and collect. Any updates will be posted to the code. 7/28: Added new defaults for color tables to increase default colors. Added color count change so it's known how many color changes there are. Added color enhancing, which increases color resolution for 565-color displays. It's experimental, but it does increase color detail. 7/29: Added the ability for tables to output in 24-bit color. 7/30: Adjusted color mixing for smoother gradience, still experimental. Download the HTML web page.
With this file you will be able to print 16bit/24bit lcd display color calibration javascript color generator for amg8833 or other false color devices with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on 16bit/24bit lcd display color calibration javascript color generator for amg8833 or other false color devices.