Skip to content

dovantuan02/ak-tinyML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AK TinyML — Anomaly Detection on MCU

TinyML-based anomaly detection system running on the AK Embedded Base Kit (STM32L151 + ICM-20948 IMU).

3-axis accelerometer data is collected at 58 Hz, processed through a DSP pipeline (Butterworth lowpass, FFT, PSD), and classified by a small fully-connected neural network to detect 4 motion states: idle, left-right, up-down, and vigorous shaking (maritine).

The entire pipeline from sensor sampling to feature extraction to neural inference and runs on the Cortex-M3 using CMSIS-DSP, with no cloud or external compute required.

Anomal Detection documentation: application/sources/app/nn/docs/Readme.md

Project Structure

Path Description
Trainning Colab notebook, dataset, scaler computation script
AI Pipeline On device inference engine (C/C++ + CMSIS-DSP)
Model Model weights
Sensor ICM-20948 handle

Hardware

  • MCU: STM32L151 (ARM Cortex-M3)
  • IMU: ICM-20948 (9-DoF, I2C)

Reference

Topic Link
Tutorials https://epcb.vn/blogs/ak-embedded-software
Vendor https://epcb.vn/products/ak-embedded-base-kit-lap-trinh-nhung-vi-dieu-khien-mcu

About

Learn Machine Learning on Embedded Device

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors