A thermal imaging camera made with MLX90640 sensor, costing over 200, easy to make

1. Project Overview
Based on MLX90640 sensor, making an infrared thermal imaging instrument. The cost is over 200, easy to make. All data is open-source.
Two. Function overview
0. About this project
Based on MLX90640 sensor, making an infrared thermal imaging instrument.
The cost is over 200, easy to make.
No longer need to use hand sensing to measure temperature, hardware dogs who have been burned by chips, and high-voltage electric shock have passed ~~
Three. Technical selection
- C
- CodeQL
- Assembly
- C++
1. Material explanation
MLX90640The resolution of the infrared sensor is 24x32, if only measuring temperature, it is enough without looking at pixel-level temperature. After all, there are still people using 8x8 resolution AMG8833. Note that MLX90640 has two models, A and B, the full name of the model is: MLX90640ESF_BAA/BAB.

You must choose B type. The specific difference can be seen in the open-source author's blog.
Screen: 3.2 inches, 240x320 resolution. Because the screen pins generated by different companies are not necessarily compatible, you need to be clear when you buy. I use Shenzhen ESD Technology's LCDT3213440AL here. Please refer to the README.md file for the purchase link. If you buy without a touch screen, I bought it for 30 yuan at the beginning, now...... this year's electronic market, you know what I mean......
MCU: Use GD32F103C8T6, do not use STM32F103C8T6. Because STM's frequency is 72M, GD's frequency is 108M, which is a difference of 50%, which will cause the video to display particularly slow, even after optimizing all the places that can be optimized in the program, the C8T6's RAM is only 20K, which is far from enough, so many variables in the program have been handled by shared storage space, if any big brother is interested, you can continue to optimize it, or directly use GD32F103CBT6.
SPI FLASH: Use the domestic XT25F128BSSIGU, which can be replaced by Hua Ban's or GD's, the program should be compatible. Of course, the capacity size can also be changed.
Shell: The shell is recommended to be bought on TB and processed, the specification is 90x70x28, the price is 2 yuan. Please refer to the README.md file for the purchase link. If you process it yourself, you need a craft knife and a hand drill.

Lithium battery: I use a 65mmx30mmx7mm battery with a capacity of 1800mAh. The battery can be used with a larger one, because there is still a lot of space inside the shell.
Four, interface display

Five, open source protocol
Licensed under GPL-3.0