-->
Page 1 of 1

Sound SIN Wave

PostPosted: Thu Dec 13, 2018 3:03 pm
by RubberDinero
I am a complete noob to the ESP8266, but not a total noob to the raspberry pi(but by no means and expert). I've come up with an idea for a project, but I am interested in knowing if the ESP8266 is the right path.
I want to know if the ESP8266 is capable of detecting sin waves if the 2 GPIOs are connected directly to the speaker terminals. I don't want to use a sound detector to prevent false positives.

Once a sin wave is detected, and depending on the duration of the waves, I would like it to send 2 different types of alerts. short duration sounds, alert type 1, sounds lasting longer than 1 second, alert type 2.

does anyone have any ideas or links to code that would make this possible?

Thanks