Source: https://mokxi.com/teachers/plans/build-thermal-camera
Updated: 2026-11-19

Lesson plan

# Build a thermal camera lesson plan

Build a thermal camera on an Uno: sixty-four heat pixels, color maps, bilinear upscaling, a hot spot finder and snapshots to microSD.

3 chapters, 6 lessons, about 5 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## Objectives and materials

### By the end, students can

- Sixty-four temperatures, turned into a picture and made smooth.
- Find the hot spot to better than a pixel, and save what you see.
- Put it all together into a tool that finds where a house leaks.

### Materials for the whole unit

- Arduino Uno R3
- microSD card module
- Pushbutton
- TFT display, 240x320
- Thermal camera, AMG8833

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h 30 min

## Seeing heat

Sixty-four temperatures, turned into a picture and made smooth.

Lesson | Time | What students do

64 heat pixels Read an AMG8833 Grid-EYE: sixty-four temperatures ten times a second, laid out row by row, with the hottest and coldest found in one pass. | 50 min

- A camera for heat
- Read the grid
- Move the warm spot
- Hotter
- Nothing there

Color maps Turn temperatures into colors: a palette of our own, a gray one, and the choice every thermal camera makes between an automatic and a fixed range. | 50 min

- Numbers into colors
- Gray is honest
- A fixed range
- Warm the room
- Read a color

Interpolation Upscale 8x8 to 29x29 with bilinear interpolation: three blends of four pixels, and what it can and cannot show you. | 50 min

- Smoother
- On a real pixel
- Halfway between
- Bilinear
- Smooth is not sharp

### Materials

- Arduino Uno R3
- microSD card module
- Pushbutton
- TFT display, 240x320
- Thermal camera, AMG8833

### Check for understanding

Each student finishes "Interpolation" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Smooth is not sharp".

Chapter 2. About 1 h 40 min

## Measuring and keeping

Find the hot spot to better than a pixel, and save what you see.

Lesson | Time | What students do

Hot spot Find the hot spot to better than a pixel with a weighted centroid, see how the frame edge pulls it, and raise an alarm over 50 C. | 50 min

- Better than a pixel
- Follow it
- The edge pulls
- Too hot to touch
- Cold spots too

Snapshots Save frames to a microSD card as CSV with names that never collide, list them, and handle a missing card without a crash. | 50 min

- A card on SPI
- Take a snapshot
- Names that do not collide
- What is on the card
- No card

### Materials

- Arduino Uno R3
- microSD card module
- Pushbutton
- TFT display, 240x320
- Thermal camera, AMG8833

### Check for understanding

Each student finishes "Snapshots" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "No card".

Chapter 3. About 1 h

## Find the drafts

Put it all together into a tool that finds where a house leaks.

Lesson | Time | What students do

Project: find the drafts Turn the camera into a draft finder: the room from the median, cold leaks and warm spots marked on a smooth picture, and snapshots for the record. | 60 min

- A draft finder
- What normal is
- A cold draft
- Under the door
- Keep the evidence
- Make it yours

### Materials

- Arduino Uno R3
- microSD card module
- Pushbutton
- TFT display, 240x320
- Thermal camera, AMG8833

### Check for understanding

Each student finishes "Project: find the drafts" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".

Your class

## Teach this unit as a class

Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
