AMG8833 Thermal Camera Library for Proteus Simulation: an Arduino UNO V4.0, the AMG8833 module, an OLED heat map and two LEDs

AMG8833 Thermal Camera Library for Proteus Simulation

40
700
60
25
60
PCBWay

Hello friends, I hope you all are doing great. Today, I am going to share the new AMG8833 Thermal Camera Library for Proteus Simulation. The AMG8833 - Panasonic's Grid-EYE - is a tiny thermal camera: 64 thermopile pixels in an 8 x 8 grid behind a silicon lens, each one reading the temperature of what it sees, ten frames a second over I2C. It sees people by their warmth, even when they keep still, and it can tell a person from a cup of hot tea. With this library you can run a full Proteus simulation of it, register by register, so that the code you test here works with the real sensor.

AMG8833 Proteus simulation demo: the Arduino UNO V4.0 drawing the heat map on the OLED as a person walks in, a hot mug appears and the ALERT LED lights
Figure: The AMG8833 simulation running: a person walks in, a hot mug, the heat map on the OLED.
Updates

AMG8833 Thermal Camera Library for Proteus

Latest version: V1.0 (November 2026, this tutorial)

Helping Tools

The module is drawn at its real size and comes alive at run time: its PWR and INT LEDs work, and its lens glows in the colour of the hottest thing it sees. The demo is a presence detector with a live heat map on an OLED, a green CLEAR LED and a red ALERT LED driven by the sensor's own interrupt.

NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the temperature sensor board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the AMG8833 Thermal Camera Library for Proteus Simulation:

AMG8833 Thermal Camera Library for Proteus Simulation: an Arduino UNO V4.0, the AMG8833 module, an OLED heat map and two LEDs
Figure: The AMG8833 Thermal Camera Library for Proteus Simulation.

What is the AMG8833?

Every warm object gives off infrared light, and the warmer it is, the more it gives off. A thermopile turns that light into a small voltage: tiny thermocouples warm up when the infrared falls on them. The AMG8833 puts 64 of them in a grid with a silicon lens in front, so that each pixel looks at its own small patch of the scene - about 7.5 degrees wide, 60 degrees for the whole grid. A chip inside reads them all, corrects them with its own thermistor and gives you 64 temperatures in degrees, 0 to 80 C, in steps of 0.25 C.

The AMG8833 at a glance
AMG8833
Pixels8 x 8 = 64 thermopiles, row by row, pixel 1 top left
Range, resolution0 - 80 C, 0.25 C (accuracy about +-2.5 C)
Field of view60 degrees, about 7.5 degrees a pixel; people seen up to about 5 m
Frames10 or 1 a second
InterfaceI2C at 0x69 (0x68 with AD_SELECT low); INT, open drain, active LOW
Supply3.3 V for the sensor; the usual module has a regulator and level shifter for 5 V
Package11.6 x 8 x 4.3 mm, metal, with the lens on top

A Thermal Camera, Not a Thermometer

A point infrared thermometer such as the one in our MLX90614 IR Thermometer Library for Proteus gives one temperature: the average of everything in its cone. The AMG8833 gives 64 of them, so it gives a picture - you can see where the warm thing is, how big it is and where it moves. Sixty-four pixels is a very small picture, but it is plenty to count people, find a hot spot on a circuit board or see a hand wave in front of a screen.

The Registers of the AMG8833

Everything goes through a handful of registers. The first byte of a write is the register address; reads auto-increment, so one long read from 0x80 brings the whole frame.

The AMG8833 registers
RegisterAddressWhat it does
PCTL0x00power: 0x00 normal, 0x10 sleep, 0x20 / 0x21 stand-by (a frame every 60 / 10 s)
RST0x010x30 resets the flags, 0x3F is the initial reset
FPSC0x02bit 0: 0 = 10 frames a second, 1 = 1 frame a second
INTC0x03bit 0 turns the interrupt on, bit 1 picks absolute (1) or difference (0) mode
STAT / SCLR0x04 / 0x05INTF and the overflow flags; write 1s to SCLR to clear them
AVE0x07bit 5: the twice moving average (less noise)
INTHL .. IHYSH0x08 - 0x0Dthe upper and lower interrupt levels and the hysteresis, 12 bits, 0.25 C
TTHL / TTHH0x0E / 0x0Fthe thermistor: 12 bits, sign + magnitude, 0.0625 C
INT0 .. INT70x10 - 0x17the interrupt table: one bit for each pixel that crossed a level
T01L .. T64H0x80 - 0xFFthe 64 pixels: 12 bits, two's complement, 0.25 C

The Interrupt

The interrupt is the part that is easy to overlook and very useful. Write an upper level - say the room plus 3 C - and turn on INTC in absolute mode, and the sensor watches all 64 pixels for you: when any of them gets warmer, INT goes LOW, INTF is set in STAT and the table at 0x10 - 0x17 tells you which pixels it was. In difference mode it compares each pixel with the previous frame instead, so it reacts to change - something moving - rather than to warmth. The flag stays until you clear it with SCLR.

Features of the AMG8833 Thermal Camera Library for Proteus Simulation

  • A real-looking module: the green board at its real size, 25 x 18 mm, with the Grid-EYE's metal package and its round lens, the regulator, the level shifter and our small TEP mark.
  • Animated: PWR and INT LEDs that work at run time, and a lens that glows in the colour of the hottest pixel.
  • The real registers: PCTL, RST, FPSC, INTC, STAT, SCLR, AVE, the interrupt levels, the thermistor, the interrupt table and the 64 pixels in the maker's formats.
  • A real interrupt: absolute and difference mode, the table of pixels, INT latched until SCLR clears it.
  • A scene: a room, a person shaped by the distance, a hot mug and a hand over the lens, with a demo script and chips to change it at any time.
  • A pop-up: the 64 pixels as a heat map with their temperatures, the hottest, coldest and average pixel over the run, eight live tiles, graphs, an event log and a check page.
  • A complete package: about 2.2 MB with the library, our OLED, 5 mm LED and resistor libraries, our Arduino UNO V4.0 and the demo, without the source code of the model.

The AMG8833 in Proteus

The device is THERMALAMG8833TEP in TEPAMG8833.LIB, under Sensors > Temperature, with the prefix U and the model TEPAMG8833.DLL. Search AMG8833 or thermal in Pick Devices. It has five pins along the bottom: VIN (3.3 - 5 V), GND, SCL, SDA and INT. Its properties: PROFILE (DEMO or STEADY), ROOM_T (the room, 22 C), PERSON_T (the skin as the sensor sees it, 32 C) and ADDRESS (0x69 or 0x68).

AMG8833 thermal camera module of the AMG8833 Thermal Camera Library for Proteus Simulation, drawn at its real size
Figure: The AMG8833 module, drawn at its real size.

Download AMG8833 Thermal Camera Library for Proteus Simulation

Click the button below to download AMG8833-Thermal-Camera-Library-for-Proteus-v1.0.zip (about 2.2 MB, without the source code of the models):

AMG8833 Thermal Camera Library for Proteus V1.0
  • README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
  • Proteus Library Files: TEPAMG8833.LIB, TEPOLED12864.LIB, TEPLED5MM.LIB, TEPRESISTOR.LIB and ArduinoV4TEP.LIB.
  • Proteus Model Files: TEPAMG8833.DLL, TEPOLED.DLL, TEPLED5MM.DLL, TEPRESISTOR.DLL and TEPARDUINO.DLL.
  • Arduino Code: the demo sketch (plain Wire, no extra library).
  • Proteus Simulation: the demo project, its HEX file and copies of the DLLs.

No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.

How to Install AMG8833 Thermal Camera Library for Proteus Simulation

  1. Close Proteus and extract the whole zip file, for example to your Desktop.
  2. Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
  3. Copy the files from Proteus Model Files into the MODELS folder.
  4. Delete TEPAMG8833.IDX from the LIBRARY folder if it is there.
  5. Start Proteus, press P and search for AMG8833.

Proteus Simulation of a Thermal Presence Detector

Our demo watches a room. U1 is the AMG8833 with PROFILE DEMO: the room is empty at 22 C, someone walks in from the left at 3 seconds and stops 2 m away, a hot mug is put down in the corner of the view at 10 seconds, the person comes up to 1 m at 12 seconds and walks out to the right at 15 seconds. Its SCL and SDA go to A5 and A4 of our Arduino UNO Library for Proteus V4.0, its INT to D2. Our OLED SSD1306 Library for Proteus shares the I2C bus and shows the heat map, and two LEDs from our 5mm LED Library for Proteus sit beside it: CLEAR (green, D5) and ALERT (red, D6), each through 220 ohm. The Arduino's built-in monitor is the same window as our TEP Serial Monitor Advance for Proteus. Open AMG8833-Thermal-ArduinoUnoV4.pdsprj.

AMG8833 simulation in Proteus: Arduino UNO V4.0, the AMG8833 module, an OLED and two LEDs on an A4 sheet
Figure: The whole simulation on an A4 sheet.

The Sketch

At start the sketch wakes the sensor, resets it and asks for 10 frames a second:

  wr(0x00, 0x00);                                           // PCTL: normal mode
  wr(0x01, 0x3F);                                           // RST: initial reset
  wr(0x02, 0x00);                                           // FPSC: 10 frames a second

A frame is 128 bytes, but the UNO's Wire buffer holds only 32, so the sketch reads it in four bursts and turns each pair of bytes into a signed 12-bit value in quarter degrees:

      int16_t v = ((hi & 0x0F) << 8) | lo;
      if (v & 0x800) v -= 0x1000;                           // 12 bits, two's complement

The room's temperature is the median of the 64 pixels - a person covers less than half of the view, so the middle value is the background. The pixels more than 3 C above it are the warm ones:

  room = (s[31] + s[32]) / 2;                               // the median: the room, while a person covers less than half the view

From the first frame the sketch sets the sensor's own alarm: the upper level at the room plus 3 C, absolute mode. From then on INT on D2 tells it when anything warm is in view:

    wr(0x03, 0x03);                                         // INTC: the interrupt on, absolute mode

Each loop it reads INT, holds the ALERT LED for a second and clears the flag, then names the scene and draws it:

    wr(0x05, 0x02);                                         // SCLR: clear the flag - the next frame sets it again if it is still warm

The OLED has no grey, so the heat map is dithered: each pixel is a block of 6 x 6 dots, and the warmer it is the more of the dots are lit, in a fixed 4 x 4 pattern.

AMG8833 Simulation Results

Open the project and press Run. The demo runs 20 simulated seconds and took 257 seconds on our PC with the pop-up open and the pictures being taken. Click the module for its pop-up. Every number below comes from one simulation run, the demo exactly as it ships.

An Empty Room

At start the sketch finds the sensor at 0x69, wakes it, resets it and asks for 10 frames a second. From the first frame it takes the room - the median of the 64 pixels - as 22.0 C, reads the thermistor at 23.4 C and sets the interrupt level to 25.0 C. The monitor prints all three, and the Event log shows the reset and INTC arriving. For the first 3 seconds the room is empty. Every pixel reads between 21.25 and 23.00 C - the 0.25 C noise and a slightly warmer ceiling - with an average of 21.98 C. The OLED says ROOM EMPTY, its heat map is dark, and the green CLEAR LED is on.

AMG8833 Proteus simulation pop-up: an empty room, all 64 pixels near 22 C
Figure: An empty room.

Someone Walks In

At 3 seconds someone walks in from the left, 2 m away. At 4.4 seconds the first pixel at the left edge passes 25 C: the sensor sets INTF and pulls INT LOW, and the red ALERT LED comes on. At 5 seconds the hottest pixel is 28.25 C in row 6, column 1, and the OLED says PERSON IN VIEW. When they stop in the middle (8.5 seconds) they are a warm column two pixels wide: the hottest pixel 26.75 C, 10 pixels more than 3 C above the room. Notice how much cooler that is than skin - at 2 m a person fills only part of each pixel, and clothes are cooler than a face.

AMG8833 Proteus simulation pop-up: a person standing 2 m away, a warm column in the heat map
Figure: A person 2 m away.

A Hot Mug, and Closer

At 10 seconds a hot mug of 60 C is put down in the corner of the view. It covers most of one pixel - number 55, row 7, column 7 - which reads 45.0 C: the OLED says PERSON + HOT and its heat map shows a solid block in the corner. At 12 seconds the person comes up to 1 m. Now they fill four columns from top to bottom, the face is two pixels at 30 C, and 24 pixels are warm; the average of the whole frame climbs to 24.69 C.

AMG8833 Proteus simulation: the OLED heat map with the person close and the hot mug, ALERT lit
Figure: The OLED: the person close and the mug.
The AMG8833 thermal presence detector simulation running in the Proteus workspace with the Arduino UNO V4.0
Figure: The simulation in the workspace.
AMG8833 Proteus simulation pop-up: a person 1 m away and a 60 C mug in the corner
Figure: Close up, with the mug.

Walking Out

At 15 seconds they walk out to the right. The warm column slides across the picture and is gone at about 18.5 seconds; what is left is the mug, 44.5 - 45.75 C, and the OLED says HOT OBJECT. The ALERT LED stays on, because the mug is still above the interrupt level.

The Graphs, the Event Log and the Check Page

The Graphs page plots the hottest, coldest and average pixel and the thermistor. The Event log keeps the register writes, the scene and the interrupt. The Check page sums up the run: 200 frames at 10 a second, 804 reads with none refused, the interrupt beyond its level twice and its flag cleared 105 times by the sketch's SCLR writes, the thermistor at 23.48 C.

AMG8833 Proteus simulation graphs: the hottest, coldest and average pixel and the thermistor
Figure: The Graphs page.
AMG8833 Proteus simulation Event log: the registers, the scene and the interrupt
Figure: The Event log.
AMG8833 Proteus simulation Check page after the demo run
Figure: The Check page.

The monitor shows the sketch's side: the start-up, the interrupt level it set, and a line for every change of the scene.

Arduino UNO V4.0 serial monitor in the AMG8833 Proteus simulation: the room, the interrupt level and the scenes
Figure: The monitor.

Thermal Camera, PIR and Radar

Three sensors see people, each in its own way. A PIR sensor - our PIR Sensor Library for Proteus - sees a warm body move across its zones, and forgets a person who sits still. A radar such as the one in our LD2410 Radar Sensor Library for Proteus sees motion and even breathing, and gives a distance, but no picture and no temperature. The AMG8833 sees warmth itself: a still person stays in the picture, and it knows where they are in the view and how warm things are - a person, a hot mug, a radiator. Its limit is resolution: at 5 m a person is a single warm pixel.

Try It Yourself

  • Click Hand on the lens in the pop-up: every pixel jumps to about 33 C and the OLED says PERSON CLOSE.
  • Write FPSC = 1 for one frame a second and watch the frame count on the OLED slow down.
  • Turn on the moving average (AVE = 0x20) and compare the noise on the coldest pixel.
  • Change INTC to 0x01 (difference mode) with a level of 1 C: INT now reacts to movement, not to warmth.
  • Read the interrupt table (0x10 - 0x17) and print which pixels were warm.

Ideas to Extend the Demo

  • Count people crossing a doorway by following the warm blob from left to right.
  • Watch a 3D printer's hot end or a soldering iron and sound an alarm when it is left hot.
  • Scale the 8 x 8 picture up to 32 x 32 with interpolation on a colour TFT.

Your Own Sketches

The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.

Things to Know Before Using a Real AMG8833

  • The Wire buffer: on an UNO read the 128 bytes of a frame in four bursts of 32.
  • Distance: a pixel sees about 7.5 degrees, so a far person fills only part of a pixel and reads cooler than their skin - set alarm levels from the room.
  • The thermistor: it is the sensor's own temperature, warmed by the board; use the pixels for the room.
  • Glass: ordinary glass and most plastics block the infrared it sees; it cannot look through a window.
  • Start-up: give it about 50 ms after power-up or a reset before the first frame.

Troubleshooting

  • No answer at 0x69: check SDA, SCL and VIN; some boards are set to 0x68 - set the ADDRESS property to match.
  • All pixels 0: the sensor is asleep; write PCTL = 0x00 and wait for a frame.
  • Wild temperatures: the pixel value is two's complement - sign-extend bit 11.
  • INT stays LOW: the flag is latched; write SCLR = 0x02 after handling it.
  • The part is not simulated: TEPAMG8833.DLL is missing from MODELS and from the project folder.

Limitations of the Simulation

  • The registers, their formats, the frame rates, the power modes and the interrupt follow the maker's register map; the module is our own drawing of an AMG8833 board.
  • Our own choices: the scene and its temperatures, the shape of the person at each distance, the small blur of the lens, the 0.25 C noise and the thermistor reading 1.5 C above the room.
  • Not modelled: the interrupt hysteresis, the thermistor overflow, the exact view of each pixel and the accuracy curve of a real part.
  • Arduino is a name of Arduino and Grid-EYE a name of Panasonic; this library is not made or endorsed by Arduino, Labcenter or Panasonic.
  • Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.

So, that was all about the AMG8833 Thermal Camera Library for Proteus Simulation. I hope it helps you build your people counter, your hot-spot alarm or your touchless switch before the real sensor arrives - and shows that a thermal camera is a simple thing at heart: 64 small thermometers, a lens, and a few registers. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!


Comments

0

Join the conversation