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: content/hardware/05.nicla/boards/nicla-vision/tutorials/microphone_sensor/microphone_sensor.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -43,17 +43,17 @@ In this tutorial you will use the **Arduino Nicla Vision** board to get the micr
43
43
44
44
## Set Up
45
45
46
-
To check that you set up correctly the board please visit our [Getting Started Guide](https://docs.arduino.cc/tutorials/nicla-vision/getting-started) for both **OpenMV** and **Arduino** available instructions.
46
+
To check that you correctly set up the board please visit our [Getting Started Guide](https://docs.arduino.cc/tutorials/nicla-vision/getting-started) for both **OpenMV** and **Arduino** instructions.
47
47
48
48
## OpenMV
49
49
50
-
Open the program by going to **Examples > Arduino > NanoRP2040 > Audio > Audio_fft.py**.
50
+
Open the script by going to **Examples > Arduino > NanoRP2040 > Audio > Audio_fft.py**.
51
51
52
-
***Using the same sketch as the NanoRP2040, cause both boards access the microhpone the same way***
52
+
***Using the same sketch as the NanoRP2040, because both boards access the microhpone in the same way***
53
53
54
-
Make sure you linked the board by checking the Serial Port and upload the program.
54
+
Make sure the board is connected, if the board is connected to OpenMV you should see a green play button in the bottom left corner of the window. If you do not see this icon, try pressing the connect button in the bottom left corner. If there still is some issue to connect the board take another look at the getting started guide.
55
55
56
-
You will see an spectrum analyzer on the top right panel that reflects the audio readings input.
56
+
When the script is running, you will see an spectrum analyzer in the top right panel that reflects the audio readings input. Try making some noise and see how it reacts.
57
57
58
58

59
59
@@ -69,10 +69,10 @@ You can run the sketch to see the result, it will show the data that the microph
69
69
70
70
Now that you can get the microphone data, let's control the built-in RGB LED and change the speed of its blinking depending on the values.
71
71
72
-
You can access the example sketch at **Examples > PDM > PDMSerialPlotter** and then edit as we shown.
73
-
Or the full edited sketch on our **Arduino_Pro_Tutorials** library.
72
+
You can access the example sketch at **Examples > PDM > PDMSerialPlotter** and then edit as shown in this tutorial.
73
+
Or find the full edited sketch in our **Arduino_Pro_Tutorials** library.
74
74
75
-
**Sketch**:
75
+
### Complete Sketch
76
76
77
77
```arduino
78
78
/*
@@ -180,13 +180,13 @@ Or the full edited sketch on our **Arduino_Pro_Tutorials** library.
180
180
181
181
After you have successfully verified and uploaded the sketch to the board, open the Serial Monitor from the menu on the left. You will now see the new values printed.
182
182
183
-
If you want to test it, the only thing you need to do is to place the board next to a speaker and speak or play some sound to see how the blinking of the RGB LED changes based on the input.
183
+
If you want to test it, the only thing you need to do is to speak or play some sounds close to the board and see how the blinking of the RGB LED changes based on the input.
184
184
185
185
### Troubleshoot
186
186
187
-
- In case the Serial Monitor freezes, unplug and plug again the board from your computer, and try to upload again the sketch
187
+
- In case the Serial Monitor freezes, unplug and then plug the board into your computer again, now try to upload the sketch
188
188
- If the sketch is not working, try to double tap the reset button and upload the sketch once again.
189
189
190
190
## Conclusion
191
191
192
-
You have learned how to get data from the microphone, it can be used for example as an alarm system to wake up the board and make a screenshot with the Camera.
192
+
You have learned how to use the Arduino IDE and OpenMV to get data from the microphone and then use it to change the RGB LED on the board. This can for example be used as an alarm system to wake the board up and take a screenshot with the Camera.
0 commit comments