Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO R4 WiFi-Controlled Thermal Imaging Camera with TFT Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO R4 WiFi-Controlled Thermal Imaging Camera with TFT Display

Circuit Documentation

Summary

This circuit integrates an Arduino UNO R4 WiFi with a 1.3 inch TFT Module 240×240 ST7789 display, a GY-MCU90640 thermal camera module, and a HiLetGo Level Shifter for voltage level translation. The circuit also includes multiple resistors for current limiting and signal conditioning. The Arduino UNO R4 WiFi serves as the central processing unit, interfacing with the display and thermal camera module to process and visualize thermal data.

Component List

Arduino UNO R4 WiFi

HiLetGo Level Shifter

Resistor (100 Ohms)

Resistor (200 Ohms)

1.3 inch TFT Module 240×240 ST7789

GY-MCU90640

Wiring Details

Arduino UNO R4 WiFi

HiLetGo Level Shifter

1.3 inch TFT Module 240×240 ST7789

GY-MCU90640

Documented Code

The code provided is for the Arduino UNO R4 WiFi microcontroller. It includes libraries for the Adafruit MLX90640 thermal camera and the Adafruit ST7789 TFT display, as well as the SPI library for serial communication. The code initializes the display and the thermal camera, then enters a loop where it reads temperature data from the thermal camera and displays it on the TFT screen. The display shows a color-mapped thermal image and updates the ambient temperature and frame rate (FPS) on the screen.

#include <Adafruit_MLX90640.h>
#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_ST7789.h> // Hardware-specific library for ST7789
#include <SPI.h>

// ... (Code omitted for brevity)

void setup() {
  // ... (Setup code omitted for brevity)
}

void loop() {
  // ... (Loop code omitted for brevity)
}

Note: The full code is not displayed here due to brevity. The provided code snippet shows the inclusion of necessary libraries and the structure of the setup() and loop() functions. The actual code includes detailed implementation for initializing the hardware components, capturing thermal data, processing it, and displaying it on the TFT screen.