Note: All Edge Impulse users (Community, Professional, and Enterprise) can extract heart rate and HRV features using this block for testing purposes. However, the Deployment option is only available for Enterprise users.
Note: Remember to disconnect the AC from the laptop before sampling.Upload the Data Forwarding acquisition script to the Arduino Portenta using the Arduino IDE. Check that the values being obtained are stable in the Serial Monitor (Center value of about ~500 with spikes between +300/-200)
Note: Even with all these precautions, the AD8232 module could still produce a noisy signal. For a real deployment it is recommended to use professional equipment like the Elemyo EMG/ECG module MYO v1.5. For this Public Project synthetic data was used.Close the Serial Monitor and run
edge-impulse-data-forwarder
.
Select the Edge Impulse project and check that the frequency shows [SER] Detected data frequency: 50Hz
.
Go to https://studio.edgeimpulse.com/studio/Your-Project-ID/acquisition/training
Select Length 120.000 ms and take around 10 to 20 samples for each category to classify. For example, regular working versus stressed. Set aside 10% of the samples for testing.
.zip
file.zip
file as a library in the Arduino IDE (Skectch, Include Library, Add Zip library)
Note: If Arduino Portenta shows Exit status 74
, double click “Reset”, and select the correct port.