While i was playing with Mbed i noticed difference in speed of Analog to Digital & Digital to Analog Converter which is expected due to heart of Arduino (ATmega 328) and Mbed (32 bit ARM Cortex). With that in mind it's pretty obvious that Arduino it's not suitable for Digital Signal Processing while Mbed gives a bit more space to work as DSP filter, Audio mixer, effects...
Here is some results directly from Tera Term and Arduino IDE
Mbed:
****All measurements are in microseconds (us)****
- Time of AD conversion = 21.2990 us
- Time of DA conversion = 1.5833 us
- Total Time AD & DA conversion= 22.9167 us
- Max AD Sampling frequency: 46.95 kHz
- Max DA frequency: 631.59 kHz
It's possible to use Mbed for DSP up to 23kHz which is enough for audio mixers, effects...
AD & DA time on Mbed |
Arduino Uno:
****All measurements are in microseconds (us)****
- Time of AD conversion: 112 us
- Time of DA conversion: 12 us
- Time of AD & DA conversion: 125 us
- Max AD Sampling frequency: 8.9 kHz
- Max DA frequency: 83.3 kHz
Unfortunately Arduino is capable to use frequency up to 4kHz which is too low for any kind of DSP usage.
0 comments:
Post a Comment