Page 1 of 1
ESP-01 GPIO Speaker issues
Posted:
Sun Nov 06, 2016 9:33 am
by joebloggs890
Hey guy, Here is my situation. I have a speaker attached to GPIO.If I bootup the device with the speaker attached attached to GPIO it goes into bootloader mode it seems. If I boot up and then connect the speaker, it works. Is there a way disable GPI0 on startup, so that the bootloader mode isnt polled. I apologize for the noobness...any help would be awesome!
Re: ESP-01 GPIO Speaker issues
Posted:
Mon Nov 07, 2016 1:20 pm
by DedeHai
GPIO0 cannot be disabled at bootup but you could use a MOSFET to drive your speaker instead of using the GPIO directly. You should not use any GPIO to drive something that uses power, especially not a highly inductive speaker. Or you could use a piezo sounder which is high impedance.
Re: ESP-01 GPIO Speaker issues
Posted:
Tue Nov 08, 2016 2:51 am
by schufti
you could also try connecting the speaker via (small) capacitor. This would safeguard the pin and solve interference with bootup mode.
Re: ESP-01 GPIO Speaker issues
Posted:
Thu May 24, 2018 1:16 am
by kamathln
schufti wrote:you could also try connecting the speaker via (small) capacitor. This would safeguard the pin and solve interference with bootup mode.
How small is small?