Wednesday, February 20, 2019

The no point IR camera #IR #CircuitPython #NeoPixels #ItsyBitsy @HackadayIO

No point IR camera

Via Szymon Jakubiak on Twitter on the No Point IR Camera project progression.

The project is being documented on Hackaday.io –

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.

See this project develop on Hackaday.io

Interested in CircuitPython, IR cameras or NeoPixel lights? Let us know in the comments below.

No comments:

Post a Comment