Back to Search Start Over

A Proposed Approach to Utilizing Esp32 Microcontroller for Data Acquisition.

Authors :
Vy-Khang Tran
Bao-Toan Thai
Hai Pham
Van-Khan Nguyen
Van-Khanh Nguyen
Source :
Journal of Engineering & Technological Sciences. 2024, Vol. 56 Issue 4, p474-488. 15p.
Publication Year :
2024

Abstract

Accurate data acquisition is crucial in embedded systems. This study aimed to evaluate the data acquisition ability of the ESP32 Analog to Digital Converter (ADC) module when combined with the I2S module to collect high-frequency data. Sine waves at various frequencies and white noise were recorded in this mode. The recorded data were analyzed by the fast Fourier transform (FFT) to assess the accuracy of the recorded data and evaluate the generated noise. Digital filters are proposed to improve the quality of the collected signals. A 2D spectrogram imaging algorithm is proposed to convert the data to time-frequency domain images. The results showed that the ADC module could effectively collect signals at frequencies up to 96 kHz; frequency errors were proportional to the sampling rate, and the maximum was 79.6 Hz, equivalent to 0.38%. The execution time of the lowpass and highpass filters was about 6.83 ms and for the bandpass filter about 5.97 ms; the spectrogram imaging time was 40 ms; while the calculation time for an FFT transform was approximately 1.14 ms, which is appropriate for real-time running. These results are significant for data collection systems based on microcontrollers and are a premise for deploying TinML networks on embedded systems. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
23375779
Volume :
56
Issue :
4
Database :
Academic Search Index
Journal :
Journal of Engineering & Technological Sciences
Publication Type :
Academic Journal
Accession number :
180141215
Full Text :
https://doi.org/10.5614/j.eng.technol.sci.2024.56.4.4