cs3318 and arduino - Page 4 - 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 12th October 2012, 02:41 PM   #31
ds23man is offline ds23man  Netherlands
diyAudio Member
 
Join Date: Oct 2006
  Reply With Quote
Old 13th October 2012, 07:17 PM   #32
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
I'm curious if anyone has done any testing with this chip and various psu styles? 78xx chips? 317? ti TPS stuff? other?

I'm curious if you have to go nuts on the psu to get the most out of this chip. what have people been using in their builds?
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 16th October 2012, 06:52 PM   #33
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
installed the board into my test chassis.

giving it a simple 7808/7908 supply from a diy proto board, in the chassis. trafo is on the floor in its own box along with bridge and caps. using a simple easy to find 5pin midi cable to join the 2 boxes

the 78xx reg chips are not all that bad, here! I'm pretty sure my chip-amps are now noisier than this cirrus system is.

the behringer source is WAY WAY too hot for this chip, though! I think I need a 15db pad or something high like that. some input buffers are next to be built for this.
Attached Images
File Type: jpg 8094337277_cdd857ddaf_b.jpg (211.3 KB, 255 views)
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 16th October 2012, 07:07 PM   #34
diyAudio Member
 
5th element's Avatar
 
Join Date: Oct 2002
Location: England
Quote:
Originally Posted by maxw View Post
Does anyone know if the cs3318 is silent when powering on/off, unlike the PGA2310?
No it's not, if you power the internal opamps down you get a nasty thump on the output.
__________________
What the hell are you screamin' for? Every five minutes there's a bomb or somethin'! I'm leavin! bzzzz!
  Reply With Quote
Old 16th October 2012, 08:46 PM   #35
diyAudio Member
 
Brett's Avatar
 
Join Date: Jan 2002
Quote:
Originally Posted by linuxworks View Post
the behringer source is WAY WAY too hot for this chip, though! I think I need a 15db pad or something high like that. some input buffers are next to be built for this.
Ditch the DCX output board as 0dBFS is about +22dBu and the DAC o/p is standard 5vpp offset around +2.5V. Or reduce the gain in the o/p board by changing a couple of SMD resistors/ch.
  Reply With Quote
Old 16th October 2012, 10:35 PM   #36
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
I plan to attack the high levels in 2 ways. at the dcx (in some way) and also via a selectable 14db pad on/off relay. it will either pad or pass thru. just in case anyone needs it, on a per-port basis.

at the dcx, I'm thinking of sending i2s or spdif out instead of analog. then using the dac-of-the-day to supply me the analogs
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 21st October 2012, 07:07 PM   #37
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
my proto output buffer/relay board. i2c controlled on the digital side. on analog, it gets power via a 6pin bipolar psu (not shown, only the empty red header in the middle). 8pin opa2134 style footprint chips can go in the sockets, or not! builder's choice. simply stub +input to output and you're done. this will run in unity non-inverting mode and so you can run OA's, or external buffers that have cables into the OA sockets or just wire stubs to ignore buffers.

relays are muting function as well as output selection. that's all the controller chip is there for.

the i2c connection can go to the master UI controller or a secondary embedded controller, such as the one on the cirrus proto board. if the relay board is behind the embedded arduino, then it 'proxies' for the relays upstream to the real UI master. otoh, if the master has the i2c connection, its sort of a tree, now, with the master UI controlling the vol control board over spi and the relays that 'match' it over i2c.

the ribbon i2c uses the lcduino 'standard' of 2 pins for 5v, 2 for gnd, 1 for i2c-clock and 1 for i2c-data. doubling up on power/gnd lets you supply running current to the 'remote' boards in addition to i2c control signals.

these are non-latching relays and will draw a little current (about 30ma each) during operation. they will be clicked down to UNMUTE them. any loss of power or control signal causes them to click-up and that causes the output pins to short to gnd, making the downstream amps 'safe'. the muting relays are as much a safety design detail as an output sel/muting feature.
Attached Images
File Type: jpg 8109617815_9ef2efd3de_b.jpg (169.7 KB, 232 views)
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 22nd October 2012, 12:00 AM   #38
diyAudio Member
 
Join Date: Jun 2011
Quote:
Originally Posted by linuxworks View Post
these are non-latching relays and will draw a little current (about 30ma each) during operation. they will be clicked down to UNMUTE them. any loss of power or control signal causes them to click-up and that causes the output pins to short to gnd, making the downstream amps 'safe'. the muting relays are as much a safety design detail as an output sel/muting feature.
I can't see exactly how you've got these relays arranged, but I use muting relays in a PGA volume control system. I was recently reminded that most relays have a pull-in current higher than their holding current, so if you can arrange to drive them with a lower current once pulled-in this saves a bit of current.

In my case the relays are 10mA 5V driven directly by PIC outputs (TE Connectivity Axicom IM23GR). I've got spare pins on the PIC, so on the next iteration of the board I intend to pull in the relays with one pin but hold them on with another pin connected through a diode, probably a LED because of its greater voltage drop. With the LED dropping some voltage the relay coils will pass less current, it's just a question of trying a few different LEDs, red, green and blue to see how low I can get the current and still hold the relay on. Since it's a battery application, it makes a difference. If the current is important to you, and you've got spare uProc pins, you could try it.
  Reply With Quote
Old 22nd October 2012, 02:25 AM   #39
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
on the AMB delta1 and delta2, we used latching relays which save even MORE power but they take up twice as many pins, sounding a bit like your idea.

these are fairly low current relays (20ma or 30ma at most) and I'm not sure how much is saved by adding more complexity in lowering relay 'hold' voltage. this is an AC powered project, for sure, though.

for input selection, I do like using latchers since there's no reason to have to let them click-up on power loss. its only the power loss thing that made me want to use non-latchers for output.

the relays are omron g6j-2p-y

which ones are you using, that use only 10ma?
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 22nd October 2012, 02:35 AM   #40
diyAudio Member
 
Join Date: Jun 2011
IM23GR - TE CONNECTIVITY - RELAY, SMD, DPCO, 5VDC | Farnell United Kingdom
  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
Digital Volume Contol - CS3318 - MAX5440 Ridin '24'z Digital Source 5 8th June 2011 01:36 PM
Sylonex and Arduino preamp oenboek Analog Line Level 17 12th March 2011 12:50 AM
Arduino for audio projects? glt Parts 5 9th March 2011 05:28 PM
Cooling fans with Arduino seahuston Chip Amps 10 23rd October 2010 05:58 AM
Can DIY audio be like Arduino glt Everything Else 1 3rd April 2009 03:57 PM


New To Site? Need Help?

All times are GMT. The time now is 10:16 PM.


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