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
These applications, such as monitoring buildings, vehicles, and public spaces, are some examples that can develop into a comprehensive system integrated with the Arduino Cloud:
70
70
71
71
-**Buildings:** Identify glass-breaking incidents in residential, commercial, or industrial properties. Alerts can trigger lockdown protocols, notify security teams, and log incidents in real time.
72
72
73
73
-**Vehicles:** Detect windshield breakage and provide real-time SOS signals, vehicle location, or license plate details. This feature is particularly beneficial for enhancing vehicle security.
74
74
75
75
-**Custom Environments:** Deploy in specific setups like public transportation, specialized labs, or sensitive equipment areas where glass-related incidents require immediate attention.
76
76
77
-
This adaptability provides comprehensive coverage and flexible response mechanisms for various scenarios. Additionally, integrating BLE communication and Arduino Cloud makes the system even more versatile and responsive.
77
+
This adaptability provides comprehensive coverage and flexible response mechanisms for various scenarios. Additionally, integrating BLE communication and Arduino Cloud makes the system more versatile and responsive.
78
78
79
79
***If you are new to the Nicla Voice, it is recommended that you review the [Nicla Voice User Manual](https://docs.arduino.cc/tutorials/nicla-voice/user-manual) to familiarize yourself with its features and setup before continuing with this application note.***
80
80
@@ -99,7 +99,13 @@ Using the [**DCASE**](http://dcase.community/challenge2017/task-rare-sound-event
99
99
100
100
The audio data was preprocessed with **Edge Impulse**. Its user interface allows you to manage audio files, including cropping unnecessary segments and splitting longer recordings into manageable pieces.
101
101
102
-
This preprocessing step ensures that only relevant data is provided into the training pipeline, maximizing the model's performance.
102
+
This preprocessing step ensures that only relevant data is provided into the training pipeline, maximizing the model performance.
103
+
104
+
The preprocessing step includes following steps:
105
+
106
+
-**Audio Segmentation:** Splitting long audio recordings into smaller, manageable clips for more effective training.
107
+
-**Noise Handling:** Removing background noise or irrelevant segments to ensure the dataset focuses on the target sounds.
108
+
-**Normalization:** Ensuring consistent audio levels across all samples to improve model reliability. Using Edge Impulse GUI, you can crop unnecessary segments, annotate audio clips, and simplify this process.
103
109
104
110

105
111
@@ -334,13 +340,17 @@ You can also use the Arduino IDE's Serial Monitor to observe similar results fou
With the machine learning model trained, validated, and deployed onto the Nicla Voice, the system is ready for real-world use case applications. As an example, the following section shows how to validate the setup and test the system in practical scenarios.
344
+
337
345
## Expanding Glass Breaking Detector
338
346
339
-
You can expand the Glass Breaking Detector system described in this application note to include real-time alerts and interesting automation by integrating the Nicla Voice, Portenta H7 and the Arduino Cloud.
347
+
Nicla Voice is now capable of detecting glass-breaking sounds using a trained machine learning model. You can create an expanded system by integrating the Nicla Voice with the Portenta H7 and Arduino Cloud to add functionality and scalability.
348
+
349
+
This expanded Glass Breaking Detector system introduces real-time alerts and automation, using the Nicla Voice, Portenta H7, and Arduino Cloud capabilities. This integration provides a solution for monitoring and managing glass-related events.
This enhancement allows for scalable solutions designed for environments such as buildings or other closed spaces with simple yet helpful monitoring and safety features, for example.
353
+
The upgraded example offers practical and scalable safety features designed for applications in buildings or other enclosed spaces. Its adaptability allows for implementation in various scenarios, providing distinct monitoring and security needs.
344
354
345
355
### Expanded System Overview
346
356
@@ -559,16 +569,22 @@ The following code snippet shows how the Portenta H7 processes these specific al
559
569
560
570
```arduino
561
571
if (AlertValue == 1) {
562
-
alertStatus = true; // General alert status triggered
563
-
if (!SecurityAlert) {
564
-
SecurityAlert = true; // Turn on security alert
565
-
GlassEvent = "Security Alert ON: Glass break detected";
// Insert Code with preferred lockdown or defensive routine
585
+
586
+
Serial.println("Lockdown motor activated.");
587
+
}
572
588
}
573
589
```
574
590
@@ -763,6 +779,8 @@ Once the Nicla Voice and Portenta H7 are ready with the scripts and configuratio
763
779
764
780

765
781
782
+
The expanded system integrates cloud connectivity via the Portenta H7, allowing real-time updates to the Arduino Cloud and automated responses such as activating a lockdown mechanism for motor activated shutters.
783
+
766
784
### Arduino Cloud Integration
767
785
768
786
By integrating the system with the Arduino IoT Cloud, you will have the access to a centralized dashboard that provides real-time monitoring and control of your Glass Breaking Detector system.
0 commit comments