The output from the Music Module is a DC offset and I could not get any sound out of a DFRobot Audio board.
At first I thought the audio module had no output signal but when I checked with the scope I saw that without anything playing the output was a noise DC signal or approx 2V
with the sine test running I can see that the audio signal is super imposed on this.
The audio module was seeing the signal at the input to the LM386 but there was only a zero signal on the output. Checking the output from the LM386 it had a DC offset.
After I fitted a capacitor between the Music Module output and the audio input I was not getting sound from the system.
For anyone else experiencing this issue, was out for this if you audio amp has no capacitor on the input to remove the DC component.
PS… The output from this music module is very noisy when nothing is playing. You can see this on the scope. I now need to consider adding a relay to the output to switch it off when not playing any sounds otherwise it is going to drive people nuts!
The capacitor won’t remove any noise. It only blocks the DC portion of the signal and allows the AC part to pass through to the amplifier.
Page 14 of the VS1053 datasheet makes for interesting reading.
GBUF on the VS1053 is connected to what would become the GND connection if you use external amplifier and not headphones as the design is suitable for. In my case the external amp is powered from the same supply as the one that feeds the Music Module.
I have tried disconnecting the GND connection on the headphone jack and leaving the power GND to act as the GND for the 2 connections.
After doing this I still get the noise though but it may be that my input is too high impedance for the output so I may try an artificial load on it and see what happens.
Based on this, if you use an external amplifier, you should not connect the GND pin on the 3.5mm jack and connect the outputs to a capacitive input stage on the external amp.
I used a 150uF 35V cap on the output. It was just something I had lying around but you do need a large value here.
Yes but it is designed for use with a headset as the common on the socket is connected to GBUF and this MUST NOT BE connected to GND. If you us and external amplifier powered from the same supply that the Music Module is running from, your GND will be connected to GBUF.
The alternative line output in the datasheet shows GBUF not connected to the GND of the amplifier input.
I am scrapping these DFRobot amps as the output is too low and there is a lot of distortion. I am waiting for a newer higher output amp to try that.
All you need is to make sure the COMMON on the 3.5mm jack is not connected to anything and you have a 10uF cap on the output of each channel and then it will all work fine.
I too get a lot of noise when the system is idle. I have switched to another device for now so I can get speech and sounds. I just never got anything good from the music module.
The noise issue is something that is in the manual for the IC and they have a solution for this.
You don’t need any caps for your amplifier. It has a 10uF cap on the input, after the volume pot.
Just connect the left or right output to the input on this amplifier. Don’t connect the GND on the headphone socket as we discussed before. If your power supply is common to the music module and the amplifier with a common ground connection, you won’t need to connect the GND connection on the input to the amplifier. You will be OK if the leads are short. If you need to use shielded cable, just connect the shield to the GND connection on the amplifier and make sure it is not connected at the music module.
By the way, I never tried this but have you tried setting the volume to ZERO when playing is stopped and then switch this back to the last setting when music starts playing again? Does that work?
@ Dave McLaughlin - Does this noise only occur when using an external amplifier, or do you also hear it when using headphones connected directly to the Music Module? In my many hours of testing and listening I never heard any noise between songs or when a song ended when using headphones.
I found this schematic of the output circuit of another manufacturer’s VS1053b. I don’t own this module, so I don’t know if it works better or not. Is this similar to your ideas for decoupling the output?