is there an off the shelf preamp module that works with the apple remote? - diyAudio
Go Back   Home > Forums > Source & Line > Analog Line Level

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, 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 August 2014, 12:34 PM   #1
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
Default Arduino input switching with PGA2311 volume control...revised apple remote thread

I can solder and basic assembly/construction skills. I understand tube and simple solid state schematics but this is new to me.

I have seen some pga2311 modules controlled by the apple remote but I want to understand either how to make that work or if there is a module available that works with the apple remote out of the box.

I know that arduino might be an option but I know nothing about it.

I am OK learning and if some type of programmer can be had for cheap and is simple to do I am willing to do that.

I have a pga2311 already but I don't mind spending a few dollars on a new module if necessary.

Last edited by cjkpkg; 12th August 2014 at 07:30 PM.
  Reply With Quote
Old 10th August 2014, 04:16 PM   #2
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
After searching for a few hours it looks possible to take my existing eBay pga2311 kit and with the addition of something like an arduino uno I might accomplish what I want.

Basically I would like to add remote switching input and volume control to an existing aikido preamp using the apple remote.

The unit works as is but only with the crappy remote that came with it.

My Preamp Project: Arduino, I2C, relay selector+attenuator, tube stage

Something very similar to what Max has been working on here. Suggestions on how to integrate an arduino into my existing pga2311?
  Reply With Quote
Old 10th August 2014, 06:00 PM   #3
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
Here is what I have now...I am thinking that the board in back of the LCD needs to be removed and the arduino would replace its functionality. I would probably need a new pot/encoder right? And potentially a new IR receiver. I have it working downstream from my Aikido now and it is silent and all functions work as I want except for the remote.

Click the image to open in full size.
  Reply With Quote
Old 11th August 2014, 11:14 AM   #4
diyAudio Member
 
ElectroNick's Avatar
 
Join Date: Dec 2002
Location: The Netherlands
I don't think you need to replace anything more than the CPU-board.
The encoder and IR receiver are re-usable.
All it takes is som creative programming with an Arduino.

ps : maybe the wavelength of the IR-receiver could be an isue.
__________________
BOZ & A40
  Reply With Quote
Old 11th August 2014, 01:00 PM   #5
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
Quote:
Originally Posted by ElectroNick View Post
I don't think you need to replace anything more than the CPU-board.
The encoder and IR receiver are re-usable.
All it takes is som creative programming with an Arduino.

ps : maybe the wavelength of the IR-receiver could be an isue.
Yes, from what I understand the Arduino will need to go in between the screen module and the PGA board. Beyond that I need to learn more.
  Reply With Quote
Old 12th August 2014, 07:33 PM   #6
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
OK I am beginning to understand what I need to do.

So I think I have the apple remote issue handled with the Arduino. I also think I am good with the volume control piece.

What I am missing though is I am in need of some advice on how to handle the input switching using the Arduino. Any thoughts or ideas on how to proceed here is appreciated.
  Reply With Quote
Old 12th August 2014, 09:56 PM   #7
diyAudio Member
 
ElectroNick's Avatar
 
Join Date: Dec 2002
Location: The Netherlands
Find out how the original controller works :

- how are the relays controlled (SPI/I2C/direct)
- how is the volume chip controlled (SPI / I2C)
- how is the LCD controlled (i guess parallel 4 bit)

There are loads of examples how to do this, you're not the first one.
So don't try to reinvent the wheel, start with some working (arduino) sketches and work from there.
This is what i'm also trying....
__________________
BOZ & A40
  Reply With Quote
Old 13th August 2014, 12:33 AM   #8
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
Attached are the schematic of the PGA3211 system that I have.

The relays are controlled by the controller IC. Best I can tell the signal comes from pins 36, 37, or 38 and sent to the corresponding 2n5551 then to its relay to make the connection.

So what I need to do is have the Arduino take the chore of this activity.

So basically I want the Arduino to completely replace the controller that is mounted behind the LCD.

With it I want the Arduino to send info to the LCD, Control the PGA2311 volume, and allow switching of inputs using the apple remote.

Click the image to open in full size.
Click the image to open in full size.
  Reply With Quote
Old 13th August 2014, 11:31 AM   #9
diyAudio Member
 
ElectroNick's Avatar
 
Join Date: Dec 2002
Location: The Netherlands
Aha, it's getting clearer.
The relais go on the analog ports of the Arduino.
SPI ports are predefined in Arduino.
All you need is to pick some ports for the LCD and IR receiver.
Look at here, MAXW has some usefull info...

Regards,
Nick
__________________
BOZ & A40
  Reply With Quote
Old 13th August 2014, 09:56 PM   #10
cjkpkg is offline cjkpkg  United States
diyAudio Member
 
Join Date: Aug 2008
Location: Roswell GA
I received my Arduino Uno and started playing with Fritzing.

I figured that in order to have enough pins to do what I want I needed a new LCD that was set up for I2C so it only needs 4 pins.

Since I am not using an IC for switching inputs I set aside 3 pins for that duty.

I have accounted for an IR receiver as well as a rotary encoder - using my existing one.

Now I have to learn how to code this bugger and figure out which pins I need to assign for what duty.
Attached Images
File Type: png cjkpkg_arduino.png (169.2 KB, 92 views)
  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
A remote control preamp in the works timbarnes Analog Line Level 57 11th May 2014 07:57 PM
ABBRES Remote Control Module Ronmeister Swap Meet 2 17th April 2014 03:24 AM
volume remote control module with PGA 2311 Jempie Analog Line Level 159 22nd February 2014 03:49 PM
Remote controlled Preamp for PW120 module dyolFkniP Solid State 1 8th January 2011 10:03 PM
HiFi Premp schematics? Mlaen Solid State 9 3rd October 2004 06:00 PM


New To Site? Need Help?

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