AZDeliver ESP826612F Piezo Buzzer

Hi am working on a project that uses two ESP8266 units. One has a sensor on it that when activated will notify the other using the WIFI feature. the second ESp8266 will make a sound when the signal is received.

I have fallen at the first hurdle as I cannot get my second ESp8266 to talk to the buzzer. I have a very simple hobbiest piezo buzzer and have wired it D8 to positive on the controller and GR to negative. I have then taken the code from this example and uploaded the sketch:

ESP8266 - Piezo Buzzer | ESP8266 Tutorial (newbiely.com)

When I reset or plug in the blue light flashes, but nothing at all from the buzzer.

I have done exactly the same with an Arduino UNO and it works fine, it makes its little tune and all is well.

I figured maybe the controller is dead, but I have another sketch the connects it my my WIFI and that works ok. (I have 3 of these little controllers and they all do the same).

Can anyone offer any advice??

No problem, post an annotated schematic showing exactly how you have wired it. The two processors you are using are electrically different and that is possibly your problem.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.