Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Chip Amps Amplifiers based on integrated circuits

Adding Volume LCD display ...
Adding Volume LCD display ...
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 29th June 2005, 05:23 PM   #1
skappy is offline skappy  France
diyAudio Member
Join Date: Jan 2004
Location: France
Default Adding Volume LCD display ...

Hi everybody,
i'm just about to build amplifier based on the LM3886.
It should be a 5.1 type .
I would like to add to the basic amplier a general volume command and (this is where the thing come difficult) i would like to add a lcd which display the sound level (in Db for exemple).
I can think that it will require analogic to numeric conversion and binary to decimal conversion but i can't go further ...

Do you know where i can find help please ?

Thank you very much
  Reply With Quote
Old 29th June 2005, 09:35 PM   #2
matt20102 is offline matt20102  United States
diyAudio Member
matt20102's Avatar
Join Date: Feb 2005
Location: Detroit
Send a message via AIM to matt20102
Are you referring to a volume (sound pressure level) display or a output voltage (level) display?

If you want a SPL meter, you could hide an electret element somewhere in the room (perhaps even in the amplifier case) and calibrate it's output voltage with a good SPL meter. The output voltage can be fed into a A/D converter and treated accordingly.

You could also amplify the signal appropriately (from the electret element) and feed it into a LM3915 (log LED display driver).

If you just want a level output, the LM3915 is the easiest way to go.
  Reply With Quote
Old 29th June 2005, 10:35 PM   #3
Doovieman is offline Doovieman  United States
diyAudio Member
Join Date: Jul 2003
Location: Berkeley, California
I'm actually doing/have done something similar. I have an amp that's got a bitmap LCD and is all digitally controlled. When you adjust the volume, a little bar increases/decreases and tells you dB level. Given that I had an LCD, I already had a microcontroller (8051 in my case)...The LCD connected via SPI to the micro. The audio did indeed come to the micro via A/D converter. Then you just have to write a basic algorithm to convert that binary number to dB. Pretty easy to do if you know a micro decently well. Anyway, that would be my solution, just use a microcontroller to do it.

  Reply With Quote
Old 30th June 2005, 12:37 PM   #4
skappy is offline skappy  France
diyAudio Member
Join Date: Jan 2004
Location: France
i have well understand your answer...
I agree that a micro controler can do the job but my big problem is that i don't master at all this kind of technology...
i can imagine how thing should be employ but i can't built the circuit..

do you know where i could find a kind of frame or examples in order to start in project ?

Thank you very much
  Reply With Quote
Old 30th June 2005, 12:41 PM   #5
owen is offline owen  United Kingdom
diyAudio Member
Join Date: Mar 2004
Location: Shilton
I'd approach it in a slightly different way, but still using a micro - I'd use a digital volume control that can be controlled by the PIC (take a look at PiCAXe) and go from there...

It's easy to find rotary encoders that you can use for other functions too, to control the volume control...

Just a slightly different path - as you then know which volume setting you have (as well as balance etc) stored in the PIC.. much easier to output to a display!

Have fun

  Reply With Quote
Old 2nd July 2005, 09:09 AM   #6
skappy is offline skappy  France
diyAudio Member
Join Date: Jan 2004
Location: France
Hi Everybody,
as my ability in electronic developement is really poor, do you know where i could get a kind of similar circuit in order to start my project ...

Thank you very much
  Reply With Quote
Old 2nd July 2005, 12:36 PM   #7
metal is offline metal  Jordan
diyAudio Member
metal's Avatar
Join Date: Jan 2004

I have provided a thread many weeks ago regarding volume control using PIC16F84A, PGA2310, and an LCD module.

You can watch the thread at :


  Reply With Quote
Old 2nd July 2005, 01:55 PM   #8
demogorgon is offline demogorgon  Norway
diyAudio Member
demogorgon's Avatar
Join Date: Jul 2004
Location: Behind you.
Send a message via MSN to demogorgon
you might want to take a look at mr.hennessy's pages for inspiration.
he's done something simelar to what you describe, and documented it rather well.


  Reply With Quote
Old 2nd July 2005, 02:08 PM   #9
jackinnj is offline jackinnj  United States
diyAudio Member
jackinnj's Avatar
Join Date: Apr 2002
Location: Llanddewi Brefi, NJ
Adding Volume LCD display ...
National Semi has a chip, the LM3915, which will will read out in 3dB increments, another of their chips will read out in VU. The LM3915 is intended to drive LED Bargraphs -- but you can translate the output (with a little "software in silicon") into numeric values for display on an LCD. without a microcontroller, however, getting the data onto the LCD display is a lot of work. as METAL points out you need to run the data serially -- this necessitates using a microcontroller (from any numer of sources). it is possible but a waste of time to do all the interfacing without a microcontroller.

you can quickly learn to program the Basic Stamp II -- and the company has a bulletin board with hundreds of members to help you out. unfortunately the Stamp doesn't have built in floating point math so you have to do a couple twists and turns to generate logarithms and exponentials. the URL is www.parallax.com

the BasicX BX24 from NetMedia www.basicx.com costs as much as a stamp but has the floating point math you need -- can be programmed over a serial cable like the stamp -- and has the benefit of 8 10-bit ADC's. The group of users is smaller, the programming language is a little more difficult, but the chip is very useful.

the folks from Netmedia and Parallax also sell LCD's, relay and servo drivers
  Reply With Quote
Old 3rd July 2005, 03:55 PM   #10
skappy is offline skappy  France
diyAudio Member
Join Date: Jan 2004
Location: France
Thank you very mucj for all your answers. I will visit them and try to understand ...
Thank a lot again for your assistance.
I will keep you inform
  Reply With Quote


Adding Volume LCD display ...Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
is this the correct way of adding a volume control? jarthel Tubes / Valves 4 30th March 2007 09:32 AM
Adding a Volume Control(PLEASE HELP) jodogzzz Everything Else 0 8th October 2006 11:19 AM
Conception of a lcd volume display for dummy skappy Chip Amps 7 3rd November 2005 01:39 PM

New To Site? Need Help?

All times are GMT. The time now is 07:49 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 16.67%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio