Failing to get Microphone working on Nano 33 BLE Sense

Hello,

I've been trying to use the MicrophoneRMS example from:
"https://create.arduino.cc/projecthub/dgiancono/nano33blesensor-getting-started-with-the-nano-33-ble-sense-8a7eba", and I've run into an issue. I was able to get the basic blink code running fine, but had issues with using the actual microphone on my Arduino 33 BLE Sense. My error code is as follows:

Blink:27:10: fatal error: Nano33BLEMicrophoneRMS.h: No such file or directory
#include "Nano33BLEMicrophoneRMS.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Nano33BLEMicrophoneRMS.h: No such file or directory

Just to be safe I double checked my board is actually set to the Nano 33 BLE, (Boards Manager > Arduino mbed-enabled Boards), then board: "Arduino Nano 33 BLE" and I've tried bluetooth and the actual port I'm using -- although I assume the issue is that I'm missing a download from the library? The 5 that I initially installed, being:

Arduino_APDS9960 (gestures, color, proximity)
Arduino_HTS221 (temperature, humidity)
Arduino_LPS22HB (pressure)
Arduino_LSM6DS3 (accelerometer and gyroscope)
Arduino_LSM9DS1 (accelerometer, magnetometer, and gyroscope)

I haven't been able to find anything that sounds like it works for the microphone. Most examples I've seen only include these five. I'd greatly appreciate anything that may point me in the right direction. I've only ever used an Arduino Uno in projects before (and that was a little while ago), so I'm not sure if there are any obvious steps that I'm missing here.

Thanks for your time

t_engr:
I assume the issue is that I'm missing a download from the library? The 5 that I initially installed, being:

Arduino_APDS9960 (gestures, color, proximity)
Arduino_HTS221 (temperature, humidity)
Arduino_LPS22HB (pressure)
Arduino_LSM6DS3 (accelerometer and gyroscope)
Arduino_LSM9DS1 (accelerometer, magnetometer, and gyroscope)

You're right. The instructions in the Project Hub tutorial you're following tell you which library you need to install:

Nano33BLESensor is an Arduino library for the Nano 33 BLE Sense that leverages Mbed OS to automatically place sensor measurements in a ring buffer that can be integrated into programs in a simple manner. Nano33BLESensor was created to help make easy to understand examples for the Arduino Nano 33 BLE Sense that utilise Mbed OS. Download this file as a zip, and extract the resulting folder into your Arduino Libraries folder. Alternatively, use the Arduino IDE and library manager to find and install Nano33BLESensor.

Please give that a try and then if you have any problems or the code still doesn't compile after you install the library, let us know and we'll help you out.

Ah, well I feel silly. Thanks for taking the time out to help me with that!!

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per

I have the same issue, please help me.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.