Inside AI
← Discover
Device profile / Experimental/DIY Hardware

SparkFun Pulsed Coherent Radar Sensor – Acconeer XM125 (SEN-24540)

Build a camera-free presence and distance experiment, then decide whether a programmable radar sensor is worth the firmware and licensing work. Start with SparkFun's serial example; no Inside AI hardware testing has been done.

Specifications

Manufacturer specifications
Radar and processorAcconeer XM125 module: A121 60 GHz pulsed coherent radar and STM32L431CBY6 Cortex-M4 at 80 MHz, 128 kB flash, 68 kB RAM. [1]
InterfacesTwo Qwiic I2C connectors, 3.3 V logic, default I2C address 0x52; USB-C through CH340C serial bridge. [1]
Factory firmwareI2C presence detector. Distance detector and Exploration Tool server require a firmware change. [1]
Quoted hardwareSEN-24540 US$49.95; official store displayed in stock on 19 Nov 2026. Complete example with RedBoard and two cables: US$87.71 before exclusions. [2]

Is this for me?

For Arduino makers who want a camera-free sensor they can tune for presence or distance, then connect to a controller. Unlike a packaged occupancy alarm, this board exposes detector settings and alternate firmware paths. It suits a bench experiment before an enclosure or battery design. It is not a safety or medical sensor. SparkFun guide

What you can do with it

Run SparkFun's Example01PresenceBasicReadings with the factory-loaded I2C presence firmware. Move a hand toward and away from the board, and watch presence distance in millimetres on the 115200-baud serial monitor. A changing reading is the first observable result; a silent monitor calls for a port, cable, firmware and I2C connection check. The later enclosure experiment is proposed, not tested. Build guide · Official example

What the complete setup costs

US SparkFun single-unit prices checked 19 Nov 2026: XM125 SEN-24540 US$49.95 (store listed in stock), IoT RedBoard ESP32 WRL-19177 US$29.31, 100 mm Qwiic cable PRT-17259 US$1.95 and USB-A-to-C data cable CAB-15425 US$6.50. The first-year example is $49.95 + $29.31 + $1.95 + $6.50 + 12 × $0 subscription + $0 local API = US$87.71, provided a suitable computer and USB port are already owned. SparkFun's RedBoard price is promotional and may change; check checkout and availability for each part. If you already have a compatible 3.3 V Qwiic host and data cable, the incremental purchase can be $51.90. The stand-alone radar board is not a full Arduino setup. An optional battery, enclosure or cloud service adds its own quoted cost. Tax, shipping, electricity and labour are excluded. Radar · RedBoard · Qwiic cable · USB cable

How to start — and what you need to learn

Bring a computer with Arduino IDE, the ESP32 board package, SparkFun's XM125 Arduino library and the listed Qwiic/USB cables. Connect the radar to the RedBoard with the polarized Qwiic cable; do not use 5 V logic on the 3.3 V I/O. Upload Example01, select the board and port, and open serial at 115200. The default firmware supports this presence example; the distance examples require flashing a different image. Firmware downloads through Acconeer require an account and acceptance of its software terms. This is an intermediate embedded build, with installation and firmware state as the main friction; no setup time has been measured. Hookup and example

When another product is a better choice

Choose MR60BHA2 for a lower-cost assembled kit that already reports sleep-oriented breathing and heart-rate estimates through its included XIAO. Choose XM125 for adjustable presence/distance detectors and a route to Acconeer's Exploration Tool. These are different outputs and workflows, not a measured accuracy ranking. Acconeer's terms restrict disclosure of performance benchmarks of its licensed materials, so review the terms before publishing comparative measurements. XM125 software terms

What we know — and what still needs testing

SparkFun documents the factory presence firmware, I2C examples, alternate distance firmware and physical interfaces. Its up-to-20 m figure is conditional on target, material and lens; it is not a demonstrated human range for this build. Inside AI has not handled the board, verified current firmware, measured detection behaviour, or checked enclosure materials. The proposed experiment asks whether the same hand motion is still reported behind an enclosure and whether settings produce usable readings without false triggers; publication of benchmark results needs a licensing review. Guide · Proposed experiment

Architecture

A121 60 GHz pulsed coherent radar in the XM125 module emits pulses and receives echoes. The module's STM32L431 MCU runs the loaded detector firmware and turns radar data into presence or distance results. For the first build, I2C carries processed readings through the Qwiic cable to the ESP32 RedBoard, which prints them over USB to the computer. Configuration and firmware flashing are separate paths; the sensor cannot simultaneously run the factory presence image and the alternative distance image. The optional Exploration Tool uses the board's CH340C USB-to-serial bridge and a different server firmware. This is a documented functional path, not a PCB trace or measured latency. Hardware and examples

Documented capabilities

SparkFun supplies I2C presence examples with basic distance readings, GPIO output, serial plotting and adjustable detection ranges. Separate distance firmware has peak-distance and threshold examples. The XM125 module contains the A121 radar and an STM32L431 MCU; the breakout adds Qwiic connectors, USB-C, power regulation and a CH340C serial bridge. SparkFun quotes up to 20 m for suitable objects and lens conditions, while its guide says lens-free human presence can reach up to 7 m. Treat both as vendor examples, not this build's proven reach. Hardware and examples

SDKs, APIs & extensibility

The MIT-licensed SparkFun Arduino library reads and configures results from the presence or distance I2C firmware; it does not make Acconeer detector firmware open source. SparkFun documents a firmware-flashing path and Acconeer's Python Exploration Tool. Downloading Acconeer firmware requires an account and acceptance of its Limited License Agreement; that agreement restricts use of licensed materials and disclosure of their performance benchmarks. Confirm the terms for a commercial product or public performance study. A custom on-module model is not part of the documented starter and remains unverified. Arduino library · MIT license · Acconeer terms

Limitations

A material between target and radar can alter reflections; 'through-wall' examples are conditional, not a promise that an enclosure will work. Range changes with object size, shape, dielectric properties and lens. The first serial example emits processed distances rather than a person identity or image. Swapping to the distance or Exploration Tool firmware changes the running application and adds setup work. The radar uses 3.3 V logic, and local radio-frequency rules may apply. The complete breakout-board power draw and battery runtime were not measured here. Integration notes

Privacy & data flow

The proposed first build processes echoes in the radar module and prints processed presence distance on a local computer; no camera or cloud account is needed for that route. A saved serial log can still reveal occupancy. Acconeer's optional firmware-download route requires an account, and a networked controller or cloud app would create a separate data path. No traffic or retention audit has been performed. I2C example

Primary sources

SparkFun SEN-24540 listing SparkFun XM125 hookup and example guide SparkFun XM125 Arduino library SparkFun XM125 Arduino library license Acconeer XM125 software terms SparkFun IoT RedBoard ESP32 listing SparkFun 100 mm Qwiic cable listing SparkFun USB-A-to-C data cable listing SparkFun XM125 official media