2024-02-01 08:31 AM - edited 2024-02-01 08:34 AM
Hi,
I am using NanoEdgeAIStudio to detect anomalies on microphone signal. I am particularly interested in logging ultrasounds (from 20kHz to 100kHz).
I used the Datalogger tool (in NanoEdgeAIStudio) to set up the datalogger and generate the neai_datalog.bin file. In this tool, I have noticed the only microphone available is "MP23ABS1" (see the screenshot below). I have read MP23ABS1's doc, though it is not clear to me if it is able to log ultrasounds ? Can you clarify this pls ?
Also, I have read STWINKT1B's doc and I know there is also microphone IMP23ABSU (for ultrasounds, with a bandwidth up to 80kHz, as indicated in the doc). I would prefer to use IMP23ABSU instead of MP23ABS1 to log the data in NanoEdgeAIStudio. Is that possible ?
To clarify, I would like to collect data from microphone IMP23ABSU (using the tool "import signal" and "from serial (USB)", as below). So far, I set up a project using sensor type "Microphone sensor 1 axis", ODR=100000Hz, sample size=4096, and I succeeded in logging microphone data... data show up in "serial output", but I am not sure which microphone the data come from. Do you have any idea ?
Thanks
Anthony
Solved! Go to Solution.
2024-02-05 12:07 AM
Hello @anthonyADV
Thanks for your feedback. I suppose there is a graphical issue there that I can report internally to be solved easily. Let me do a brief recap.
STWINKT1B mounts 2 microphones: MP34DT05 (digital microphone) and IMP23ABSU (ultrasound analog microphone. MP23ABS1 is instead the analog mic part number available on STWINKT1, the previous version of the STEVAL board.
MP23ABS1 is not available on STWINKT1B: by selecting MP23ABS1 tab you are enabling the unique analog ultrasound microphone available on the board. It is only a matter of wrong name in the widget, but I can guarantee that you are working with the expected ultrasound microphone.
Just a further comment: natively IMP23ABSU supported sampling frequencies are 16, 32, 48, 96 and 192KHz. To fully exploit sensor capabilities, please consider to log it at the maximum sample rate available in the tool.
Best regards
Simone
2024-02-05 12:07 AM
Hello @anthonyADV
Thanks for your feedback. I suppose there is a graphical issue there that I can report internally to be solved easily. Let me do a brief recap.
STWINKT1B mounts 2 microphones: MP34DT05 (digital microphone) and IMP23ABSU (ultrasound analog microphone. MP23ABS1 is instead the analog mic part number available on STWINKT1, the previous version of the STEVAL board.
MP23ABS1 is not available on STWINKT1B: by selecting MP23ABS1 tab you are enabling the unique analog ultrasound microphone available on the board. It is only a matter of wrong name in the widget, but I can guarantee that you are working with the expected ultrasound microphone.
Just a further comment: natively IMP23ABSU supported sampling frequencies are 16, 32, 48, 96 and 192KHz. To fully exploit sensor capabilities, please consider to log it at the maximum sample rate available in the tool.
Best regards
Simone
2024-02-05 12:39 AM - edited 2024-02-05 01:03 AM
Hi @SimonePradolini, thanks for your quick reply and advice !
About sampling frequencies, do you mean I should set up "data rate (Hz) : 192000" in the data logger tool ? Cause it seems the maximum sample rate I can set up is 100kHz.
Besides, just to make you know, I have also noticed MP23ABS1 is mentionned :
- in STEVAL-STWINKT1B's documentation. In the table, M1 is correct (IMP23ABSU) but I suspect it's the wrong name (MP23ABS1) in the circuit design just below) ;
- in the following github repo stm32ai-nanoedge-datalogger :
I guess it should be IMP23ABSU in both of these instead ?
Thank you again and have a nice day !
Anthony
2024-02-05 12:48 AM
Hello @anthonyADV
same issue, you're right.
Thanks for your feedbacks, we'll take the needed actions.
Best regards
Simone