tjvantoll / mlops-zephyr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zephyr MLOps Sample

This repository contains a Zephyr application that uses the Notecard, Swan, and an LIS3DH acceleromter to stream acceleromter data to Edge Impulse through a proxy route.

Hardware

This project’s firmware expects to run on a Blues Swan, connected to a Notecarrier-F that also has a connected Notecard and LIS3DH acceleromter.

The necessary hardware setup

You can get all the necessary hardware by purchasing a Blues Starter Kit, and LIS3DH. Once you have the hardware, refer to the Blues quickstart for details on how to connect everything.

Running

This repository is built on top of the Notecard’s Zephyr SDK, and you can refer to its documentation for details on how to set up, build, and clone this project.

Once you have everything set up, find and uncomment the line in main.c that defines the project’s PRODUCT_UID, and replace its value with your appropriate Notehub ProductUID.

#define PRODUCT_UID "your value here"

Finally, you’ll need to ensure your Notehub route has a proxy route configured named “ingest” (or change the name of the "route" in main.c). This project will stream acceleromter readings from the LIS3DH to this route.

See the Accelerometer Data Ingest for an example implementation of a server that can accept these readings and send them to Edge Impulse.

About

License:MIT License


Languages

Language:C 61.0%Language:Dockerfile 24.1%Language:CMake 14.9%