Edzelf / Esp-radio

Internet radio based on Esp8266 and VS1053.
MIT License
622 stars 200 forks source link

Reset Circuit with 2 Diodes not working with VS1053b? #200

Open HoerMirAuf opened 3 years ago

HoerMirAuf commented 3 years ago

First, thank you for this great Project.

I build my WebRadio without Display and 3 Button usage on GPIO2, GPIO15, GPIO0 The both Diodes from VS1053B-Reset to GND Result to a not working VS1053b

Set the VS1053b-Reset up to 5V by a 10K Resistor an all working well.

Is this a bug in the circuit? Or why this not working if the Diodes connected to GND?

Derek-K commented 3 years ago

Check your wiring again. XRST with 1k pull down to GND, and the two diodes connect to GPIO 16 & GPIO 5.

The diodes acted as OR gate. During normal operations, XCS and/or XDCS will be high, so XRST will always high. The only time goes low is when XCS & XDCS goes low during init (line 575-577)

https://github.com/Edzelf/Esp-radio/blob/56e57fcaece56d0447246fa4f6be938c7ae0bb09/Esp_radio.ino#L575-L577

BTW, if I am not mistaken VS1053B is a 3.3V part, pull up to 5V might damage it in the long run.