Arduino Nano RPI2040 Connect
Arduino Nano RPI2040 Connect Pins
Create Edge Impulse Project
Create Edge Impulse Project Dashboard
Edge Impulse Project Device Connection
Edge Impulse Project Device Connected
Devices
tab, you will see your device is now connected.
Edge Impulse Project Collect Data
Data aquisition
tab and select the RPI2040.
Edge Impulse Project Collect Normal Data
normal
data. This data will represent when a machine is running normally with no abnormal vibrations. Select the Intertial
sensor and use Normal
as the label. Next record about 3 minutes data, collected in 10 second samples from the device.
Edge Impulse Project Collect Vibrations Data
Vibrations
data. Change the label to Vibrations
and record 3 minutes more of samples, but this time shake the Arduino around while the samples are being recorded.
Edge Impulse Project Collected Data
Edge Impulse Project Collected Data Split
Danger Zone
at the bottom. Click on the Perform train/test split
button to split the data.
Edge Impulse Project Collected Data Split
Data aquisition
tab, you will now see that the data has been split.
Edge Impulse Project Create Impulse
Create Impulse
tab and you should see the configuration for your Nano RPI2040. You can accept the defaults here.
Edge Impulse Project Create Spectral Analysis Impulse
Spectral Analysis
Processing block. Spectral Analysis is ideal for examining repetitive movements, particularly using accelerometer data. This tool breaks down signals to reveal their frequency and power patterns over time.
Click Add
to add the Spectral Analysis Processing block to your Impulse.
Edge Impulse Project Create Spectral Analysis Classification Impulse
Classification
to classify between Normal
and Vibrations
. Click Add
to add the Classification block to your Impulse.
Next click Save Impulse
.
Edge Impulse Project Spectral Analysis Classification Features
Spectral Features
tab and click on Autotune parameters
. An autotune job will start and you will see the output on the right hand side of the UI.
Edge Impulse Project Spectral Analysis Classification Features
Save parameters
. You will be redirected to the Generate features
tab.
Edge Impulse Project Spectral Analysis Classification Features
Edge Impulse Project Spectral Analysis Classification Training
Classifier
tab, leave the default settings intact, and click on Save and train
.
A training job will start, and once completed you will see the results on the right hand side of the UI.
Edge Impulse Project Spectral Analysis Classification Testing
Model testing
tab, you will be able to use your newly trained model on the Test data that was set aside. The Test data was not shown to the model during training, so this will help to evaluate how well the model performs on unseen data.
The testing process will start and you will see the results once complete.
Edge Impulse Project First Experiment
Experiments
tab, you will see that you now have your first Experiment listed.
Edge Impulse Project Deployment
Deployment
tab and search for Arduino, then follow the steps provided to you to deploy the model to your device.
As this tutorial is specifically related to Experiments, we will continue straight to EON Tuner and creating our next Experiment.
Edge Impulse Project EON Tuner
Edge Impulse Project EON Tuner
Experiments
tab, select EON Tuner
. For the Search space configuration
select Classification
in the Usecase templates
drop down, then click Start tuning
to run.
At this point, it is time to grab a coffee and put your feet up, as this will take some time to complete.
Edge Impulse Project EON Tuner
Add
button for that configuration.
Edge Impulse Project EON Tuner
Edge Impulse Project Experiment 2
Experiments
tab you will now see your new model waiting for you to test or deploy.