Skip to content

Love4yzp/Seeed-mmWave-library

Repository files navigation

Seeed Arduino mmWave Library For XIAO

Introduction

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.

Supported Seeed Studio Devices

Device Functionality
MR60BHA2 60GHz mmWave Sensor Breathing and Heartbeat Module
MR60FDA2 60GHz mmWave Sensor Fall Detection Module

Installation

  1. Download the library from GitHub or the Arduin Library Manager.
  2. Open the Arduino IDE.
  3. Go to Sketch > Include Library > Add .ZIP Library... and select the downloaded file.

Usage

To begin using the library, include it in your Arduino sketch and refer to the examples folder.

#include "Seeed_Arduino_mmWave.h"

Examples

  • 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.

API Reference

Please refer to the comments in the source code for detailed information on the available methods and parameters.

License

This library is released under the MIT License.

Contributing

Contributions to the library are welcome. Please follow the standard pull request process to suggest improvements or add new features.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published