logo elektroda
logo elektroda
X
logo elektroda

How to Record Acoustic Signal and Display True RMS Using RAM or SD Card Storage?

45 7
ADVERTISEMENT
  • #1 21671900
    Vidya Sagar Chikkala
    Anonymous  
  • ADVERTISEMENT
  • #2 21671901
    Rohit Dubla
    Anonymous  
  • ADVERTISEMENT
  • #3 21671902
    Vidya Sagar Chikkala
    Anonymous  
  • #4 21671903
    Rohit Dubla
    Anonymous  
  • ADVERTISEMENT
  • #5 21671904
    Jeff Evemy
    Anonymous  
  • #6 21671905
    Vidya Sagar Chikkala
    Anonymous  
  • ADVERTISEMENT
  • #7 21671906
    Vidya Sagar Chikkala
    Anonymous  
  • #8 21671907
    Rohit Dubla
    Anonymous  

Topic summary

The discussion addresses recording acoustic signals and calculating their true RMS values over a defined time period, with storage on RAM or SD card for further processing. It highlights that for audio signals, which are non-repetitive and variable, RMS values fluctuate and may be less informative than average values. However, true RMS measurement remains relevant for power equivalence, requiring sampling above the Nyquist frequency. The recommended approach involves sampling the analog input via a microcontroller's ADC, converting samples to PCM format, buffering them, and storing the data on external memory such as an SD card. The RMS calculation is performed by squaring each sample, accumulating these values over the time window, and then taking the square root of the mean. Practical implementation includes programming the microcontroller to interface with additional memory modules (e.g., SD cards) using communication protocols like USB or RS232 for data transfer. The discussion also clarifies that simple averaging is linear and insufficient for AC signals, while squaring and integrating samples correctly reflects signal power. The use of WAVE or PCM file formats is suggested for storing and analyzing audio data.
Summary generated by the language model.
ADVERTISEMENT