|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| 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 |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Oct 2008
|
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! |
|
|
|
|
#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? |
|
|
|
|
#4 | |
|
diyAudio Member
|
Quote:
Are you using IR remote control? Also are you using a LCD display? Rhys |
|
|
|
|
|
#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.
|
|
|
|
|
#6 | |
|
diyAudio Member
|
Quote:
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. |
|
|
|
|
|
#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 |
|
|
|
|
#8 |
|
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! |
|
|
|
|
#9 |
|
diyAudio Member
|
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.
|
|
|
|
|
#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! |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| 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? |
| Page generated in 0.13448 seconds (76.39% PHP - 23.61% MySQL) with 11 queries |