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.
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.
Seeing heat
Sixty-four temperatures, turned into a picture and made smooth.
| Lesson | Time | What students do |
|---|---|---|
| 64 heat pixelsRead 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 |
|
| Color mapsTurn 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 |
|
| InterpolationUpscale 8x8 to 29x29 with bilinear interpolation: three blends of four pixels, and what it can and cannot show you. | 50 min |
|
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".
Measuring and keeping
Find the hot spot to better than a pixel, and save what you see.
| Lesson | Time | What students do |
|---|---|---|
| Hot spotFind 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 |
|
| SnapshotsSave frames to a microSD card as CSV with names that never collide, list them, and handle a missing card without a crash. | 50 min |
|
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".
Find the drafts
Put it all together into a tool that finds where a house leaks.
| Lesson | Time | What students do |
|---|---|---|
| Project: find the draftsTurn 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 |
|
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".
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.