Improving the Volume Level on the SPE030

westaust55

Moderator
I found the volume level for the SPE030 speech synthesis module (Devantech SP03), even on the maximum volume setting, to be rather quite. In fact could not envisage ever using less than max volume setting (=0)
(okay, okay - make a mental note to buy hearing aid :D)

Now a warning - Anyone who proceeds to modify their SPE030 module does so at their own risk. I take no responsibility for errors or damage that could follow.


Removing the small 30mm diameter 0.4 Watt 8 Ohm speaker and using far better quality 63mm diameter 3 Watt 8 Ohm speaker gave a louder and far better tonal quality output.

However my goal was to use a 90mm piezo speaker. This is primarily to keep magnets away from my PICAXE box to minimise magnetic influence on the CMPS03 compass module (yet to be mounted)

A few "by ear" volume level checks found that the volume level from the PICAXE using the TUNE command into a Piezo speaker was still much higher than the SPE030 speech module.

The SPE030 uses a LM386 Audio Power Amp to drive the output.
A check of the LM386 datasheet and the SPE030 module found that pins 1 and 8 for gain are seemingly unused so the default gain is 20 (according to the datasheet).

Could not find a formula for determining the gain so decided on web surf plus trial and error approach.

Scrounging in my electronics junk box tonight for a few components I found I had a 22uF capacitor and a whole range of resistors.

Using just the capacitor across the LM386 pins 1 and 8 supposedly gives a gain of ~200 but trying that increased the volume but also the distortion (over driving the amp so it is clipping I would suspect).

Found a site that suggested 22uF in series with 5k Ohm gives a gain of 30.
Another site indicated a 100uF capacitor in series with a 104 Ohm resistor gives a gain of 44 and changing the resistor to 33 Ohm gives a gain of 74.

Using a 1.5 KOhm resistor in series with the 22uF capacitor only resulted in minimal volume increase (barely perceptible). However decreasing the resistor value to the ubiquitous (for LED's) value of 330 Ohm resistor in gave a very reasonable increase in the volume level without distortion.
lower values like 100 Ohms further increased the volume but obvious distortion coming into the output as well.

So for those brave or fool hardy enough to try it, adding a 22uF capacitor in series with a 330 Ohm resistor from pin 1 to pin 8 on the LM386 power amp on the SPE030 will give a respectable increase in volume (and all volume settings).

To locate the The LM386 IC. With the Winbond speech chip to the top and connector PL1 at the bottom (see the SPE030 datasheet), the LM386 amp is the 8 pin SOIC surface mounted IC at the bottom right corner. Pins 1 and 8 at the the bottom. I have soldered a couple of fines wires to these two pins and connected the resistor and capacitor to these wires.
 
Last edited:

westaust55

Moderator
LM386 Gain - Calculations

While the gain values I mentioned in the above post are (I believe) what others have measured, I have now come up with a formula for the theoretical gain when adjusted with external components between pins 1 and 8 of the LM386.

The formula is: Gain = 2 * Rf / Rs + 1

the attached shows diagrammatically the relevant portion of the LM386 internal circuit and connection of an external RC network together with calculated/theoretical gain for various external circuit values.

When there is an external resistor between pins 1 and 8, the external capacitor could be removed but it is recommended that it be retained for its DC blocking function.
 

Attachments

Last edited:

westaust55

Moderator
SPE030 and PICAXE Output into single Speaker

Decided to look at using a single 90mm piezo speaker for speech from the SPE030 speech synthesis module and for the output used for the SOUND/TUNE commands (in my case using the 40X1, this is output 0).

To avoid conflict between the PICAXE and SPE030, after some thought decided the best option would be to feed the SOUND/TUNE signals from the PICAXE into the LM386 audio amplifier on non-inverting pin 3 of the SPE030.

Mounted a small piece of vero board next to the SPE030 module and on this board mounted the extra components I have incorporated into the SPE030 module. This board has:
- connectors for the 5 wires from the SPE030 being 2 for gain, 1 for added audio signal input (from PICAXE) and 2 for the speaker
- connector for the cable to the speaker
- connector for signal from the PICAXE
- 10uF capacitor and both 330 Ohm and 470 Ohm resistors with jumper select to enable setting the SPE030 amplifier gain to 20 (normal), 60 or 70.
- 10uF capacitor and 12 kOhm resistor as interface between the PICAXE and SPE030 amp input for PICAXE Sound/Tune signals

Tested this all out tonght and works as hoped with tunes and speech at roughly the same volume and into the same speaker.

Attached is a part schematic of the SPE030 showing the extra components (in red) that I have added. (does not show the jumper to enable change of amp gain)
 

Attachments

Top