ESP32

AMG8833 Thermal Camera using ESP32 & TFT Display, Thermal Imaging Camera

AMG8833 Thermal Camera using ESP32:

 

AMG8833 Thermal Camera using ESP32 & TFT Display, Thermal Imaging Camera

In today’s article, you will learn how to make a simple thermal camera using the AMG8833 Grid-EYE Sensor by Panasonic, a 320×240 IPS TFT LCD Display, and the DFRobot FireBeetle 2 ESP32 S3 WROOM-1 controller board.

allpcb circuit




Amazon Links:

FireBeetle 2 ESP32 S3 WROOM 1

AMG8833 Sensor

FireBeetle 2 Official Product page

320×240 IPS TFT LCD Display

*Disclosure: These are affiliate links. As an Amazon Associate I earn from qualifying purchases.

AMG8833

Instead of using the FireBeetle 2 ESP32 module you can also use Arduino and other variants of the ESP32 and ESP8266. But the advantage of using the FireBeetle 2 ESP32 Board is that, it has the GDI “Graphics Device interface”. So, using the GDI interface you can connect the TFT LCD with the ESP32 in just a few seconds



AMG8833

But if we connect the same 320×240 IPS TFT LCD Display to the Arduino Nano, Arduino Uno, and previous versions of the ESP32, and ESP8266, then we will need a lot of jumper wires.

AMG8833

The good thing about this TFT LCD is that it has a GDI interface and male headers. So, if your controller has a GDI interface, you can connect this display using an FPC cable; otherwise, you will have to use jumper wires.



Another advantage of using the FireBeetle 2 ESP32 board is that

AMG8833

It has the AXP313A Power Management chip and the ETA6003 Lithium-ion Battery Charging Management Chip, and a Lithium-Ion battery port. So, just connect a single cell lithium Ion battery and forget about its charging and management; the onboard chips will take care of it.

Let’s go ahead and connect the TFT LCD using the FPC Cable.

If you are using previous versions of the ESP32 boards then you can follow this circuit diagram.

AMG8833



AMG8833:

AMG8833

The AMG8833 Grid-EYE is a low cost infrared sensor array developed by Panasonic. There are also other variants of the same sensor like AMG8834, AMG8853, and AMG8854. These numbers have specific meanings.

AMG8833

The 1st and 2nd numbers represent vertical and horizontal pixels. So, 8 8 means that this temperature sensor is an 8×8 array of IR thermal sensors. When connected to a microcontroller or raspberry Pi it will return an array of 64 individual infrared temperature readings over I2C. This sensor has only 64 (8×8) pixels.

AMG8833

3rd number represents the Applied voltage, 3 means 3.3VDC and 5 means 5VDC.

If the 4th number is 3 then it’s a high performance type High gain and if its 4 then it’s a high performance Low gain.




So, the AMG8833 is a 64 pixels 3.3VDC High gain sensor.

AMG8833

The Horizontal and vertical viewing angle is 60o .

AMG8833

The operating temperature range is 0 to 80 0C.

AMG8833

Temperature accuracy is ±2.5 0C.

Human Detection distance is around 7 meters.

Current consumption in the normal mode is 4.5mA, 0.2mA in sleep mode, and 0.8mA in stand-by mode.

AMG8833

AMG8833

AMG8833



Altium Designer, Altium 365, & Octopart:

Arduino LoRa Free SMS

Altium Designer is the world’s most trusted PCB design system. Altium Designer enables engineers to effortlessly connect with every facet of the electronics design process. Over 35 years of innovation and development focused on a truly unified design environment makes it the most widely used PCB design solution. With Altium Designer you can create PCB designs with an intuitive and powerful interface that connects you to every aspect of the electronics design process. Route it your way through any angle, tune for the delay, Push, Slide, and Walkaround faster than ever.

Easily work together with your mechanical team and forget about the days of swapping design files. Every design change stays in sync between Altium Designer and SOLIDWORKS, PTC Creo, Autodesk Inventor, Autodesk Fusion 360, or Siemens NX*.

Interact and collaborate with mechanical designers like never before in a photo-realistic, 3D design environment.

One of the best things about Altium Designer is that you can share your designs with your team members using Altium 365. They can check your design, leave comments, and if there are any issues, they can fix them from anywhere in the world. Altium Designer also uses the world’s fastest components search engine, Octopart, so you won’t have any difficulty in searching for components.

Altium Designer, Altium 365, and Octopart—unleashes the full potential of electronics design by seamlessly integrating design tools, collaboration platforms, and component databases. Together, they offer engineers a comprehensive and synchronized experience, leading to improved productivity, reduced errors, and accelerated innovation in the world of electronics design.



AMG8833 Interfacing with ESP32:

AMG8833

Connect the VIN and GND pins of the AMG8833 sensor to the ESP32 3.3V and GND pins. Connect the SCL and SDA pins to the FireBeetle 2 ESP32 board SCL and SDA pins. So, if you are using the Firebeetle 2 ESP32 board then you will only need 4 wires.

Now, before we start the programming, first of all, we will need to add the ESP32 FireBeetle 2 in the Arduino IDE. Because, by default no ESP32 board is installed in the Arduino IDE and you can confirm this by going to the Tools Menu, then to Board, and you can see there is no ESP32 board.

AMG8833

So, first we will need to add it in the boards list, for this copy this Board Manager URL link;

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Then go back to the Arduino IDE, go to the File Menu, then preferences, and paste this link in the Additional Boards Manager URLs and click the Ok button.

AMG8833



Next, go to the Tools Menu, then Board and click on the Boards Manager. Search for the ESP32. You can see we have Arduino ESP32 Boards and ESP32 by Espressif Systems.

AMG8833

So, make sure you install this one and don’t forget to select the latest version. Finally, the board installation has been completed and now we can confirm this by going to the boards list.

AMG8833

You can see all the different variants of the ESP32 Boards have been added, so, scroll down and you will see the DFrobot FireBeetle ESP32 S3 board.

Next, we are going to add library for this TFT LCD module.

So, while your Arduino IDE is open go to the Sketch Menu, then to Include Library, and click on the Add .ZIP Library. Browse to the location and select this library,

AMG8833

Download DFRobot_GDL-master

Now, we will install library for the AMG8833 sensor.




So, while your Arduino IDE is open go to the Sketch Menu, then to Include Library, and click on the manage libraries. Search for the AMG8833.

AMG8833

You can see I have already installed the Adafruit AMG88xx Library.

AMG8833 Programming:

Anyway, to upload the program, make sure your ESP32 FireBeetle 2 board is connected to your Laptop or PC.

Go to the Tools menu and select the DFRobot FireBeetle 2 ESP32-S3 Board. Make sure you enable the USB CDC On Boot.

Set the Flash size to 16MB (128Mb).

Set the Partition Scheme to 16M Flash (3MB).

Set the PSRAM to OPI PSRAM.

AMG8833

Finally, select the port and then you can upload the program.



Now, let’s go ahead and watch the AMG8833 based Thermal imaging camera in action.

AMG8833

Watch video tutorial for the full testing and step-by-step explanation.


Watch Video Tutorial:

 

Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Related Articles

One Comment

  1. Hey, you have been a guide for me for the microcontroller related projects so thanks a lot. I wanted guidance from you for the PCB of this very project. Can you please provide the above said.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button