16bit/24bit lcd display color calibration javascript color generator for amg8833 or other false color devices by jamesvilleneuve 3d model
Warning. This content is not moderated and could be offensive.
m4
3dmdb logo
Thingiverse
16bit/24bit lcd display color calibration javascript color generator for amg8833 or other false color devices by jamesvilleneuve

16bit/24bit lcd display color calibration javascript color generator for amg8833 or other false color devices by jamesvilleneuve

by Thingiverse
Last crawled date: 3 years, 1 month ago
i would like to thank Adafruit for original color table included with amg8833 sensor library, and the fact that the code they used was open source, and easy enough to figure out. I also want to thank https://www.w3schools.com/ for the examples they give, especially on copying data from canvas in html. please keep in mind this is a work in progress, that i felt others would benefit from.
video here https://youtu.be/PFyu2S1H0v0
just download html web page, it includes javascript code that runs when you open up web page. 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, it outputs code in format so it can be cut and paste into tables for arduino. or whatever processor or language.
it is a work in progress, but has advanced enough to be useful. for example it allows my arduino to run more color details with thermal sensor.
there are still issues with color detail because of bit reduction of gba888 color down to rgb565, one of the reasons it is best to have a color gradient that includes more than a primary for better resolution detail. in future i might add ability to grayscale outside of browser control and have proper color range dithering for enhanced detail. resolution is lost in rgb565
i have included a stl file, that can be placed on sensor while figuring out color tables, and testing them, that filters out background heat radiation from sides.
this printed isolation wall prevents heat from entering edges of sensor array.
the web page allows false color mapping to determine false color values.
some rgb and hex script functions are referenced from https://www.w3schools.com/
web page gui function, including table generator and conversion from 24bit rgb to 565rgb by james villeneuve, although other functions are avail for experimenters if you look at the code.
comments and ideas welcome, feel free to share and collect. any updates will be posted to code.
7_28: added new defaults for color table increase default colors.
added color count change so it is known how many color changes there are
added color enhancing, that increases color resolution for 565 color. it is experimental and color variants are not yet calculated as correctly as i would like, however it increase color detail.
7_29 :added ability for table to output in 24bit color
7_30 adjusted color mixing for smoother gradience, still experimental.
download html web page.

Tags