Robot Pi Shop

MLX90640-BAA Infrared Temperature Sensor Module

$40.99

Shipping calculated at checkout.

Quantity

MLX90640-BAA 32×24 Infrared Thermal Imaging Sensor Module

The MLX90640-BAA Infrared Thermal Imaging Sensor Module is a compact, non-contact temperature sensing module designed for thermal imaging, heat detection, and temperature monitoring applications.

Featuring a 32 × 24 infrared sensor array, the MLX90640 provides 768 individual temperature measurement points, allowing users to generate low-resolution thermal images and detect temperature variations across a scene.

Unlike single-point infrared temperature sensors, the MLX90640 measures temperature distribution across multiple pixels, making it suitable for thermal mapping, robotics, industrial monitoring, and embedded thermal imaging projects.

The module communicates through an I2C interface and can be integrated with Arduino-compatible boards, ESP32, Raspberry Pi, and other development platforms with sufficient processing resources.

Its compact design makes it suitable for developing custom thermal cameras, heat detection systems, and non-contact temperature monitoring devices.

Key Features

  • 32 × 24 Thermal Sensor Array: Provides 768 individual infrared temperature measurement pixels.
  • Non-Contact Temperature Detection: Measures thermal radiation without physical contact.
  • Thermal Image Generation: Enables visualization of temperature differences across a scene.
  • Wide Temperature Measurement Range: Measures object temperatures from -40°C to +300°C under specified conditions.
  • I2C Digital Interface: Communicates with compatible microcontrollers and development boards.
  • Compact Module Design: Suitable for embedded thermal monitoring systems.
  • Multiple Temperature Readings: Captures a complete temperature array rather than a single measurement point.
  • Thermal Mapping: Supports temperature visualization using software interpolation and color mapping.
  • Configurable Refresh Rate: Supports selectable measurement refresh rates.
  • Wide Application Range: Suitable for robotics, industrial monitoring, automation, and educational projects.
  • Low-Power Sensor Technology: Designed for embedded infrared temperature sensing applications.

Technical Specifications

Parameter Specification
Product Model MLX90640-BAA
Sensor Type Infrared Thermal Imaging Array
Sensor Technology Far Infrared Thermopile Array
Thermal Resolution 32 × 24 Pixels
Total Temperature Pixels 768
Temperature Measurement Method Non-Contact
Object Temperature Range -40°C to +300°C
Operating Temperature Range -40°C to +85°C (Sensor Specification)
Typical Accuracy ±2°C under specified conditions
Temperature Resolution 0.1°C
Sensor Supply Voltage 3.3V Nominal
Module Supply Voltage 3–5V DC (Supplier Listed)
Communication Interface I2C
Default I2C Address 0x33
Maximum Refresh Rate 64Hz (Sensor Capability)
Supplier-Listed Frame Rate 10Hz
Field of View 110° × 75° (BAA Variant)
Output Type Digital Temperature Array
Thermal Image Processing External Microcontroller or Computer
Integrated Display No
Integrated Camera Infrared Temperature Array Only

Note: The sensor's maximum supported refresh rate and the module's practical operating frame rate may differ depending on the I2C bus speed, controller, and software configuration.

Pin Configuration

The MLX90640 module communicates through I2C.

Pin Function
VCC / VIN Power Supply Input
GND Ground
SDA I2C Data
SCL I2C Clock

Note: Additional breakout pins may be present depending on the module version. Refer to the actual PCB markings before wiring.

ESP32 Connection Example

The MLX90640 can be connected to an ESP32 for thermal imaging and temperature monitoring projects.

MLX90640 ESP32
VCC 3.3V (If Supported by Module)
GND GND
SDA GPIO21
SCL GPIO22

The ESP32 can read the thermal array using a compatible MLX90640 library and process the temperature data for display, monitoring, or wireless transmission.

Raspberry Pi Connection Example

MLX90640 Raspberry Pi
VCC 3.3V (If Supported by Module)
GND GND
SDA GPIO2 / Pin 3
SCL GPIO3 / Pin 5

The Raspberry Pi can process thermal data using Python and compatible MLX90640 libraries.

Thermal visualization can be implemented using Python libraries such as NumPy and Matplotlib.

Arduino Compatibility

The MLX90640 can be used with compatible Arduino development boards that provide sufficient RAM, processing capability, and I2C communication support.

Boards with limited memory, such as the Arduino Uno R3, are generally not suitable for processing full MLX90640 thermal frames without significant limitations.

More capable development boards are recommended for thermal image processing.

How Thermal Imaging Works

The MLX90640 contains 768 infrared sensing elements arranged in a 32 × 24 grid.

Each sensing element measures infrared radiation from a portion of the observed scene.

The resulting temperature values can be processed by a microcontroller or computer to generate a thermal image.

Software can assign different colors to temperature ranges, allowing users to visualize:

  • Hot and cold regions
  • Temperature gradients
  • Heat distribution
  • Moving heat sources
  • Thermal changes over time

Image interpolation can improve visual smoothness but does not increase the sensor's actual 32 × 24 measurement resolution.

Applications

  • DIY thermal imaging cameras
  • Infrared temperature mapping
  • Industrial equipment temperature monitoring
  • Robotics and automation
  • Heat source detection
  • Electronics thermal analysis
  • Motor and machinery temperature monitoring
  • Smart building monitoring
  • HVAC thermal experiments
  • Embedded thermal imaging systems
  • Thermal data logging
  • Raspberry Pi thermal camera projects
  • ESP32 thermal monitoring systems
  • Educational infrared sensing projects
  • Research and development

Important Notes

  • The MLX90640 is a low-resolution thermal imaging sensor, not a conventional optical camera.
  • The sensor provides a 32 × 24 temperature array.
  • The BAA variant has a nominal 110° × 75° field of view.
  • Temperature measurement accuracy depends on emissivity, ambient conditions, target distance, and calibration.
  • Reflective surfaces may produce inaccurate readings.
  • The sensor measures infrared radiation and does not capture visible-light images.
  • The MLX90640 requires an external controller for data processing and thermal image visualization.
  • A display is not included with the sensor module.
  • The module's 3–5V input specification should not be confused with the bare sensor's 3.3V supply requirement.
  • Verify the module's voltage regulation and I2C pull-up circuitry before connecting it to 5V controllers.
  • ESP32 and Raspberry Pi GPIO pins are not 5V tolerant.
  • Thermal image refresh performance depends on the controller, I2C configuration, and software implementation.
  • The sensor is not intended for certified medical temperature measurement.
  • The module is not waterproof.
  • Avoid mechanical stress, contamination, or damage to the infrared sensing element.
  • Do not exceed the manufacturer's electrical operating limits.

Package Includes

  • 1 × MLX90640-BAA 32 × 24 Infrared Thermal Imaging Sensor Module