⚠️ Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through our links, we may earn a small commission at no extra cost to you. Every product below was checked against its live Amazon listing before publishing. Prices change often, so we don’t list them here. Tap any Buy Here button to see the current price on Amazon.
ESP32 Sensor Buying Guide
🌡️ Best Thermal Camera Sensors for ESP32
Build a heat map, people counter, fire watcher or a DIY thermal camera with an ESP32. Here are 10 I2C thermal sensors, from 32 x 24 pixel MLX90640 arrays to 8 x 8 Grid-EYE boards and single-point MLX90614 thermometers.
✅ 10 Sensors Compared
✅ Verified Amazon ASINs
✅ Resolution and FOV Explained
✅ Honest Pros & Cons
An ESP32 is a great brain for a thermal sensor. It has the I2C speed to pull frames from a 32 x 24 MLX90640, enough RAM to hold the temperature array, PSRAM on many boards for bigger buffers, and Wi-Fi to stream the heat map to a browser, MQTT broker or Home Assistant. That opens up projects like room occupancy sensing that doesn’t use a camera, overheating alarms for 3D printers and server racks, a pocket thermal camera on a TFT display, or simply checking which regulator on your board is running hot.
Thermal sensors differ a lot, though. Some give you 768 pixels, some give 64, and some give one reading. Field of view, frame rate and temperature range all change what a sensor is good at. This guide compares 10 modules that work with the ESP32 over I2C and explains which one fits which job.
💡 Before you buy: These are low-resolution sensors, not handheld thermal cameras. A 32 x 24 MLX90640 gives 768 temperature points, which looks blocky until you interpolate it in software. Pick the field of view for the distance: a wide 110° lens covers a whole room from the ceiling, while a 55° or 45° lens puts more pixels on a distant object. If you only need one temperature (a motor, a cup, a forehead), a single-point MLX90614 is simpler and cheaper.
⚡ Quick Comparison: All 10 Thermal Sensors
| Module | Sensor | Pixels | FOV | Best For | Buy |
|---|
| 🥇 Waveshare MLX90640-D110 | MLX90640 | 32 x 24 | 110° x 75° | Best Overall | Buy Here → |
| 🔌 SparkFun MLX90640 Qwiic | MLX90640 | 32 x 24 | 55° x 35° | Best Plug-and-Play | Buy Here → |
| 🧩 Pimoroni MLX90640 110° | MLX90640 | 32 x 24 | 110° | Best Compact Breakout | Buy Here → |
| ⚡ MLX90641 Module | MLX90641 | 16 x 12 | 55° | Best Light Load | Buy Here → |
| 🆕 WatangTech MLX90642-D45 | MLX90642 | 32 x 24 | 45° x 35° | Newest Sensor | Buy Here → |
| 👥 Teyleten AMG8833 | AMG8833 Grid-EYE | 8 x 8 | About 60° | Best for Presence | Buy Here → |
| 🎯 SHILLEHTEK MLX90614 | MLX90614 BAA | 1 point | 90° cone | Best Single-Point | Buy Here → |
| 💸 HiLetgo GY-906 MLX90614 | MLX90614ESF | 1 point | 90° cone | Best Budget | Buy Here → |
| 🔭 Waveshare MLX90640-D55 | MLX90640 | 32 x 24 | 55° x 35° | Best for Distance | Buy Here → |
| 🧪 DORHEA AMG8833 | AMG8833 Grid-EYE | 8 x 8 | About 60° | Grid-EYE Alternative | Buy Here → |
Specs come from the manufacturers and the live Amazon listings. Star scores below are our ratings.
🔍 What Matters in a Thermal Sensor
🔲
Resolution
32 x 24 (768 points) makes a usable thermal image. 16 x 12 and 8 x 8 are better for detecting presence and hot spots than for pictures.
📐
Field of View
Wide (110°) for rooms and close-up boards; narrow (45° to 55°) to put more pixels on objects further away.
🌡️
Temperature Range
MLX90640 and MLX90641 read about -40 to 300°C. The AMG8833 stops at 80°C, so it suits people and rooms, not soldering irons.
⏱️
Frame Rate and I2C Speed
Fast MLX90640 refresh needs I2C at 400 kHz or more. Expect a few usable frames per second on an ESP32 after calculations.
🔌
Voltage and Connector
Qwiic and STEMMA QT boards plug straight into many ESP32 boards. Some breakouts are 3.3 V only, so check before wiring to 5 V.
🏆 Detailed Reviews: The Top Two
🥇 BEST OVERALL THERMAL SENSOR FOR ESP32
Waveshare MLX90640-D110 Thermal Camera
⭐ 4.7/5 · Our Rating · Wide-Angle 32 x 24 Array
Buy on Amazon →

For most ESP32 thermal projects, this is the module to start with. It uses the Melexis MLX90640 with 32 x 24 pixels and a wide 110° x 75° lens, so mounted on a ceiling or wall it sees a whole room, and up close it frames an entire dev board. Waveshare puts the sensor on a small board with a regulator and level handling, so it runs from 3.3 V or 5 V and talks I2C at the default address 0x33. The target range is -40 to 300°C and the refresh rate is adjustable up to 64 Hz. Waveshare provides example code for Raspberry Pi, STM32 and Arduino, and the common Adafruit and SparkFun MLX90640 libraries work on the ESP32 too. The wide lens spreads 768 pixels over a big area, so small, distant objects get only a pixel or two.
✅ Pros- Full 32 x 24 resolution
- Wide room-scale view
- 3.3 V and 5 V friendly
- Good documentation
❌ Cons- Fewer pixels per object at distance
- Needs a fast I2C bus for high frame rates
🎯 Verdict: The best all-round thermal array for ESP32 heat maps, occupancy sensing and DIY thermal cameras.
👉 Check Price on Amazon →
🔌 BEST PLUG-AND-PLAY (QWIIC)
SparkFun IR Array Breakout MLX90640 (Qwiic), 55°
⭐ 4.6/5 · Our Rating · Solder-Free Wiring
Buy on Amazon →

If your ESP32 board has a Qwiic or STEMMA QT port (SparkFun Thing Plus, Adafruit Feather ESP32-S3, many others), this breakout is the easiest way to add a thermal array: plug in a cable and run the example. It carries the same MLX90640 but with the narrower 55° x 35° lens, which puts more pixels on objects a few metres away, such as a pet bed, a 3D printer hot end or a doorway. It reads -40 to 300°C, refreshes from 0.5 to 64 Hz and uses I2C address 0x33. SparkFun’s Arduino library and hookup guide are thorough. It’s a 3.3 V board, which suits the ESP32 perfectly but means no 5 V supply.
✅ Pros- Qwiic, no soldering
- More detail at distance
- Excellent library and guide
- Open-source hardware
❌ Cons- 3.3 V only
- Narrower view for room coverage
🎯 Verdict: The best choice for Qwiic-equipped ESP32 boards and for watching objects a few metres away.
👉 Check Price on Amazon →
🔧 Detailed Reviews: More Thermal Sensors
🧩 BEST COMPACT BREAKOUT · ⭐ 4.5/53. Pimoroni MLX90640 Thermal Camera Breakout, Wide Angle 110°
MLX90640 · 32 x 24 pixels · 110° lens · small I2C breakout · Breakout Garden style pinout
Buy Here →

Pimoroni’s breakout is one of the smallest ways to get a full MLX90640 array: a tidy board with the sensor, an I2C header and nothing else in the way, which makes it easy to fit behind a hole in a 3D printed enclosure. This Amazon listing is the wide-angle 110° version, the one to pick for room sensing or close-up PCB checks. The sensor specs match the Waveshare module (32 x 24 pixels, -40 to 300°C), and any MLX90640 library works on the ESP32. Pimoroni sells both 55° and 110° versions, so confirm the lens on the listing before you buy.
✅ Pros: Very compact; well-made; easy to mount.
❌ Cons: Two lens versions to choose from; fewer ESP32 examples than SparkFun.
🎯 Verdict: The neatest MLX90640 board for building into a compact enclosure.
⚡ BEST LIGHT LOAD · ⭐ 4.4/54. MLX90641 IR Array Thermal Imaging Camera, 16 x 12, 55°
MLX90641 · 16 x 12 pixels (192) · 55° FOV · -40 to 300°C · I2C · 3.3 V / 5 V
Buy Here →

The MLX90641 is the MLX90640’s smaller sibling: 16 x 12 pixels instead of 32 x 24. A quarter of the data means each frame needs far less RAM and computation, so an ESP32-C3 or a battery-powered node can run it comfortably at a higher frame rate. Sixteen by twelve is still plenty to tell where people are in a room, spot a hot component or trigger an alarm when something passes a threshold. The 55° lens and -40 to 300°C range match the MLX90640-D55. The listing is a generic module in the common Waveshare-style layout, so use the Melexis MLX90641 driver rather than an MLX90640 one.
✅ Pros: Light on RAM and CPU; faster frames; wide temperature range.
❌ Cons: Coarse image; fewer ready-made ESP32 examples.
🎯 Verdict: The smart pick for small ESP32 chips and low-power heat detection.
🆕 NEWEST SENSOR · ⭐ 4.3/55. WatangTech MLX90642-D45 Thermal Imaging Module
MLX90642 · 32 x 24 pixels · 45° x 35° FOV · I2C up to 1 MHz · 3.3 V / 5 V
Buy Here →

The MLX90642 is Melexis’s newer 32 x 24 sensor. Its big advantage for microcontrollers is that it does the temperature calculation on the chip, so the ESP32 reads finished temperature values instead of running the heavy MLX90640 calibration maths. That frees CPU time and RAM for networking and display. This WatangTech board uses the 45° x 35° lens, the narrowest here, for looking at objects further away. Because it’s new, there are fewer libraries and tutorials than for the MLX90640, and reviews are still limited.
✅ Pros: On-chip temperature processing; fast I2C; narrow lens for distance.
❌ Cons: New, so fewer examples; few Amazon reviews yet.
🎯 Verdict: For experienced builders who want 32 x 24 without the processing overhead.
👥 BEST FOR PRESENCE DETECTION · ⭐ 4.3/56. Teyleten Robot AMG8833 8 x 8 Thermal Imager Module
Panasonic AMG8833 Grid-EYE · 8 x 8 pixels · about 60° FOV · 0 to 80°C · I2C · 3 to 5 V
Buy Here →

The Panasonic AMG8833 Grid-EYE gives an 8 x 8 grid of temperatures at up to 10 frames per second. That’s too coarse for a picture, but it’s ideal for knowing whether someone is in a chair, at a desk or in bed, even when they’re sitting completely still, which is where PIR sensors fail. It needs almost no processing, so any ESP32 handles it easily, and ESPHome and the Adafruit library both support it. The measuring range is 0 to 80°C, so it’s for people and rooms, not hot electronics.
✅ Pros: Detects still people; tiny data load; well supported.
❌ Cons: Only 64 pixels; 80°C maximum.
🎯 Verdict: The easiest thermal sensor for camera-free occupancy sensing in Home Assistant.
🎯 BEST SINGLE-POINT SENSOR · ⭐ 4.4/57. SHILLEHTEK Pre-Soldered GY-906 MLX90614 BAA
MLX90614 BAA · one reading · 90° FOV · object -70 to 380°C · I2C (SMBus) · headers fitted
Buy Here →

Sometimes you just need one temperature without touching the object: a motor casing, a heat sink, a pan, a reptile basking spot. The MLX90614 returns the average temperature of whatever is in its 90° cone, plus its own ambient temperature, over I2C. It’s factory calibrated, so there’s no maths to do, and it reads objects from -70 to 380°C. SHILLEHTEK’s version comes with the header already soldered, so it drops straight into a breadboard next to your ESP32. Remember the wide cone: to measure a small target, get close to it.
✅ Pros: Pre-soldered; calibrated; huge range; simple code.
❌ Cons: One reading only; wide cone averages the background.
🎯 Verdict: The simplest way to add non-contact temperature to an ESP32 project.
💸 BEST BUDGET · ⭐ 4.3/58. HiLetgo GY-906 MLX90614ESF Non-Contact IR Sensor
MLX90614ESF · one reading · I2C (SMBus) · GY-906 board with regulator · headers supplied
Buy Here →

HiLetgo’s GY-906 is one of the most widely used MLX90614 boards and a good low-cost choice if you don’t mind soldering the header yourself. Functionally it matches the SHILLEHTEK board: one calibrated object reading plus ambient temperature over I2C at address 0x5A, with the Adafruit MLX90614 library working out of the box on the ESP32. GY-906 boards come with different sensor suffixes (BAA, BCC, DCI) that change the field of view, so check the listing photos if you need a narrow beam.
✅ Pros: Low cost; popular; lots of examples.
❌ Cons: Header to solder; sensor variant not always clear.
🎯 Verdict: The budget non-contact thermometer for ESP32 experiments.
➕ Also Worth Considering
🔭 BEST FOR DISTANCE · ⭐ 4.5/5
9. Waveshare MLX90640-D55 Thermal Camera
The same Waveshare board as our top pick but with the 55° x 35° lens. Waveshare lists 32 x 24 pixels, a -40 to 300°C target range, about ±2°C accuracy at 0 to 50°C ambient, 0.5 to 64 Hz refresh, I2C at 0x33 and a 3.3 V or 5 V supply drawing under 23 mA. Choose it over the D110 when the thing you’re watching is a few metres away, or when you want a 5 V-tolerant alternative to the SparkFun board.
Buy Here →🧪 GRID-EYE ALTERNATIVE · ⭐ 4.2/5
10. DORHEA AMG8833 Grid-EYE Breakout
Another AMG8833 8 x 8 breakout, listed for 3 to 5 V with an I2C interface. It does the same job as the Teyleten board, so it’s a handy second source if one listing is out of stock, or if you want to put a Grid-EYE in several rooms. Expect the same 0 to 80°C range and roughly 60° view, and use the same ESPHome or Adafruit AMG88xx code.
Buy Here →🛠️ Which Sensor for Which ESP32 Project?
| Project | Recommended Sensor | Why |
|---|
| DIY thermal camera on a TFT | Waveshare MLX90640-D110 | 768 pixels, wide view, 5 V friendly |
| Room occupancy in Home Assistant | Teyleten AMG8833 | Sees still people, minimal processing |
| 3D printer or server rack heat watch | SparkFun MLX90640 Qwiic | Narrower lens, up to 300°C |
| Battery heat alarm on an ESP32-C3 | MLX90641 module | Small frames, low RAM use |
| Motor, pan or heat sink temperature | SHILLEHTEK MLX90614 | One calibrated reading, no maths |
| Watching objects across a room | WatangTech MLX90642-D45 | Narrow lens, on-chip processing |
🛒 Which One Should You Buy?
📷
You want a real thermal image
Get the Waveshare MLX90640-D110, or the Pimoroni breakout for a compact build.
🔌
Your board has a Qwiic port
The SparkFun MLX90640 Qwiic plugs straight in.
🏠
You want presence detection
An AMG8833 board is cheap, simple and ESPHome-ready.
🎯
You need one temperature
An MLX90614 from SHILLEHTEK or HiLetgo.
❓ Frequently Asked Questions
Can a regular ESP32 handle the MLX90640?
Yes. The calibration data and a 768-value frame fit in an ESP32’s RAM, and the processing runs comfortably on its dual cores. Set the I2C clock to 400 kHz or higher and expect a few frames per second with the standard Melexis-based libraries. Boards with PSRAM help if you add interpolation and a display buffer.
Should I choose 55° or 110°?
Use 110° for covering a room from a ceiling or for close-up board inspection. Use 55° (or 45°) when the target is a few metres away, because the same 768 pixels are spread over a smaller area, so the object gets more of them.
Can a thermal sensor see through glass?
No. Ordinary glass and most clear plastics block long-wave infrared, so the sensor sees the window’s temperature, not what’s behind it. Leave an opening in your enclosure in front of the lens.
Why do shiny metal parts read too cold?
Polished metal has low emissivity and reflects the surroundings, so it reads lower than its real temperature. A piece of matte tape or a dab of matte paint on the surface gives a much more accurate reading.
Can I use these with ESPHome?
The MLX90614 and AMG8833 have ESPHome support, which makes them easy Home Assistant sensors. MLX90640-class sensors are usually run from Arduino or ESP-IDF code, or through community ESPHome components, and publish results over MQTT or a web page.
🏁 Final Verdict: Best Thermal Sensors for ESP32
The right sensor for each job:
🔌 Best Plug-and-Play: SparkFun MLX90640 Qwiic
Buy Here →🎯 Best Single-Point: SHILLEHTEK MLX90614
Buy Here →For most ESP32 makers, the Waveshare MLX90640-D110 is the thermal sensor to buy: full 32 x 24 resolution, a wide view and easy 3.3 V or 5 V wiring. Choose the SparkFun Qwiic board for solder-free setup and more detail at distance, the MLX90641 for small or battery-powered chips, an AMG8833 for camera-free presence sensing, and an MLX90614 when one temperature reading is all you need. If you want a ready-made handheld imager instead, see our thermal cameras and IR thermometers guide. For contact sensing, compare our temperature and humidity sensors and thermocouple and RTD amplifiers, and pick a screen for your heat map from our ESP32 displays guide.
💬 Building a thermal project with your ESP32? Tell us what you’re measuring in the comments below, and we’ll help you pick the right sensor and lens.
All Amazon links above use our affiliate tag (esp32tutorials-20). Purchasing through them supports esp32tutorials.com at no extra cost to you. Prices and availability change frequently, so always confirm the current price on Amazon before buying.
We are a team of experienced Embedded Software Developers with skills in developing Embedded Linux, RTOS, and IoT products from scratch to deployment with a demonstrated history of working in the embedded software industry. Contact us for your projects: admin@esp32tutorials.com