My Preamp Project: Arduino, I2C, relay selector+attenuator, tube stage - Page 3 - 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 6th March 2011, 08:05 PM   #21
maxw is offline maxw  United Kingdom
diyAudio Member
 
maxw's Avatar
 
Join Date: Jun 2004
Location: London
Well I was having trouble finding a chassis I liked so I decided to make a quick LM1875 gainclone in the mean time. Initial tests with the Arduino and Attenuator work really well!
Attached Images
File Type: jpg IMG_0187.jpg (176.1 KB, 1167 views)
File Type: jpg IMG_0196.jpg (130.2 KB, 1114 views)
File Type: jpg IMG_0198.jpg (261.2 KB, 1151 views)
File Type: jpg IMG_0189.jpg (182.5 KB, 1116 views)
  Reply With Quote
Old 8th March 2011, 11:00 AM   #22
diyAudio Member
 
Join Date: Aug 2005
Looks nice!

Tip: It's better to give each channel it's separate power cables from the psu, instead of daisy-chaining like that.
  Reply With Quote
Old 31st March 2011, 09:01 PM   #23
rade95 is offline rade95  United States
diyAudio Member
 
Join Date: Apr 2010
Location: Boulder, Colorado
Default SPI for PGA and serial LCD

hi there, I don't have much experience with SPI but has anyone thought of using a serial LCD in SPI mode to display the INPUT section and PGA volume level?
  Reply With Quote
Old 1st April 2011, 01:43 PM   #24
diyAudio Member
 
merlin2069er's Avatar
 
Join Date: Sep 2008
Location: Toronto
Blog Entries: 1
Send a message via MSN to merlin2069er
Neat project. I was thinking of getting the arduino to do something similiar.

arduino >> stepped attenuator >> LDR >> output
  Reply With Quote
Old 1st April 2011, 03:16 PM   #25
rade95 is offline rade95  United States
diyAudio Member
 
Join Date: Apr 2010
Location: Boulder, Colorado
Got mine working last night with I2C 2x16 LCD and a proto shield. I still have to connect the PGA chip though. I will be using PGA2311 and I still need to build the input selection relay board. I will post some pictures of what I have done so far, later today. The problem I am having I think is in the rotary encored reading routine, as reading seem to bounce too much. There is a way to do de-bouncing in SW, so I will look into that and post my findings and a possible fix. Thanks maxw for the original source code. Are you still working on improving the code?
/R
  Reply With Quote
Old 2nd April 2011, 03:44 PM   #26
maxw is offline maxw  United Kingdom
diyAudio Member
 
maxw's Avatar
 
Join Date: Jun 2004
Location: London
Quote:
Originally Posted by rade95 View Post
Thanks maxw for the original source code. Are you still working on improving the code?
/R
Yeah defo, I only really used that code for testing, I'll work on it more soon. I've seen a debounce library about, have a search, might be useful although I've had no problems as is.
  Reply With Quote
Old 17th April 2011, 04:21 AM   #27
chryses is offline chryses  United States
diyAudio Member
 
Join Date: Apr 2010
Max,

This is exactly what I'm looking for. Would you be willing to post the gerber files you used?
  Reply With Quote
Old 19th April 2011, 06:57 AM   #28
maxw is offline maxw  United Kingdom
diyAudio Member
 
maxw's Avatar
 
Join Date: Jun 2004
Location: London
Quote:
Originally Posted by chryses View Post
Max,

This is exactly what I'm looking for. Would you be willing to post the gerber files you used?
Here are the eagle files. I also have some spare PCBs/Parts if you wish.
Attached Files
File Type: zip Input-Attenuator MK1.zip (34.8 KB, 297 views)
  Reply With Quote
Old 20th April 2011, 02:11 AM   #29
chryses is offline chryses  United States
diyAudio Member
 
Join Date: Apr 2010
Quote:
Originally Posted by maxw View Post
Here are the eagle files. I also have some spare PCBs/Parts if you wish.
That would be awesome.

I'm planning to use your controller and attenuator board (I'll try totally passive at first) with an Osram display hooked up to a ClassDAudio amp. I've played with the Arduino a bit before, but this is my first audio project - hope I haven't bitten off more than I can chew ...

Could you PM me with the details (the cost for the boards and/or any extra parts you might have, PayPal info, etc.)?
  Reply With Quote
Old 20th April 2011, 11:35 AM   #30
diyAudio Member
 
s3tup's Avatar
 
Join Date: Dec 2004
Location: Israel
I'm working on something similar, but less complicated:
I'm building various audio devices, which need volume/input controls, but with different input/display/control hardware.
In example, as a volume control, i could use motor alps, motor alps with feedback thru one of the potentiometer channels, relay attenuator (different approaches of control - direct pin, shift reg, inversed 1 and 0 etc, different amount of relays)...

I do everything predefined in DEFINE section - pin numbers of I/O, and hardware type.
I want to make it multiplatform (different arduino boards) - sometimes i need just the basic moto alps without feedback + IR remote of + and - volume, sometimes - relay att via shiftregister, nixie display, rotary encoder, IR, input selector, etc...

I already have
- IR
- relay att (with shiftreg/direct, 5-8 relays)
- PGA
- ALPS without feedback
- input selector (both with decoder and direct), up to 8 inputs
+ Event based buttons routine

Could you share your source "as-is"? I'll share mine when i'll come back home.
I'm interested in rotary encoder and button debounce source...
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
need diy tube preamp (line-stage) recommendation and general tube advice Musiclover4 Tubes / Valves 16 18th May 2013 03:19 PM
Arduino based Input Selector for preamp _atari_ Analog Line Level 5 30th June 2010 02:42 PM
Relay Attenuator for tube amp Vidi Tubes / Valves 9 11th December 2006 04:09 PM
Relay - Selector Swich ruangrit Solid State 0 5th September 2003 04:58 AM
relay input selector macgyver Pass Labs 6 7th October 2002 07:33 AM


New To Site? Need Help?

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