You are reading a single comment by @maze1980 and its replies.
Click here to read the full conversation.
-
Tue 2019.06.25
re: 'and the clap detector circuit above doesn't work (0V output, with 5V peaks during claps), the signal is inverted'
Solve by adding an additional transitor inverter at the tail end.
See 'Digital Logic' half way down page:
https://learn.sparkfun.com/tutorials/transistors/applications-i-switches
https://electroconcepts.wordpress.com/2018/02/23/how-is-transistor-used-as-a-switch-or-inverter/
https://www.espruino.com/Reference#l_ESP8266_deepSleep says you must pull down the RST pin, i.e. the mic alone will not work, and the clap detector circuit above doesn't work (0V output, with 5V peaks during claps), the signal is inverted.