In this tutorial series, Shawn builds an artificial intelligence on the edge (Edge AI) project from beginning to end by collecting data, performing feature extraction, training several machine learning models, and deploying to an edge device (single board computer, microcontroller). Such an anomaly detection system could be useful for predicting faults in equipment as part of an Industrial Internet of Things (IIoT) ecosystem.
In the first part, we create an Arduino sketch for an ESP32 to collect raw data from a 3-axis accelerometer and pipe that data to a custom Python server. The server saves each 200-point sample as a separate file.
Code and example dataset for this video series can be found here: github.com/Sha...
Anomaly detection is an important area of focus in engineering, as it can be used to save lives and save potentially millions of dollars in costly repairs of machines, industrial equipment, robots, and so on. It also sees wide use in fraud prevention and network traffic analysis. For this series, we want to focus on using anomaly detection to predict problems in machinery before they occur.
An important step in any machine learning project is data collection. We need to collect a lot of data to train models. You can find pre-made datasets (such as the NASA PCoE datasets: ti.arc.nasa.go..., but nothing beats collecting your own if you wish to make a model that best represents your system.
In the video, we specifically look at using the ESP32 as an Internet of Things (IoT) node to perform data collection for us. Data is sent to a custom server running on our computer. Note that this is all accomplished on a local network but could be expanded to run on the Internet. The server collects and sorts the files for use in training on the next episode.
Before starting, we recommend you watch the following videos:
What is Edge AI - • Intro to Edge AI: Mach...
Getting Started with Machine Learning Using TensorFlow and Keras - • Getting Started with T...
Project Link: www.digikey.co...
Product Links:
Adafruit Feather Huzzah32 - www.digikey.co...
Adafruit MSA301 Triple Axis Accelerometer - www.digikey.co...
Related Videos:
Edge AI Anomaly Detection Part 2: Feature Extraction and Model Training - • Edge AI Anomaly Detect...
• Shawn Hymel presents
Related Project Links:
Edge AI Anomaly Detection Part 1: Data Collection - www.digikey.co...
Related Articles:
What is Edge AI?
www.digikey.co...
Getting Started with Machine Learning Using TensorFlow and Keras
www.digikey.co...
TensorFlow Lite Tutorial Part 1: Wake Word Feature Extraction
www.digikey.co...
TensorFlow Lite Tutorial Part 2: Speech Recognition Model Training
www.digikey.co...
TensorFlow Lite Tutorial Part 3: Speech Recognition on Raspberry Pi
www.digikey.co...
Low-Cost Data Acquisition (DAQ) with Arduino and Binho for ML
www.digikey.co...
Intro to TinyML Part 1: Training a Model for Arduino in TensorFlow
www.digikey.co...
Intro to TinyML Part 2: Deploying a TensorFlow Lite Model to Arduino
www.digikey.co...
5 окт 2024