Skip to content

MicroAI™ is an AI engine that can operate on low power edge and endpoint devices. It can learn the pattern of any and all time series data and can be used to detect anomalies or abnormalities, make one step ahead predictions/forecasts, and calculate the remaining life of entities (whether it is industrial machinery, small devices or the like).

Notifications You must be signed in to change notification settings

MicroAIInc/MicroAI-Atom-RaspberryPi3

Repository files navigation

LinkedIn


Logo

MicroAI Atom for the Raspberry Pi

Access the Table of Contents below to browse through instructions, information about our MicroAI libraries, and more. We hope you enjoy our product launch and are excited to see what you and your teams can create!

Table of Contents

About The Project

Product Name Screen Shot

MicroAi Atom for Raspberry Pi is an MPU based AI that specializes in anomaly detection and one step ahead predictions. It takes in time series data as its input and produces acceptable upper and lower bounds for the next input as its output.

Built With

Getting Started

Before we begin with MicroAI Atom, we must first make some changes to your raspberry pi to ensure everything runs as intended.

  1. Expand space on the pi
    • From a terminal sudo raspi-config
    • select 7 Advanced Options
    • select A1 Expanding Spce
    • sudo reboot
  2. Enable Wi-Fi
    • From a terminal sudo raspi-config
    • select 2 Network Options
    • select N2 Wi-Fi
    • Enter your Wi-Fi's SSID and password
    • sudo reboot
  3. Enable SSH (Not Necessary if you prefer to work directly on the Pi)
    • From a terminal sudo raspi-config
    • select 5 Interfacing Options
    • select P2 SSH

Prerequisites

You will need to run the following commands so that you have the required dependencies for the project.

sudo apt-get update
sudo apt-get updgrade
sudo apt-get install python3-pip
sudo apt-get install sense-hat
sudo apt-get install redis-server
sudo reboot
pip3 install redis
pip3 install -Iv bottle=0.12.17
pip3 install -Iv tqdm==4.32.1

It should be noted that bottle and tqdm are only required for the security project.

Installation

  1. Clone the repo
git clone https://github.com/ONE-Tech-Inc/MicroAI-Atom-RaspberryPi3.git

Usage

Security

The Security Project monitors numerous computational performance metrics of the host device. The specific channels used are kept secret for now. With this project being a part of the EVK, we have limited the number of channels to 6, but in typical use cases, we monitor many more internal channels. To demonstrate the Security Use Case, do the following:

  1. Ensure your device is in normal operation (all services and programs that are ran in standard operation are activated)
  2. Train MicroAI on your devices normal operation
  3. Utilize the Attack tool to attack the device

MicroAI should detect the attacks as abnormal behavior, and your application layer (Y-Code) can trigger any user defined reaction

Click on the image below to view a video tutorial for the project

Alt text

For more details, please refer to the project guide PDFs

APM

The APM project monitors the movement and measurement of accelerometers and gyroscopes. It learns the normal behavior and motion of the sensors, and when that pattern is broken, it triggers an alert defined on the application layer. To demonstrate the APM Use Case, do the following:

  1. Create a simple movement pattern for the sensors to track and train the device on this pattern (To ensure precision, we use a robot to define the movement in the example video, but this process can be done by hand)
  2. Train MicroAI Atom on this pattern
  3. Execute the MicroAI engine
  4. Continue moving in the pattern. Break pattern to trigger an alert

Click on the image below to view a video tutorial for the project

Alt text

For more details, please refer to the project guide PDFs

Roadmap

See the open issues for a list of proposed features (and known issues).

License

See Software Evaluation Licensing Agreement for more information.

Contact

Company: MicroAI

Website: www.micro.ai

Email: support@micro.ai

About

MicroAI™ is an AI engine that can operate on low power edge and endpoint devices. It can learn the pattern of any and all time series data and can be used to detect anomalies or abnormalities, make one step ahead predictions/forecasts, and calculate the remaining life of entities (whether it is industrial machinery, small devices or the like).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages