This Library is designed to interface with the Seeed Studio XIAO Board on the MR60BHA2 and MR60FDA2 60GHz mmWave sensors. This library enables easy data reading and additional operations for functionalities such as breathing and heartbeat monitoring, and fall detection.
Device | Functionality |
---|---|
MR60BHA2 60GHz mmWave Sensor | Breathing and Heartbeat Module |
MR60FDA2 60GHz mmWave Sensor | Fall Detection Module |
- Download the library from GitHub or the Arduin Library Manager.
- Open the Arduino IDE.
- Go to
Sketch
>Include Library
>Add .ZIP Library...
and select the downloaded file.
To begin using the library, include it in your Arduino sketch and refer to the examples folder.
#include "Seeed_Arduino_mmWave.h"
-
GroveU8x8: Demonstrates how to utilize Grove GPIO pins to interface with the Grove - OLED Display 0.96" using the U8x8 library. This example shows basic text display functions.
-
LightRGB: Provides an example of controlling an RGB LED.
-
mmWaveBreath: Demonstrates how to use the MR60BHA2 sensor for monitoring breathing and heartbeat. It covers initializing the sensor, fetching data, and displaying breathing rate, heart rate, and phase information.
-
mmWaveFall: Illustrates how to use the MR60FDA2 sensor for fall detection. This example includes initializing the sensor and processing fall detection data to trigger alerts.
-
ReadByte: A basic example that reads bytes of data from a sensor or serial input and displays the raw data. Useful for debugging and understanding data formats.
-
ReadLuxValue: Shows how to read lux (light intensity) values from the onboard light sensor. It demonstrates sensor initialization, reading, and printing lux values.
Please refer to the comments in the source code for detailed information on the available methods and parameters.
This library is released under the MIT License.
Contributions to the library are welcome. Please follow the standard pull request process to suggest improvements or add new features.