Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
973 stars 229 forks source link

White Noise #423

Closed B4stl3r closed 1 year ago

B4stl3r commented 3 years ago

Hi,

I used the schematics from https://github.com/Edzelf/ESP32-Radio/issues/66 and also used the transistors.

I still have some "white noise" left, which might come from the ESP itself. https://electronics.stackexchange.com/questions/368867/esp32-microcontroller-generates-noise-on-microphone You can hear it very clearly until ~30% of max volume..

I tried serveral things, from using 2 different power supplys, also both of the VS1053 Lineout solution (which still has then the white noise issue). https://www.sparkfun.com/datasheets/Widgets/MP3Trigger/vs10XXan_output.pdf Also tried several different amplifiers (but all class D)..

Will or want to use the PAM8610 in future.

Do you have the same isse or have any filtering solution inplace ?

Thanks in advance!

xP373Rx commented 2 years ago

the noise is on the Gbuf not in the channel try GND to input and LR with ceramics

B4stl3r commented 2 years ago

Hi, here's a quick drawing of my connections: grafik

The GND (on Line In) of the PAM is directly bridged to the GND of the power supply. so there's no need to put another GND wire there..

also just verified, the DGND Pin of the VS1053 has connection to the GND of the PAM.

xP373Rx commented 2 years ago

Can you run the esp32 from the 3.3 v VS1053 rail?? Because i belive that is where the stuff commes from 2 different 3.2 step down converter BTW in audio circuts you should always connect the wire on input. the less resistance to gnd the better. Make sure u use thick wires on power supply.

B4stl3r commented 2 years ago

The VS1053 has a 3.3V Rail ? Thought it requires 5V to run (at least the board)?

Or do you think about grabbing the convertet 3.3V after the "onboard" regulator from the VS Board?

Can it handle the additional Load from the ESP ?

xP373Rx commented 2 years ago

Esp it self runs on 3.3v if u connect 3.3v to the 3.3v pin of the board it will run. It shud be able to handle it.

You can google the max currents the components draw and what the regulator can deliver

B4stl3r commented 2 years ago

sure the esp will run on 3.3, but what you had in mind with the 3.3v rail of the VS ?

Regulator is a ams1117 t33 f16lc http://www.advanced-monolithic.com/pdf/ds1117.pdf should be safe to handle the esp in addition, as output is 1A.. correct?

how did you power esp and vs ?

clear-sky commented 1 year ago

high all i am 99% sure using Isolated DC/DC Converters like B0503S will kill this noise please see https://www.youtube.com/watch?v=n_b_0BWP0mI i am looking to find this converter in market

Edzelf commented 1 year ago

Yes, but they are usually only 1 Watt. If you can find a 3 Watt type it will certainly work.

B4stl3r commented 1 year ago

just use 600:600 transformers.. what works totally fine!

no need for a B0503S, but could indeed also work.

clear-sky commented 1 year ago

is that possible to use it in digital side? (esp + vs1053 + tft)

B4stl3r commented 1 year ago

what? the transformers or the DC/DC ?

I use a 12V Powersupply with a Stepdown for ESP + VS, the Audio between VS and the Amp are isolated with the transformers.

Using a TFT shouldn't make any difference.

clear-sky commented 1 year ago

dc/dc in my previous project i made a fm radio and clock with tft-when using radio with showing clock on tft can hear noise when second or minute or every thing else make changes on tft