Inside AI
← Build & Hack
Proposed build / Experimental/DIY Hardware

Read the first thermal grid before building a detector

Use M5Stack’s Arduino example to print live temperature statistics from U149.

Device profile · M5Stack Unit Thermal2 (U149) ↗
Start with the documented setup

This is a proposed workflow. Follow the linked official setup, then use the checks below to decide whether it works on your hardware.

M5Stack Unit Thermal2 module in its white enclosure with a round dark sensor window and red Grove port.
Official U149 store image. Exterior view identifies the model; it does not establish hidden chip locations. Copyright M5Stack; separate reuse terms unverified. Hardware reference for this proposed build; not a result from our test. M5Stack ↗

Set up the exact kit

USD at M5Stack international shop, checked 16 Nov 2026: exact Unit Thermal2 U149 $69.90 and exact CoreS3 K128 host $59.90. The unit includes its 20 cm Grove cable; it has its own thermal sensor and buzzer. First-year starter using an existing programming computer = $69.90 + $59.90 + a $5–15 editorial allowance for a suitable USB-C data cable/power + $0 required local subscription = $134.80–144.80. If a compatible 5 V host, USB cable/power and computer are already owned, incremental hardware is $69.90. A new computer or different host is unquoted and cannot be counted as zero. U149 quote · K128 quote

Optional learned-model training on an existing computer can use local software, but model/tool compatibility and its compute expense are unverified. Optional cloud APIs or hosted logging may add usage fees; no plan or trial is assumed. Excludes tax, shipping, electricity and labor. Stock shown by the official store is a point-in-time indicator, not a delivery guarantee.

Arduino/C++ and I²C basics. Install M5Stack board support and the official M5Unit-Thermal2 library. Connect the included Grove cable to a documented I²C/5 V port, upload the library example, open Serial and verify changing temperature values. Use the sketch’s actual SDA/SCL pins for CoreS3. The library calls Wire.begin(..., 400000) and thermal2.begin() with default 0x32. Library example

There is a documentation conflict: the current reference/library say default I²C 0x32, while the official store lists 0x33. Scan the attached unit or inspect the exact firmware/protocol before assuming an address. The library also exposes button, LED and buzzer calls. Sampling, calibration, mounting and host-side model conversion are later learning work; no hands-on setup time is claimed.

Get an observable result

Run the official M5Unit-Thermal2 example on a compatible host. Watch center, average, highest and lowest temperatures in Serial while moving a safe warm object through the field of view. Confirm values change; if they do not, check 5 V, SDA/SCL and the actual I²C address. Press the module button to test the example’s LED/buzzer path. No physical trial has been performed by Inside AI.

Proposed extension

Log a heat-zone event only after several consistent frames and add a manual correction. Compare with a simple temperature threshold before training any classifier. Test protocol

Primary sources

Unit Thermal2 U149 reference Unit Thermal2 official store M5Unit-Thermal2 library CoreS3 K128 official store