sensiml / samd21-iot-imu-data-logger

Data logger firmware for the SAMD21 ML Kit (SAM-IoT-WG + MikroE IMU2/IMU14 Click Board)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAMD21-IoT w/ IMU (SAMD21 ML Kit)

Overview

This repository contains the firmware for streaming 6-axis IMU data over UART to MPLAB Data Visualizer from the SAMD21 Machine Learning Kit with the Bosch BMI160 IMU (Mikroe IMU2 click board) or with the TDK ICM42688 IMU (Mikroe IMU14 click board).

Firmware Configurations

The included project has 2 possible firmware 'modes' as well as the possible selection of the IMU2 or IMU14 sensors, amounting to 4 possible firmware configurations. The table below summarizes how to select each of these configurations.

Firmware Build Description MPLAB X Project Configuration Selection app_config.h Configuration Values
Data logger - MPLAB DV format - Bosch IMU2 sensor SNSR_TYPE_BMI160 #define DATA_VISUALIZER_BUILD true #define DATA_LOGGER_BUILD false
Data logger - ASCII format - Bosch IMU2 sensor SNSR_TYPE_BMI160 #define DATA_VISUALIZER_BUILD false #define DATA_LOGGER_BUILD true
Data logger - MPLAB DV format - TDK IMU14 sensor SNSR_TYPE_ICM42688 #define DATA_VISUALIZER_BUILD true #define DATA_LOGGER_BUILD false
Data logger - ASCII format - TDK IMU14 sensor SNSR_TYPE_ICM42688 #define DATA_VISUALIZER_BUILD false #define DATA_LOGGER_BUILD true

About

Data logger firmware for the SAMD21 ML Kit (SAM-IoT-WG + MikroE IMU2/IMU14 Click Board)


Languages

Language:C 98.0%Language:C++ 1.8%Language:Makefile 0.1%Language:Objective-C 0.1%