You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: novel-sensor-projects/ecg-hrv-block-arduino-portenta.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,9 +62,9 @@ The ECG signal can also be combined with data from an accelerometer for enhanced
62
62
63
63
The pads should be connected as follow:
64
64
65
-
Yellow pad to the left
66
-
Red pad to the right
67
-
Green pad below the red pad
65
+
-Yellow pad to the left.
66
+
-Red pad to the right.
67
+
-Green pad below the red pad.
68
68
69
69
> Note: Remember to disconnect the AC from the laptop before sampling.
70
70
@@ -80,7 +80,7 @@ Close the Serial Monitor and run `edge-impulse-data-forwarder`.
80
80
81
81
Select the Edge Impulse project and check that the frequency shows `[SER] Detected data frequency: 50Hz`.
82
82
83
-
Go to https://studio.edgeimpulse.com/studio/<Your-Project-ID>/acquisition/training
83
+
Go to [https://studio.edgeimpulse.com/studio/Your-Project-ID/acquisition/training](https://studio.edgeimpulse.com/studio/Your-Project-ID/acquisition/training)
84
84
85
85
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.
86
86
@@ -102,8 +102,6 @@ Frequency-domain features are: Raw VLF Energy, Raw LF Energy, Raw HF Energy, Raw
102
102
103
103
I have used ECG, filter preset 1, window size 40 and no HRV features.
The training could require some parameters to be modified from the defaults. I have found the following parameters to work well for my dataset, with a 89.3% accuracy. Training cycles **40**, learning rate **0.005**, bacth size **30** and no auto weight.
@@ -130,6 +128,8 @@ Now you will be able to use the model library with your own code. A sample ECG m
130
128
131
129
> Note: If Arduino Portenta shows `Exit status 74`, double click "Reset", and select the correct port.
Thanks to machine learning, monitoring ECG signals no longer requires transmitting data to a remote computer for expert analysis. Instead, subtle health conditions can be detected by small, offline, wearable devices equipped with machine learning capabilities. These devices can identify over-stressed workers who may be unable to perform their tasks effectively, thus preventing serious harm or consequences.
0 commit comments