0

When I use esp8266 as STATION mode and connect a speaker between VCC(3.3v) and GND pin a sound appears like "doop doop". what is this sound? I test this in version 01 and 12 of esp8266 module and this appear in both versions. maybe you ask me why I connect speaker to this pins. problem is that when I use pwm of esp8266 for playing a sound, this sound ("doop doop") appear to it also. What is problem? How can I fix this?

4
  • sounds like your power supply is weak. it might also have trouble driving an 8-ohm load (400+ma) plus the MCU. more capacitors would help as well.
    – dandavis
    May 6 '19 at 20:05
  • Maybe the ESP resetting? It is really not a good idea, to connect a speaker like this.
    – chrisl
    May 6 '19 at 20:06
  • No .I use different power supply and different battery. I use high pass and low pass filter but it does not fix yet. Also I use capacitor between VCC and GND. I'm wondered now.
    – mohammad
    May 6 '19 at 20:10
  • If reset occurred LED must be on in a moment. I'm sure reset does not occur
    – mohammad
    May 6 '19 at 20:13
0

It's called "noise" and is to be expected. Wi-Fi devices are generally very electrically noisy - and the ESP8266 is no exception.

10
  • I think noise sound is irregular but this sound is regular and periodic.
    – mohammad
    May 6 '19 at 21:03
  • As regular and periodic as the transmission of packets over WiFi?
    – Majenko
    May 6 '19 at 21:05
  • No. when I set esp8266 as station mode, without any connection and sending and receiving packet this problem occur
    – mohammad
    May 6 '19 at 21:08
  • Just because you aren't sending packets doesn't mean packets aren't being sent. Wi-Fi is complex. There's constant chatter between stations and the AP.
    – Majenko
    May 6 '19 at 21:11
  • It's true. your mean is packets send in environment such as mac address or Host name?
    – mohammad
    May 6 '19 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.