Note
I would appreciate your feedback via Issues
Caution
Versions starting from 1.0.0 contain breaking changes compared to versions 0.5.1
Check the update documentation here
An Arduino library for the mmWave Sensor on S3KM1110 chip.
Is a human micro-motion sensor that can detect and recognize moving, standing, and stationary human body.
The code in this library is based heavily off this LD2410, Waveshare documentations.
This library allows you to configure and use the sensor over serial connection.
The Sensor communicates over serial at 115200 baud by default.
The modules also provide an 'active high' output on the 'OUT' pin which can be used to signal presence, based off the settings configured. Once the modules are configured it is not necessary to use their UART, but it provides much more information.
The module must be powered by 3V3 (3.0~3.6V Wide-range Voltage)
If you have the breakout board, you can use the VCC, GND, TX and RX pins to work with the module.
The S3KM1110 has a number of 'gates', each of which correspond to a distance of about 0.70m and many of the settings/measurements are calculated from this.
-
Create radar:
s3km1110 radar -
Start radar in
setup()with help ofbeginmethod:radar.begin(Serial2, Serial)
First parameter required is radar Serial
Second parameter optional is debug Serial -
Call radar's
readmethon inloop():radar.read() -
If
readis success, then get radar info with following variables:
radar.isTargetDetected– Check is radar detect somethingradar.distanceToTarget– Get distance to target
For a detailed example, check out full example file
- Work with registers
- Work with factory test mode
- Read data in Debug mode
- Read data in Running mode
This library is an independent project and is not affiliated with, endorsed by, or connected to Arduino®.

