Virtually useless IR camera consisting of CircuitPython compatible microcontroller, AMG8833 IR temperature sensor and 8×8 NeoPixel matrix. Build for fun, to learn CircuitPython and justify buying even more electronic components.
I was looking for a project to get used to using CircuitPython for my tinkering. I decided to build an IR camera with AMG8833 sensor, which I recently bought for testing. For a display I went with 8×8 NeoPixel grid, which is an obvious choice when you take into account that sensor measures temperatures in 8×8 grid as well. As for the brain I chose Adafruit ItsyBitsy M4 Express, but I will also want to check if a board with M0 microcontroller will be sufficient for this task.
In the latest update:
I made some nice progress in last few days. First of all I rebuild the circuit on smaller breadboard using new LED matrix with additional 8 pixel strip. Connections are rather straightforward: IR sensor is connected to SDA and SCL ItsyBitsy M4 pins and LEDs are connected to pin 5. Afterwards I went back to code. I wrote a rather simply procedure to map temperatures to colours. First of all maximum represented temperature is defined, which will be displayed as red colour (RGB value 255, 0, 0). If sensor will measure higher temperatures than this defined value they will be also shown as red colour. Temperature 0 °C is represented as blue (0, 0, 255), and green is in the middle. Temperatures laying between these three values are linearly interpolated as mixes of two nearest colours.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.