Hi Guys,
I have been working on an application where I attempt to determine an impact position on a window, on basis of the output of four piezo elements on the window.
I have built a custom daughterboard with a set of amplifiers and comperators, triggering the interrupts on the MBED. When an interrupt is triggered an timer is read into a buffer and I can get precition down to the microsecond.
But I cant seem to get consistent results when I knock the glass with my hand, a screwdriver or throwing a small ricebag. The times measured by the interrupts vary alot
I have therefore tried to channel the signal into the ADC as well, for further analysis.
This is inspired by:
http://www.waterloolabs.com/#!episode-02/cgue
&
https://decibel.ni.com/content/docs/DOC-6126
I have written a polling program that sample the inputs, and I can definitely see a signal. But the resolution is too low to do any meaningful analysis of data.
How would I get the ADC sample 4 analog inputs at the 200khz it should be capable of?
Kind regards
Jesper Taxbøl
Hi Guys,
I have been working on an application where I attempt to determine an impact position on a window, on basis of the output of four piezo elements on the window.
I have built a custom daughterboard with a set of amplifiers and comperators, triggering the interrupts on the MBED. When an interrupt is triggered an timer is read into a buffer and I can get precition down to the microsecond.
But I cant seem to get consistent results when I knock the glass with my hand, a screwdriver or throwing a small ricebag. The times measured by the interrupts vary alot
I have therefore tried to channel the signal into the ADC as well, for further analysis.
This is inspired by: http://www.waterloolabs.com/#!episode-02/cgue & https://decibel.ni.com/content/docs/DOC-6126
I have written a polling program that sample the inputs, and I can definitely see a signal. But the resolution is too low to do any meaningful analysis of data.
How would I get the ADC sample 4 analog inputs at the 200khz it should be capable of?
Kind regards
Jesper Taxbøl