Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Volume control for sbc/ i2s DAC
Volume control for sbc/ i2s DAC
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 15th June 2020, 10:56 AM   #1
surfparadise is online now surfparadise  Italy
diyAudio Member
 
Join Date: Mar 2016
Default Volume control for sbc/ i2s DAC

Hi all,

I want build an amp feeded by the arylic board connected to an i2s dac. So the chain will be:

Arylic -> Kali recloker -> I2s Dac -> power amp

I want use Arduino to control the volume by a rotary encoder and from a remote. But I want to be able as well to control it from the Arylic software on the phone.

The dac board (AUDIOPHONICS DAC I-Sabre ES9038Q2M KALI EDITION Raspberry Pi / I2S & SPDIF / PCM DSD - Audiophonics) permit the i2c connection to control volume.

The question is, if I change the volume directly on the Dac, the Arylic board change the volume as well, or the 2 volume are independent? (Dac is set as slave)

Thank you
  Reply With Quote
Old 15th June 2020, 11:36 AM   #2
surfparadise is online now surfparadise  Italy
diyAudio Member
 
Join Date: Mar 2016
Maybe this post is more compliant under “ Digital Line Level” section.

Anyway I can’t move it....
  Reply With Quote
Old 15th June 2020, 01:12 PM   #3
Markw4 is offline Markw4  United States
diyAudio Member
 
Join Date: Jul 2016
Location: California
ES9038Q2M only has one set of volume registers, and only one I2C bus address. Setting up all the dac registers, including volume, involves RPi talking over I2C bus to the dac chip (maybe with Kali and a local dac MCU involved too). Since I2C bus is tied up for that connection, probably best to put an analog volume pot at the output of dac line output if you can. Otherwise, probably best to stick with the RPi volume control.

Last edited by Markw4; 15th June 2020 at 01:15 PM.
  Reply With Quote
Old 15th June 2020, 01:23 PM   #4
surfparadise is online now surfparadise  Italy
diyAudio Member
 
Join Date: Mar 2016
Hi, thank you for your answer but I don’t understand.

I connect the Arylic board (not rpi) with i2s pin. I will use i2c pin only for control the volume with Arduino.

The 2 volume (on the arylic board and on the dac) are independent or if I change one, the other one change as well?

Last edited by surfparadise; 15th June 2020 at 01:28 PM.
  Reply With Quote
Old 15th June 2020, 02:31 PM   #5
Markw4 is offline Markw4  United States
diyAudio Member
 
Join Date: Jul 2016
Location: California
Not sure what you mean by the Arylic board. There is a digital volume inside the ES9038Q2M dac registers, but there is only one I2C address that is used for access any and all dac I2C registers. Only one I2C bus master can control the I2C bus in normal conditions, that one device probably must be the RPi or the dac's MCU which then talks to the RPi.

That means there is no other I2C address available that Arduino could, as I2C master, use to talk to ES9038Q2M registers and thereby control dac volume.

Also, it is best to either use ES9038Q2M volume registers, or to use an analog pot. Those are usually the two best methods. ESS explains why in their document at: http://www.esstech.com/files/3014/40...me-control.pdf
  Reply With Quote
Old 15th June 2020, 02:36 PM   #6
surfparadise is online now surfparadise  Italy
diyAudio Member
 
Join Date: Mar 2016
Than you.

The arylic board is this one:

WiFi&Bluetooth HiFi Stereo Receiver Board With I2S Up2stream Pro V2

This is connected with i2s pin, not the i2c.

So my intention is use the arduino on i2c protocol to control the volume. The question is, if I change the volume on Dac, it will change as well on the arylic/Raspberry board connect with I2S protocol?
  Reply With Quote
Old 15th June 2020, 02:51 PM   #7
Markw4 is offline Markw4  United States
diyAudio Member
 
Join Date: Jul 2016
Location: California
Quote:
Originally Posted by surfparadise View Post
...The question is, if I change the volume on Dac, it will change as well on the arylic/Raspberry board connect with I2S protocol?
Changing the volume in the dac I2C registers will change the volume coming out of the dac. It will not change anything else.
  Reply With Quote
Old 15th June 2020, 03:04 PM   #8
surfparadise is online now surfparadise  Italy
diyAudio Member
 
Join Date: Mar 2016
Thanks
 

Reply


Volume control for sbc/ i2s DACHide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume control on DVD player remote. Lose resolution at low volume? Circlotron Digital Source 2 10th June 2011 07:20 PM
Remote control Passive Volume Control with Display ua100k Swap Meet 2 31st May 2011 03:01 PM
Replacing broken volume control with digital volume control Gunawan W Solid State 19 15th December 2010 10:46 AM
i need preamp schematics w/o tone control or volume control hernanstafe Parts 7 30th January 2008 03:12 AM
remote control motorised control for volume pot/knob CharlesY Parts 0 25th July 2005 11:12 AM


New To Site? Need Help?

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


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio
Wiki