Chat freely about anything...

User avatar
By DonFrench
#61291 I want to attach an audio sensor like this one to my WeMOS D1 mini. But it runs on 5V and I assume the digital output is 5V as well. Can I attach this directly to a WeMOS GPIO? Or do I need to do something to convert that signal to 3V3?
User avatar
By rudy
#61295 Some people say that they have done it without problems. I wouldn't because I absolutely don't want any possible sporadic operation. What I normally do when I want to connect to a port pin from a voltage that is outside the VCC and GND range is to put a high resistance in series with the pin. But the ESP8266 has few port pins that you can do this with. I have not done it with the ESP modules yet but GPIO4 and GPIO5 are good choices. 12, 13, 14, and 16 probably would work as well.
User avatar
By torntrousers
#61301 That particular sensor looks like it should work ok running at 3.3v, so just power it with 3.3v not 5v and then it will be ok to connect to the Wemos board. (might be a little less sensitive with the lower voltage)