PGA 2311 Test Circuit - diyAudio
Go Back   Home > Forums > Amplifiers > Chip Amps

Chip Amps Amplifiers based on integrated circuits

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 3rd March 2005, 05:52 PM   #1
HarryK is offline HarryK  United Kingdom
diyAudio Member
 
Join Date: Mar 2005
Location: UK
Default PGA 2311 Test Circuit

Hello All,

Hope someone can help with a basic problem I'm having.

First of all I am Software engineer, trainee level electronics engineer.

I've just bought a couple of PGA 2311 volume controllers and I kind of assumed programming them would be easy. I've done lots of SPI stuff.

But I have two problems.

1) When I connect the audio from a PC I can hear output on Rout pin. This shouldnt be happening because the Datasheet says the controller sets itself to zero on startup. What have I done wrong.

2) Whats the most basic test circuit for this chip.

3) Does anyone have a simple diagram showing how I should be connecting this to a PC audio source, do I need to change to input level or something.

Any help much appreciated.

H
  Reply With Quote
Old 3rd March 2005, 08:58 PM   #2
diyAudio Member
 
tlmadsen's Avatar
 
Join Date: Aug 2003
Location: Roskilde - The vikingships
HI Harry

It is not quite clear, but are your PC somehow connected to your PGA2311, at the same time as you connect the audio output (from your PC) to the input of the PGA2311 ??

Maybe you could make a schematic of your set-up. That would make it a lot easier for us to help you.

Regards

Thomas
  Reply With Quote
Old 4th March 2005, 10:20 AM   #3
HarryK is offline HarryK  United Kingdom
diyAudio Member
 
Join Date: Mar 2005
Location: UK
Hi


The Setup is as follows:

A) PC Running Windows

B) PIC based board connected to the PC via serial.

C) Audio From PC Audio Connector into PGA2311

D) PC sends instruction to PIC to raise volume.

E) PIC sends SPI type commands to PGA2311 to raise volume.

The Audio input (+ and -) from PC are connected to pin 16(+) and 15(-)

I've connected a +5 digital voltage to pin 4 and also a Digital Ground to 5, I've also connected SDI, SCLK and CS.

I've connected a cable from pin 14 (Vout) to the output amplifier.

I've connected the + and - supply on the breadboard to pins 12 and 13. But the chip gets very hot (I've tried two now).

Do you know how I should be connecting the pins, the datasheet doesnt seem to help me and an internet search doesnt seem to show a schematic of anyones elses setup.

I would have thought that If I just connect the SDI, SCLK, Digital +5 and the Ground I should be able to send commands and see a voltage rise or fall somewhere, or am I wrong.

What am I doing wrong.

H






  Reply With Quote
Old 7th March 2005, 07:35 AM   #4
paulmac is offline paulmac  Australia
diyAudio Member
 
paulmac's Avatar
 
Join Date: Oct 2004
G'day Harry.

This chip is next on my list of things to play with. You've beaten me to it. I'm also planning on using a PIC to control this, using inputs from a rotary encoder to change the volume. An LCD display will complete the preamp.

1: The + and - supplies from the breadboard: they *ARE* +/- 5v, aren't they? If it's getting hot, I'd reckon you have 12 or 15 volts there instead. The zero volt rail from the breadboard should also connect to pin 16 and 10, and once only to the digital ground on pin 5.

Figure 5 on page 11 of the datasheet is the most basic layout. It sounds like you have it right.

Essentially you should be unplugging your amp from the PC and putting your circuit in the middle. Does your amp and speakers setup work when plugged straight into the PC? (Hope that's not a silly/rude question).
By the sounds of it, (gee it's hard not to make bad puns in this forum) you have a headphone plug plugged into the PC, and you have connected the other end of the cable by connecting the centre core of one channel to pin 16, and the earth braid of the cable connected to pin 15. Then the amp connects it's signal earth to pin 15 also, and the centre core to pin 14. I know I'm reiterating what you've already said, but....

What did you do with the other channel coming out of the PC?
I haven't tried it myself, so I'm happy to be proven wrong, but perhaps the chip is picking up a signal on the other channel because it's floating? If you ground the other input pin 9 to pin 10, I bet you get nothing from pin 11.
And yes, according to the data sheet, you should have no audio through the chip until you send it a volume setting. I'll have to try this one. The spec says 130dB separation...
Unfortunately, you have to stick with changing an audio level, rather than being able to measure a voltage. You could put a 1v sine wave through it and measure the AC volts on the output, but you have the PC there already.

I'd suggest you set up your system so that the PC is playing music, the signal goes through the breadboard, and then into the amp. Then temporarily jumper pin 16 to pin 14. This takes the circuit out of the loop, so you can set the volume on the amp to something normal, so you don't get the crp scared out of you when you figure it out and it bursts into life!

Hope this helps.

Paul
  Reply With Quote
Old 7th March 2005, 08:59 AM   #5
HarryK is offline HarryK  United Kingdom
diyAudio Member
 
Join Date: Mar 2005
Location: UK
Hi

Thats a good suggestion about the other channels ground. I think you could be right.

I'll give it a try.

Cheers
  Reply With Quote
Old 9th March 2005, 10:04 AM   #6
SDF is offline SDF  France
diyAudio Member
 
Join Date: Jun 2002
Location: FRANCE
I tried to used a PGA2311 with an Atmel C but I don't know if the PGA2311 needs capacitor to block the output DC offset (I don't know if this componant has a DC offset???).

Anybody could answer to me ? In advance, thanks for your reply.
  Reply With Quote
Old 9th March 2005, 09:27 PM   #7
diyAudio Member
 
TwoSpoons's Avatar
 
Join Date: Oct 2004
The data sheet says 0.25mV offset typical for 0dB gain. The application diagram shows no DC blocking caps.
  Reply With Quote
Old 10th March 2005, 03:33 PM   #8
SDF is offline SDF  France
diyAudio Member
 
Join Date: Jun 2002
Location: FRANCE
thanks for your reply!
  Reply With Quote
Old 11th March 2005, 03:22 PM   #9
murphy is offline murphy  Germany
diyAudio Member
 
murphy's Avatar
 
Join Date: Feb 2005
Location: south-west germany
Lightbulb PGA 2311 gets very hot

If your chip get very hot , the power supply is not switched in correct. You HAVE to switch all supply voltages & analog and digital) at the same time..
  Reply With Quote
Old 12th March 2005, 04:43 AM   #10
mcs is offline mcs  Denmark
diyAudio Member
 
Join Date: Aug 2003
Location: Denmark
Default Re: PGA 2311 gets very hot

Quote:
Originally posted by murphy
You HAVE to switch all supply voltages & analog and digital) at the same time..
No, the PGA chips will work fine with only the digital supply connected (used for stand-by in my circuit).

Best regards,

Mikkel C. Simonsen
__________________
My personal electronics website
Remote control kits website
  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
Integrated AMP with PGA 2311 preamp kpero Chip Amps 5 26th April 2009 08:05 PM
my zen test mccreamark Pass Labs 1 17th July 2008 03:11 AM
Is there any test cd to test jitter using a scope ? gaetan8888 Digital Source 4 10th August 2007 10:24 AM
CDM4 troubleshooting - green LED laser test circuit Mikelo Digital Source 6 13th May 2005 07:51 PM
Trouble with speaker protection circuit (Randy Slone's circuit) whalefat Solid State 3 13th April 2005 11:13 AM


New To Site? Need Help?

All times are GMT. The time now is 06:38 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