PGA2310 "how to" - diyAudio
Go Back   Home > Forums > Amplifiers > Solid State

Solid State Talk all about solid state amplification.

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 2nd December 2008, 09:59 AM   #1
day1118 is offline day1118  Australia
diyAudio Member
 
Join Date: Oct 2008
Default PGA2310 "how to"

Hi guys, I have built a TDA2052 chip amp, and want to impliment a PGA2310 volume control. I have done some (very) simple PIC programming, and wondering if anyone knows of a tutorial or something of the sort for the use of a PGA2310 (most importaintly the serial communication) I have tried google, but the best I got was someones code which was commented in German.

Thankyou!
  Reply With Quote
Old 2nd December 2008, 10:28 AM   #2
rhysh is offline rhysh  United Kingdom
diyAudio Member
 
rhysh's Avatar
 
Join Date: Sep 2008
Location: Southampton
Send a message via MSN to rhysh
I am looking for exactly the same thing, take a look at this it may help you.
  Reply With Quote
Old 2nd December 2008, 01:22 PM   #3
diyAudio Member
 
Join Date: Sep 2005
Hello all,

I am doing this right now - it's a good project to start with!

When you say that you have had experience with PICs, did you want to do this project with assembly or C? Do you have a current version of MPLab and a programmer?
  Reply With Quote
Old 2nd December 2008, 01:23 PM   #4
rhysh is offline rhysh  United Kingdom
diyAudio Member
 
rhysh's Avatar
 
Join Date: Sep 2008
Location: Southampton
Send a message via MSN to rhysh
Quote:
Originally posted by rtarbell
Hello all,

I am doing this right now - it's a good project to start with!

When you say that you have had experience with PICs, did you want to do this project with assembly or C? Do you have a current version of MPLab and a programmer?

Are you using IR remote control? Also are you using a LCD display?

Rhys
  Reply With Quote
Old 2nd December 2008, 03:31 PM   #5
diyAudio Member
 
Join Date: Sep 2005
I am using an LCD 16X2 display for messages. I was using an infrared remote control (with a PNA4602 as the receiver, and an 18F1221 with 555 Timer in the remote for a transmitter), but I disabled it to focus on other issues. I never got the infrared receiver to receive the messages properly. There were always timing issues that I saw on the receiving end of it, so I just skipped the remote control thing to get the rest of it working.
  Reply With Quote
Old 2nd December 2008, 03:58 PM   #6
rhysh is offline rhysh  United Kingdom
diyAudio Member
 
rhysh's Avatar
 
Join Date: Sep 2008
Location: Southampton
Send a message via MSN to rhysh
Quote:
Originally posted by rtarbell
I am using an LCD 16X2 display for messages. I was using an infrared remote control (with a PNA4602 as the receiver, and an 18F1221 with 555 Timer in the remote for a transmitter), but I disabled it to focus on other issues. I never got the infrared receiver to receive the messages properly. There were always timing issues that I saw on the receiving end of it, so I just skipped the remote control thing to get the rest of it working.

You should take a look at the sony / philips IR protocol, and use a infared remote control. It would be a lot easier, you can just find the codes on the internet.
  Reply With Quote
Old 2nd December 2008, 05:28 PM   #7
diyAudio Member
 
Join Date: Sep 2005
"You should take a look at the sony / philips IR protocol, and use a infared remote control. It would be a lot easier, you can just find the codes on the internet."

Indeed! I would suggest, at least for the remote, that

A) Make it the last thing to do on your project (just so that you know that everything else works)
B) Use a simple chip that implements a simple remote control protocol (Sony, Phillips, RCA, etc.) Similarly, Holtek (www.holtek.com) makes some chips
specifically for remote control applications. They can encode and decode for you – very simple!

Instead of using one of these chips, I tried to make my “own” remote control protocol, which is probably why it didn’t work! Just to give you an idea, it looked like this:

Transmitter side
When user presses a button, send 8 bits of volume control data through 18F1220 UART at 9600 baud --> Modulate signal at 38kHz using 555 Timer --> 900nm LEDs used to send infrared

Receiver Side
PNA4602 infrared receiver demodulates signal at 38kHz --> 18F4520 UART receives information and decodes the 8 bits to determine what was sent
  Reply With Quote
Old 3rd December 2008, 05:39 AM   #8
day1118 is offline day1118  Australia
diyAudio Member
 
Join Date: Oct 2008
Hi guys, thanks for replies!
Either C or assembly would be fine, hopefully well commented though!!!

I will eventually impliment a remote and LCD's and source selectors and even computer connection as the system will run in every room of the house with the ability to connect to any source, change song or radio frequency and have independent volume in each room.

Thanks heaps!
  Reply With Quote
Old 3rd December 2008, 06:54 AM   #9
rhysh is offline rhysh  United Kingdom
diyAudio Member
 
rhysh's Avatar
 
Join Date: Sep 2008
Location: Southampton
Send a message via MSN to rhysh
I cant do this I have tried and tried with assembler but i cant get it to work, all i am trying to do is switch a relay on and off with a remote control string, and have its status displayed on the screen.
  Reply With Quote
Old 3rd December 2008, 12:36 PM   #10
diyAudio Member
 
Join Date: Sep 2005
"I cant do this. I have tried and tried with assembler but i cant get it to work, all i am trying to do is switch a relay on and off with a remote control string, and have its status displayed on the screen."

Do you have an oscilloscope available to see your data signals? What PIC microcontroller are you using? An oscilloscope would be nice to see the data being sent to the PGA2320.

For my project, I have 8 buttons on the front panel of the unit (“local buttons”), and then the “same” 8 buttons on a remote control. Does your unit have local buttons on the front panel as well? I would get these local buttons working before I tried to get the remote control working. If you are getting messages to display on your LCD, then it sounds like you have the correct underlying functions, so that’s a great step in the right direction!
  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
What makes an amplifier "bright", "warm", or "neutral"? JohnS Solid State 51 13th December 2009 06:42 PM
Charcoal "Supreem" hi-density foam "enclosure" IG81 Multi-Way 0 23rd April 2009 01:34 PM
"Void free" or "no core gaps" plywood rick57 Multi-Way 6 14th March 2007 01:09 PM
Some final pics of "Stacks" revisited and "Askew" with stand Andy G Multi-Way 2 3rd February 2005 06:07 AM
Anyone used Scan-Speak's "Flow Resistors" or "Aperiodic Vents"? Ignite Multi-Way 3 18th November 2001 08:42 AM


New To Site? Need Help?

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