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: examples/vibration-anomaly-detection/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The **Fan Vibration Monitoring** example creates a smart vibration detector that
6
6
7
7
## Description
8
8
9
-
Monitor the physical status of a fan in real-time. This example uses a Modulino sensor to capture acceleration data and a dedicated software brick to detect vibration anomalies.
9
+
Monitor the physical status of a fan in real-time. This example uses a Modulino Movement to capture acceleration data and a dedicated Brick to detect vibration anomalies.
10
10
11
11
Unlike simple threshold detectors, this app provides:
12
12
***Live Data Visualization:** A real-time scrolling plot of X, Y, and Z acceleration.
@@ -26,7 +26,7 @@ The example uses the following Bricks:
26
26
27
27
- Arduino UNO Q (x1)
28
28
- Modulino Movement (LSM6DSOX) (x1)
29
-
-Modulino Base and Cables
29
+
-Qwiic Cable (x1)
30
30
- USB-C® to USB-A Cable (x1)
31
31
32
32
### Software
@@ -37,7 +37,7 @@ The example uses the following Bricks:
37
37
38
38
## How to Use the Example
39
39
40
-
1. Connect the Modulino Movement sensor to the Arduino UNO Q via the Modulino Base.
40
+
1. Connect the Modulino Movement sensor to the Arduino UNO Q via the Qwiic connector.
41
41
2. Run the App.
42
42
3. Open the App on your browser.
43
43
4. Observe the **Accelerometer Data** chart to see the live vibration waveforms.
@@ -50,15 +50,15 @@ Here is a brief explanation of the full-stack application:
50
50
51
51
### 🔧 Backend (main.py)
52
52
53
-
- Initializes the `VibrationAnomalyDetection` brick.
53
+
- Initializes the `vibration_anomaly_detection` Brick.
54
54
- Receives raw sensor data via `Bridge`, converts it from gravity units ($g$) to acceleration ($m/s^2$), and forwards it to the UI for plotting.
55
-
- Accumulates samples in the detection brick.
55
+
- Accumulates samples in the detection Brick.
56
56
- Listens for threshold overrides from the UI to update the detection sensitivity in real-time.
57
57
- Broadcasts anomaly alerts containing the anomaly score and timestamp.
58
58
59
59
### 💻 Frontend (index.html + app.js)
60
60
61
-
-**Real-time Plotting:** Uses an HTML5 Canvas to draw the live X, Y, Z acceleration waveforms at 60fps.
61
+
-**Real-time Plotting:** Uses an HTML5 Canvas to draw the live X, Y, Z acceleration waveforms.
62
62
-**Interactive Controls:** Sends slider values to the backend to tune the algorithm parameters.
63
63
-**Alert System:** visualizes anomalies with status icons and maintains a chronological list of recent detections.
64
64
@@ -96,19 +96,19 @@ Once the application is running, you can access it from your web browser. At tha
0 commit comments