Become a channel sponsor: / @rnadyrshin
Instagram: / electronics_in_focus
Past video about a homemade thermal imager on the MLX90640: • Самодельный тепловизор...
Links:
1. TTGO T4 board (ESP32 + 4M PSRAM + 2.2" display): ali.ski/NpezS
2. Melexis MLX90640 sensor can be purchased:
2.1. From distributors in Europe and the USA (appear periodically at a price of $45, but expensive delivery):
2.1.1. DigiKey: is.gd/CPjDt5
2.1.2. Mouser is.gd/rUaUBO
2.2. From distributors in Russia (prices around $70-80)
2.3. In online stores and other sites (usually as part of modules):
2.1.1. ali.ski/xGz5Y
2.1.2. shop.pimoroni.de/products/mlx...
3. Battery LP603060, 1100 mA: www.chipdip.ru/product/robito...
Project sources (ESP-IDF + Eclipse): bitbucket.org/nadyrshin_ryu/m...
Instructions for installing the development environment and SDK (ESP-IDF + Eclipse): docs.espressif.com/projects/e...
The project does not support building with CMake, which the Chinese are gradually switching to, so I recommend installing ESP-IDF 3.3.1 manually, without an installer, following the instructions on the link above. In case the instructions or files become unavailable, everything can be downloaded here: yadi.sk/d/PNylbZf62koYTg
By calling make menuconfig from the ESP-IDF console, you can configure the project settings:
- Port for firmware (COM3 by default). Serial flash config - Default serial port.
- The correct size of the RAM chip (otherwise the ESP32 will reboot on attempts to allocate memory from external RAM). Component config - ESP32-specific - SPI RAM config - Type of SPI RAM chip in use.
Setting constants:
1. Selecting the revision of the TTGO board: the constant TTGO_V12 or TTGO_V13 in the file /main/ili9341/ili9341.h
Determines the connection of the display to the ESP32, controls the availability of the ability to control the brightness of the backlight.
2. Selecting the ESP32 legs to which the sensor is connected: PIN_SCL and PIN_SDA constants in the file /main/mlx90640/MLX90640_I2C_Driver.c
Pins IO34-39 cannot be used, as well as pins already used on the TTGO board.
3. Selecting the ESP32 leg to which the battery is connected (through a resistive divider of approximately 50% / 50%): the ADC_BATTERY_CHANNEL constant in the /adc/adc.c file. For your resistors, you need to calibrate the coefficients A and B.
Andrey Finenkov forked my repository and develops his firmware branch in the repository: bitbucket.org/finenkov/mlx906...
Gennady Degterev forked my repository and develops his firmware branch in the repository: bitbucket.org/degterjow/mlx90...
And a few more viewers designed housings for a thermal imager for printing on a 3D printer. Here is one of the options from a viewer with the nickname Seve Len: cloud.mail.ru/public/4u2P/3Ho...
27 янв 2020