-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White Noise #423
Comments
It is unlikely that the noise comes from the ESP32. The problem must be in the VS0153 or in the analog circuit. I never noticed a significant noise. Did you try a headphone on the VS105e output? |
You could try an audio transfomer like the Monacor LTR110, that should help.
Greets
TypeApp for Android herunterladen
Am 25. Dez. 2020, 11:23, um 11:23, Bastler <notifications@github.com> schrieb:
…Hi,
I used the schematics from
#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
Do you have the same isse or have any filtering solution inplace ?
Thanks in advance!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#423
|
yep, had the headset before.. removed the 3.5 connection and using pins instead right now. |
@utw3v0 i've already transformers in place. |
maybe a grounding problem .... theres a digital and a analog ground can you try to seperate them ? And maybe the esp is too close to the vs1053 so it might generate some em interterence ....
TypeApp for Android herunterladen
Am 25. Dez. 2020, 12:22, um 12:22, Bastler <notifications@github.com> schrieb:
…
@utw3v0 i've already transformers in place.
here's what it currently looks like:
![IMG_5671](https://user-images.githubusercontent.com/73077761/103133631-cbf33e00-46ab-11eb-8b37-f4aeab6f69bd.JPG)
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#423 (comment)
|
hi @utw3v0 , already read alot about it, but was not very clear, how i shoud seperate it. also from the pcb layout of eXadra, i do not see, where the grounds are seperated. also variated the distance between VS, ESP and SD reader with unfortunately no difference.. would love to give it a try, but don't really have a clou, what i should do.. Maybe you could give me some further advise? thanks!! Question...: |
i've just seen on your picture that the vs1053 the esp and your am are hooked up to the same power source, try to separate them, at least your amp (8610) and the rest ... |
I dont think that your vs is broken, i kicked out all of my breadboards, had always trouble with the cabling so i chose to solder everything, maybe you mic is activated and its amp is generating the noise ? Maybe your pam is making the noise it self ? Try a headphone without anything else except the esp ofc. Remove all unnecessary cables / modules .... my board pulls with ch chip and sd card up to 460 mA so your powersupply should deliver that on the 5 volts rail ... i use an powersupply for laboratory so its generating clean 5 volts with very low ripple try an pc speaker system to see if there is the noice too |
Maybe you can make a video of the problem ? |
Ive just seen your 5v and 12v gnd is connected via bridge, you should remove that bridge so the both grounds are not connected to each other |
Hi Werner, thats what also my plan is, already preparing my perforated board, but with that white noise, i dont want to solder it.. just tried to record a video, just have an old iphone 5, sry .. The bridge does not matter if its going into the gnd of the 5V DC DC converter or directly.. Pam alone is absolutely silent.. (also tried it with another class D amp as written above, same issue)... just when i hook up everything together, this noise appears.. Maybe its still with the differentiated outputs of the VS1053? so Gbuf is not connected to common in, its connected to VREF.. maybe have a look on the source: |
Meassure the pgnd pin, that is the common of the 2 analog outputs, with a voltmeter. It should be half the power voltage. If it is is 0 Volt, you are in trouble. |
measure between what exactly ? |
Between ground of your power supply and the pgnd pin of the vs1053. |
Meassure with pam connected and removed. |
assume between GND and VS1053 GBuf (audiojack out) ? |
That's good. So it looks like it is not a wiring problem. Next thing to do is to replace the vs1053. |
dont have another one around :( |
Did you try with a larger capacitor ( 220µ or more ) on each power rail? I could not see any decoupling capacitor on your breadbord. |
Unfortunately in your video theres no noise su i guess it's the same problem like in this video https://www.youtube.com/watch?v=4bm22sN5hWE Im going in to a preamp and then an poweramp 100Watts and its working fine i also had it hooked up directly to the poweramp no problems at all .... |
Hi Werner, you can hear the noise starting with 0:05.. its not a "loud" noise or cracking noise, its just rustling.. without the transformators its the same thing as in your posted vid but i'm using already audio transformators and still have some rustling left.. |
Maybe its your vs then but i can't imagine the chip is very solid and stable i soldered one and made my self mp3 decoder as you can see in my schematics without any disturbing noise ... its a weird thing .... can you post your schematics ? What if the esp and the vs are all alone ? Still that noise ? Maybe shorter wires it could pickup an interference from another source around your setup .... |
On your last picture, I can see that the ESP32 Board is not connected via USB to the PC, is that the case in all other testing scenarios? |
Hi Werner, i also cannot assume that the vs is broken right now.. currently i'm switching my schematics all the time to find the issue.. Hi Rainer, another option i think about is to lift the VREF pin from the PAM8610 and solder the GBUF to it as mentioned in a post above.. really weired.. trying around for several weeks now, really getting annoyed why i always have bad luck and issues that no one else is facing.. |
maybe another idea.. i regulate the volume on the VS1053, maybe this can be the root cause? as you also might have a poti onboard, does this poti regulate the amplifier input? or do you connect it to the ESP and regulate the volume also on the VS1053? |
I can regulate from both, vs and preamp doesn't make a difference ..... |
when you set the VS to <10% max volume and the amp to 100%, do you have then noise ? |
You do not have to have a 300€ oszi for those kind of things any cheap ass oszi will be enough. i suggest you buy one it saves a lot of trouble especially when you troubleshooting noise.. Anyway .. the vs1053 makes noise when it is uninitialized/powering up. Make sure you intialize it ready to paly before checking things on noise. |
Hi Guys, so I have at least some news from todays work.. as you can see, I soldered everything on a perforated board.. everything is working (as before)... Additionally, I checked my VS with headphones.. Noise is just comming, when I use the Transformers or the recommended circuit from the VS guys (http://www.vsdsp-forum.com/phpbb/viewtopic.php?f=9&t=69) Maybe the transformers are just shitty ? 10pc's for about 9$..? |
hi all |
Hi all, would like to update you on this topic.. tried several things and also @Rainer-G is supporting me great. I stepped a litte bit back to a minimal example (also with a different VS, just to be sure): What can I say.. I can hear the white / purple noise also / already in the earphones when volume is below 40.. Tried it with several Powersources (USB from PC, 230V=>USB PS, Powerbank), the Noise is always present.. In case if anybody wants to try it out, here's my config: D: pin_vs_cs set to 15 D: pin_shutdown set to -1 D: pin_spi_sck set to 14 Will keep you updated if there are any news to tell. |
Tr4y to power the esp through the 5v pin and also the vs1053 .. do not get it from usb |
i use this shield https://www.amazon.de/gp/product/B08GYFVR5X/ref=ppx_yo_dt_b_asin_image_o03_s00?ie=UTF8&psc=1 and this board. Has to be powered through the DC jack with 7 to 12 v this is important.. Wifi works best with those boards when powered through the DC jack. This works great . I have serval of them. IN setup put after WiFi.mode ( WIFI_STA ) ; // This ESP is delay (500) ; https://www.amazon.de/gp/product/B08BTWK3VV/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1 works like a charm.. has also sd config is: clk_dst = 1 ir_40BF = upvolume = 2 mqttbroker = none pin_ir = -1 # GPIO Pin number for IR receiver VS1838B preset = 1 toneha = 2 volume = 84 |
Why set the volume to 40? I usually set it to 76 and use a the volume control of the external amplifier to get a normal output level. |
And yeah .. I cant hear any thing below 60 anyway ^^ |
as you can see here: #423 (comment) But of cause i want to use the old switches from the old radio. Therefore i want to use the switch poti for power on and volume control. So I thought i use a amp with no volume control (pam8610) and regulate the volume via the VS.. First of all i also used a regular amplifier but when the volume is ~40% of the AMP, 100% of the VS and I power on the whole circuit, current rushes through the amp and creates loude noises in the speakers.. also I would need additional mechanics to "bride" somehow the old switchpoti with the volume poti of the amp.. |
The issue is you are running the pam at full blast any noise or swiching spikes will get amplified to 100 % A proper amp usualy has nice filtered DC voltage. If you turn up your hifi amp to 100 for example You are gonna still hear some hiss and they have some nice filters in there. The proper ways is to have an amp with volume control. it also could be that your input GND and output GND which are in the middle like at 2.5v do not match each other lets say pam input expects to get a signal with 0 at 2.5v and your vs has a signal of 2v at 0 your amp would be puting out energy all the time creating noises when there is no sound and this at 100% This is why a amp should have its own isolated power source if there is no way to adjust the DC bias |
Hi all, The PAM8610 has a much higher gain ( 33 vs. 24 dB ) so the the noise increases accordingly. Putting a volume control in front of the amp does not really help as the internal pre-amp still runs at highest gain and you can hear some pink noise even at lowest volume! I will keep you updated |
Hi together, @xP373Rx yep, correct, as you mentioned, the amp is always at full power.. the thing is, the VS Chip outputs a lot of noise after initialising, which will then be of cause amplifed extremly.. And as @Rainer-G mentioned, we also test different things on the amplifier side.. But in my point of view the question is, WHY does the VS output so much noise after initializing and when volume is muted or set low.. As you know, the VS chip has a lot of possibilities, maybe we just missed out something on how to work "properly" with the VS itself? |
What you also could do is pin the mute pin with a 10k resitor to off state and turn it on after init with pin that is not doing any funny stuff on esp boot |
I found a solution to the spi humming in the audio if using amplifiers.. Do not use the audio GND from the jack .. use the real GND pin on the board and put 100nf or 220 nf ceramic caps in series with the L and R channels to the input of the amp. |
Hi @xP373Rx when playing a silent mp3 file (https://bigsoundbank.com/detail-0917-one-minute-of-silence.html) I still have lot of noise.. When music is playing, you basically cant hear any pink noise. Maybe you can give it a try. |
not sure what you mean .. so GND vs1053 and gnd input amp are connected?? |
the noise is on the Gbuf not in the channel |
Can you run the esp32 from the 3.3 v VS1053 rail?? |
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 ? |
Esp it self runs on 3.3v if u connect 3.3v to the 3.3v pin of the board it will run. You can google the max currents the components draw and what the regulator can deliver |
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 how did you power esp and vs ? |
high all |
Yes, but they are usually only 1 Watt. If you can find a 3 Watt type it will certainly work. |
just use 600:600 transformers.. what works totally fine! no need for a B0503S, but could indeed also work. |
is that possible to use it in digital side? (esp + vs1053 + tft) |
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. |
dc/dc |
Hi,
I used the schematics from #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!
The text was updated successfully, but these errors were encountered: