Usage
This library provides capabilities for the Portenta and MKR boards to interact with the Nicla Sense ME and poll the BHI260AP and BME688 sensors. This library is included on sketches from the host board (not the Nicla Sense ME board).
Features
- Easy access to data from Nicla Sense ME sensors from the Portenta and MKR boards
- Wrapper for Bosch BHY2-Sensor-API
- Bridge for data to the Arduino IoT Cloud
- All functionality available over both I2C/ESLOV and BLE
Usage
The ArduinoBLE library needs to be installed, for the BLE features to function.
To use this library, use this code at the top of your sketch
#include <Arduino_BHY2host.h>
A UML diagram of the main library classes is provided in the diagram below, provided as an editable SVG file.
Examples
- Accelerometer : Read accelerometer data from a Nicla Sense ME connected to a host board, and print to the Serial monitor
- BSEC : Read BSEC data from a Nicla Sense ME connected to a host board, and print to the Serial monitor
- Nicla_IoT_Bridge : Obtain temperature data from a Nicla Sense ME board and send data to the Arduino IoT Cloud
- Orientation : Read orientation data from a Nicla Sense ME connected to a host board, and print to the Serial monitor
- Passthrough : Control the Nicla Sense ME over Serial commands, via a host board using the arduino-bhy tool
- Portenta_BLE_Bridge : Obtain temperature data from a Nicla Sense ME board over BLE and send data to the Arduino IoT Cloud via the Portenta H7
- Portenta_BLE_Bridge : Obtain temperature data from a Nicla Sense ME board over BLE and send data to the Arduino IoT Cloud via the Portenta H7
- Temperature : Obtain temperature data from a Nicla Sense ME board and send it over Serial
License
See LICENSE.txt