I'm interested in the frequency of the mbed's analogin - I'd like to read from a few piezo vibration sensors to see if I can determine the position of the source of vibrations
I'm interested in the frequency of the mbed's analogin - I'd like to read from a few piezo vibration sensors to see if I can determine the position of the source of vibrations
I also wanted to know the max frequncy I can capture so I set up a loop capture and found AnalogIN samples at around 74 us roughly at 14khz. This means of course using rule of thumb (nyquists thumb?) I can capture frequencys of up to 10th of that = 1.4 khz. Thats fast enough for me but it would be nice if it could go faster and gave a double buffer type function. Anyone else done that sort of thing ?
Manual says that in burst mode "The AD converter does repeated conversions at up to 200 kHz". You can make use of it with the driver from Simon Blandford.
From what I remember, Nyquist's theorem states that you need to sample twice as fast as the bandwidth of the signal you are interested in. So if you can sample at 14 kHz that means capturing frequencies up to 7 kHz. You need to consider using an anti-aliasing filter which is not going to be a brick wall at 7 kHz though, so you lose a little bandwidth there as well.
Regards Daniel
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
I'm interested in the frequency of the mbed's analogin - I'd like to read from a few piezo vibration sensors to see if I can determine the position of the source of vibrations
Anyone done anything like this?