This post was last edited by littleshrimp on 2020-3-25 12:46
STEVAL-MKI109V3 can be directly connected to the LIS25BA sensor to collect audio data
You can see real-time data changes through Unico's Plot
https://en.eeworld.com/bbs/thread-1114662-1-1.html
If you want to analyze long-term audio data, Unico software also provides a data recording function.
The recording function can record audio for a long time and then analyze it through other software
Because it is raw data, we usually use EXCEL software to view the complete waveform
But LIS25BA is a high-frequency acceleration sensor after all, so it is definitely not good to just watch without listening.
Now I will teach you a way to quickly convert the source data .txt file output by Unico into a 3-channel audio to listen to the changes in acceleration.
The data recorded by Unico is in the following format, including a header and 3 columns of acceleration data.
The same .txt file can be turned into an audio file by changing the data header to the following, and then analyzed by dedicated audio software, or saved as a regular audio file for easy playback with other players
SAMPLES corresponds to the number of samples and is modified according to the actual length of the collected data.
SAMPLERATE is modified according to the sampling rate, and the others remain unchanged
SAMPLES: 10000
BITSPERSAMPLE: 16
CHANNELS: 3
SAMPLERATE: 8000
NORMALIZED: FALSE
After saving the file, open it directly with Adobe Audition and you can see 3 files appear on the left, each file corresponds to a channel
Select a channel and press the space bar to play the sound collected by lis25ba.