Is the ESP32-WROOM-32 capable of frequency analysis?

Jim_Stuart
Posts: 9
Joined: Wed Aug 14, 2024 12:10 am

Is the ESP32-WROOM-32 capable of frequency analysis?

Postby Jim_Stuart » Wed Aug 14, 2024 12:23 am

Hello, I'm working on a project right now that basically modulates sound waves using a photodiode: CJMCU-101, which is a breakout board for the OPT101 photosensor. The idea is that I shine a laser (color right now is red) onto a mirror that is attached to a speaker. The mirror will vibrate and the reflected light ray will vibrate at a specific frequency that I play through a mirror and onto the photosensor. I want to capture the frequency of the sound wave that the speaker plays.

My question is, can an ESP32-WROOM-32 handle the frequency analysis required to analyze the photosensor readings and process the information to get the frequency of the speaker?

Or, should I use another microcontroller?

OPT101 Datasheet: https://www.ti.com/lit/ds/symlink/opt101.pdf

ESP_Sprite
Posts: 9568
Joined: Thu Nov 26, 2015 4:08 am

Re: Is the ESP32-WROOM-32 capable of frequency analysis?

Postby ESP_Sprite » Wed Aug 14, 2024 5:20 am

The ESP32 in there is more than capable of handling basic audio-frequency DSP stuff. Depending on your algorithm and what else you want to do with the signal, you may also want to consider an ESP32-S3-based module as it can do hardware-accelerated FFT and filtering stuff.

Who is online

Users browsing this forum: No registered users and 85 guests