[!] The blog has moved [!]

The blog has moved to http://carlitoscontraptions.com/.

You will be redirected to the new URL in 5 s. Sorry for the inconvenience.

December 24, 2007

Volume Limiter

What to do when a young child listens to very loud music on his headphones?
  1. Educate him: by explaining that he must reduce the time he is exposed to loud sounds depending on how loud they are, and how an over exposure to loud sounds could lead to permanent hearing loss. This is the best approach.
  2. Build a headphones volume limiter (i.e. the geeky solution).
I decided to build a volume reducer when my girlfriend told me she bought an inexpensive mp3 player (with no software volume limiter) for her little cousins, and that she learned he always sets the volume as loud as possible when listening to music (which worries his parents).

I had the idea of building a device that would interface with the headphones to the mp3 player (or any other audio device) and that would reduce the volume so it would become impossible to set it too loud.

I see basically two ways of doing this:
  1. To build a device that would clip (easiest) or reduce (trickier) the headphone's signal as soon ans it goes beyond a preset amplitude. I think this can be done with a couple of transistors and would be a good solution.
  2. To build a device that always decreases the volume by reducing the headphone's signal amplitude. This can be easily done with resistors but would waste energy and the volume reduction would vary depending on the headphones impedance.
Since I am a bit short on time (it must be done for Christmas) and since I think educating the child would be a much better solution to this problem, I went with the second design choice: inserting a resistor in series with the headphones in order to decrease the signal amplitude by creating a simple voltage divider.

Materials
This little project requires very few materials:
  • A couple of resistors. Their value depends on the headphone's impedance.
  • An old lipstick for the casing
  • A piece of perf board. Not really required but helps to make it more robust (it's going to be used by a child, so it must be sturdy)
  • A jack plug and a jack socket.
  • A piece of wire.
Construction
Simply solder the jack socket to the perf board (which should be cut to fit inside the gutted lipstick ) and put a resistor in series for each channel (left and right). Then connect the jack plug to the resistors and to ground by using the wire.

I drilled a hole on one end of the lipstick so the jack socket would fit tightly and stick out from it. The wire with the jack plug goes out of a hole on the other end of the lipstick.

At first, I chose to use a 10 Ohms resistor for each channel since I figured that the headphone impedance would be around 16 Ohms at DC. Later, I found out that 10 Ohms wasn't enough , so I added another 10 Ohms resistor in series on each channel, making the total resistance per channel 20 Ohms.

This means that with 16 Ohms headphones, the resulting volume would be 16/(16+20) = 44% of the original volume.

I know this volume reduction technique is very wasteful in terms of power and not very elegant, but it works fine and makes the very loud sounds just a bit more tolerable.

Finally, I used some isolating tape to make the construction a bit more resilient to children.

7 comments:

Anonymous said...

I must congratulate you on your design. I have always had trouble with these sort of devices - small, fiddly and likely to come apart or look bad because the pieces don't mate well due to small errors in my design.

I am of the opinion that children's hearing damage is repairable, anyone going to the local swimming pool on a Saturday afternoon will agree, as eventually some 14 year old girl is likely to scream in their ear. This must happen to children as well, they don't seem to be the worst off because of it when entering adult life.

Carlos said...

Thanks, I'm happy you like my design.

I know that children ears (and the rest of their bodies) are very resilient. Nevertheless, listening to very loud music for extended periods of time can cause unrepairable ear damage at least on adults and it is always best to prevent this from happening.

Anonymous said...

An easy way to make it smaller and perhaps even more sturdy is to make it on a board as small as possible and then just cover it in epoxy. Can even be shaped into a funnylooking figure the kids might enjoy having attached to their soundsource.

Chris....

Anonymous said...

On second thought: When I looked on a 3.5mm jack similar to the one you have used I think there is actually room to fit the two resistors inside the plug. Especially if you are able to use SMD kind resistors.

DanMan said...

how did u cleanly cut your pcb?

Carlos said...

I used a metal saw and some sand paper to cut the circuit board.

Anonymous said...

Another option, that;s not wasteful of power:

a pair of low voltage zener diode placed in parallel with the load: wired between the shield of the head phones and each signal line, independently. (With the pointy end toward the signal line)

When the headphone volume is adjusted above the zener's breakdown voltage, it clips the signal above that voltage. The rest of the time, it behaves as a reverse biased diode (minimal current)

In practical terms, this means that if you turn the volume up too loud, your music sounds distorted, since a good portion of the signal is being clipped. This would make a hard volume limiter.

Might have to experiment a bit with the zener values...