Skip to content

sensiml/ml-pic-iot-imu-sensiml-data-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://www.microchip.com/

PIC24FJ128GA705 PIC-IoT WG development board

Repository Overview

This repository contains firmware for streaming up to 6-axes IMU data over UART from the PIC24FJ128GA705 PIC-IoT WG development board with Mikroe IMU2 Click board, streaming using one of several formats as described in the sections below.

This project is a port of the SAMD21 ML Eval Kit data logger maintained on github; please see that repository for more detail and instructions. Below are a summary of the functional differences between the 2 projects:

Hardware Used

Software Used

Related Documentation

Firmware Operation

The data streamer firmware will output sensor data over the UART port with the following UART settings:

  • Baudrate 115200
  • Data bits 8
  • Stop bits 1
  • Parity None

Firmware Configuration

Sensor Selection

Sensor Type MPLAB X Project Configuration Selection
Bosch BMI160 IMU DSPIC33CK_CURIOSITY_BMI160
TDK ICM42688 IMU DSPIC33CK_CURIOSITY_ICM42688

Streaming Format Selection

To select the data streaming format, set the DATA_STREAMER_FORMAT macro in app_config.h to the appropriate value as explained in the table below.

Streaming Format app_config.h Configuration Value
ASCII text #define DATA_STREAMER_FORMAT DATA_STREAMER_FORMAT_ASCII
MPLAB Data Visualizer stream #define DATA_STREAMER_FORMAT DATA_STREAMER_FORMAT_MDV
SensiML Simple Stream #define DATA_STREAMER_FORMAT DATA_STREAMER_FORMAT_SMLSS

Sensor Configuration Parameters

High level sensor parameters like sample rate and axes selection can be configured by modifying the macro values defined in firmware/src/app_config.h. See the inline comments for further description.

About

Data logger for PIC24FJ128GA705 PIC-IoT WG development board

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published