PGA2311 + ATMEGA8 VOLUME CONTROL - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

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
Reply
 
Thread Tools Search this Thread
Old 10th September 2011, 07:16 PM   #1
diyAudio Member
 
jash2008's Avatar
 
Join Date: Sep 2008
Location: MP
Default PGA2311 + ATMEGA8 VOLUME CONTROL

Hi every one,
This is my just finished digital volume controller based on pga2311 / 2310 and ATMEGA8 controller. hope you will like this.
16 pin connector is LCD 16*2
thanks
Attached Files
File Type: pdf pga2311+mega8.pdf (27.6 KB, 839 views)
File Type: zip pga2311+mega8.zip (30.1 KB, 485 views)
  Reply With Quote
Old 11th September 2011, 01:10 PM   #2
mkul is offline mkul  Poland
diyAudio Member
 
Join Date: Oct 2004
Location: wroclaw
Hi jash2008,
You did not write if you finished PCB, if you did not you may consider improving your project in following details:
- use separate supply line for digital and analog sections,
- in most applications input buffers are necessary,
- IMO an rotary encoder is a better option for volume level control than microswitches,
- there are some unused atmega's pins so maybe use them for an input selector and remote signal receiver,
- an external oscillator is not necessary in this application.

A few months ago I finished my PGA2311-based preamp with all possible function which I could think of, so maybe it will help you little bit: PGA2311 based stereo/2.1/2.2 digitally controlled preamplifier with real-time clock

Regards
mkul
  Reply With Quote
Old 21st September 2011, 06:24 PM   #3
diyAudio Member
 
jash2008's Avatar
 
Join Date: Sep 2008
Location: MP
Quote:
Originally Posted by mkul View Post
Hi jash2008,
You did not write if you finished PCB, if you did not you may consider improving your project in following details:
- use separate supply line for digital and analog sections,
- in most applications input buffers are necessary,
- IMO an rotary encoder is a better option for volume level control than microswitches,
- there are some unused atmega's pins so maybe use them for an input selector and remote signal receiver,
- an external oscillator is not necessary in this application.

A few months ago I finished my PGA2311-based preamp with all possible function which I could think of, so maybe it will help you little bit: PGA2311 based stereo/2.1/2.2 digitally controlled preamplifier with real-time clock

Regards
mkul
hi mkul,

thanks for your reply.
this was just a basic project to understand the chip. my final project consist of only sony remote controller with single RBG led to indicate all conditions such as stdby mode/mute mode/play mode/vol. full indication etc.
however due to circuit complexity, i have taken same +5 supply for both digi & analog. i understand the consequenses.

rotatory encoders some times misbehaves untill strictly programmed.
i don't know how to use an internal oscilator so generally i use external.

here is the final schematic.

your project is really appreciable. looks cool. do you use BASCOM also for coding.
Attached Images
File Type: jpg IMAG0131.jpg (279.4 KB, 1010 views)
File Type: jpg IMAG0132.jpg (280.5 KB, 934 views)
File Type: jpg IMAG0135.jpg (267.8 KB, 873 views)
File Type: jpg IMAG0136.jpg (252.5 KB, 844 views)
Attached Files
File Type: pdf pga2310+mega32.pdf (47.9 KB, 274 views)

Last edited by jash2008; 21st September 2011 at 06:38 PM.
  Reply With Quote
Old 22nd September 2011, 10:46 AM   #4
mkul is offline mkul  Poland
diyAudio Member
 
Join Date: Oct 2004
Location: wroclaw
hi jash2008,
I could help you with rotary encoders if you wished to, they are really simple to handle and IMO very useful and I haven't ever encountered any problems with them (using both bascom and C).
There is nothing wrong with an external oscillator, but it is not necessary for this project, and atmega is by default set to use internal one so if you you want to make use of the external oscillator you have to make some changes in fuse bits section. So I recommend you removing external oscillator from your schematic.
You can use daisy connection for more than one PGA driven from one microcontroller - it will save some pins (see PGA2311 datasheet for details).
If you wish you may copy my project. Now I am working on a new version with build-in 2-way 2nd order electronic crossover with remotely controlled phase switch for bass section and probably full speakers protection circuit. To do that I had to remove real time clock which was IMO marginally usable. So maybe it is worth to wait a few week for the project to be finished.
By the way I am using C for programming AVRs. I started with Bascom, but it was really hard to manage long code in this language and generated firmware consumed much more uC memory than the same written in C.
Best regards
Michael
  Reply With Quote
Old 27th September 2011, 04:06 PM   #5
diyAudio Member
 
Join Date: Sep 2005
Location: Tuscany, Italy
Hi Michael,
I sent you a mail through the forum since I'm interested to the communication routines with the PGA2311.

Regards,

Roberto
  Reply With Quote
Old 29th September 2011, 08:54 AM   #6
mkul is offline mkul  Poland
diyAudio Member
 
Join Date: Oct 2004
Location: wroclaw
Hi Washburn_it,

Please send it again or send me a PM, because I did not receive anything.

Best regards
Michael
  Reply With Quote
Old 13th October 2011, 10:42 AM   #7
diyAudio Member
 
Join Date: Sep 2005
Location: Tuscany, Italy
Hi Michael, I sent you a PM.

Regards,

Roberto
  Reply With Quote
Old 15th August 2012, 08:59 AM   #8
diyAudio Member
 
Join Date: Aug 2012
Location: Ireland
Send a message via Skype™ to kulamario
jash2008
Do you have PCB for this basic project?
i want to do it
can you upload PCB only from first post
  Reply With Quote
Old 16th September 2012, 07:49 PM   #9
diyAudio Member
 
Join Date: Aug 2012
Location: Ireland
Send a message via Skype™ to kulamario
do you have PCB layout?
for this project?
  Reply With Quote
Old 3rd May 2013, 09:31 AM   #10
diyAudio Member
 
Join Date: Jan 2010
Location: south azerbayjan
thanks
  Reply With Quote

Reply


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume control on DVD player remote. Lose resolution at low volume? Circlotron Digital Source 2 10th June 2011 07:20 PM
Replacing broken volume control with digital volume control Gunawan W Solid State 19 15th December 2010 10:46 AM
i need preamp schematics w/o tone control or volume control hernanstafe Parts 7 30th January 2008 03:12 AM
remote control motorised control for volume pot/knob CharlesY Parts 0 25th July 2005 11:12 AM
PGA2311 control Hisatugo Digital Source 0 15th June 2005 10:07 PM


New To Site? Need Help?

All times are GMT. The time now is 08:27 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2