Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Login


2 Pages<12
Options
View
Go to last post Go to first unread
Brian Donegan  
#21 Posted : Tuesday, March 24, 2015 2:23:05 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
Quote:
This is original scheme for my DAC, done by Robert Harthold. I am very grateful to him. He also programmed my Arduino and refused any payment for it.


It appears you already have it set up to switch I2S/SPDIF using the IP_S headers using Pin 6.

Quote:
Since then, Ottos were taken out (we did DAC without them), because I only need USB (I2S) and optical input. Output (pin) 8 of Arduino was then connected directly to S on both BIIISE modules, following Robert's advice.


What S on the BIIIse would that be?
dariedel2  
#22 Posted : Thursday, March 26, 2015 2:47:57 PM(UTC)
dariedel2

Rank: Member

Groups: Member
Joined: 1/15/2013(UTC)
Posts: 49
United States
Location: DC

Thanks: 1 times
Brian,

Do you recommend shorting the IP_S Header if I plan to use I2S input exclusively (via USBstreamer)?

Thanks,
Doug riedel
Brian Donegan  
#23 Posted : Thursday, March 26, 2015 5:25:16 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
Originally Posted by: dariedel2 Go to Quoted Post
Brian,

Do you recommend shorting the IP_S Header if I plan to use I2S input exclusively (via USBstreamer)?

Thanks,
Doug riedel


Yes.
Son of Odin  
#24 Posted : Thursday, March 26, 2015 5:28:16 PM(UTC)
Son of Odin

Rank: Member

Groups: Member
Joined: 2/12/2011(UTC)
Posts: 39

Thanks: 8 times
Originally Posted by: Brian Donegan Go to Quoted Post


What S on the BIIIse would that be?



The same S that is shorted together with IP. So, IP and S on both BIIISE are connected with jumpers, and the very same S on both modules is connected to Arduino pin 8.

Everything works well, controlled by Arduino, except I2S/SPDIF input switching.

Brian Donegan  
#25 Posted : Thursday, March 26, 2015 5:51:53 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
Originally Posted by: Son of Odin Go to Quoted Post
Originally Posted by: Brian Donegan Go to Quoted Post


What S on the BIIIse would that be?



The same S that is shorted together with IP. So, IP and S on both BIIISE are connected with jumpers, and the very same S on both modules is connected to Arduino pin 8.

Everything works well, controlled by Arduino, except I2S/SPDIF input switching.



Ah, okay. IP_S stands for "Input Select," so I was confused. Glad it's working.
Son of Odin  
#26 Posted : Thursday, March 26, 2015 7:37:17 PM(UTC)
Son of Odin

Rank: Member

Groups: Member
Joined: 2/12/2011(UTC)
Posts: 39

Thanks: 8 times
Hi Brian,

Switching inputs via Arduino (I2S / SP DIF) does NOT work. I can not use the remote to do it, and the only thing that would work now is a switch that connects/disconnects IP and S.

Other things via Arduino (volume, filter, oversampling, etc.) do work. Input select does not.

IP and S are now connected via jumper, so only USB input (I2S) works. But no SP DIF.

So Arduino does work, but somehow it's unable to change from SP DIF to I2S.

Is there any suggestions what to do to make it work?


PIN 6 is no longer connected to S !!!

Now pin 8 of Arduino is connected to S on both BIIISE modules. Robert asked me to do that.

Edited by user Thursday, March 26, 2015 7:46:15 PM(UTC)  | Reason: Not specified

Brian Donegan  
#27 Posted : Thursday, March 26, 2015 8:03:20 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
Okay.

Can you measure the voltage between the two IP_S pads when the Arduino attempts to switch it? It should measure 3.3V un-switched, then drop to ~0V (the Adruino should be pulling it Low to activate I2S).
Son of Odin  
#28 Posted : Friday, March 27, 2015 11:46:11 AM(UTC)
Son of Odin

Rank: Member

Groups: Member
Joined: 2/12/2011(UTC)
Posts: 39

Thanks: 8 times


Hi Brian,

Thanks again for your help.

This seems logical to me: If pin 8 switches between SP DIF and I2S, then -


1 wire should be connected to IP (on both BIIISE), and another wire to S (on both BIIISE).
Both of wires (other end) should be connected to pin 8 on Arduino.

IP and S should not be connected with jumper.

But first, we should check if pin 8 switches between 3.3V to 0V....

Is this right?
DQ828  
#29 Posted : Friday, March 27, 2015 12:30:18 PM(UTC)
DQ828

Rank: Member

Groups: Member
Joined: 8/17/2010(UTC)
Posts: 368
Location: australia

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
You could us the arduino to switch a small relay
dariedel2  
#30 Posted : Friday, March 27, 2015 12:40:09 PM(UTC)
dariedel2

Rank: Member

Groups: Member
Joined: 1/15/2013(UTC)
Posts: 49
United States
Location: DC

Thanks: 1 times
I just realized the IP_S header is exclusive to the SE version. I have regular 8 channel Buffalo III. Is there any necessary recommendation to force I2S if I plan to use only IPS directly from USBStreamer or is this not applicable?

Thanks,
Doug
Brian Donegan  
#31 Posted : Friday, March 27, 2015 2:10:49 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
Originally Posted by: dariedel2 Go to Quoted Post
I just realized the IP_S header is exclusive to the SE version. I have regular 8 channel Buffalo III. Is there any necessary recommendation to force I2S if I plan to use only IPS directly from USBStreamer or is this not applicable?

Thanks,
Doug


The 8-Channel Buffalo does not have an onboard S/PDIF level-shifter, so you need to do that off-board for consumer-level S/PDIF sources. The chip will auto-detect S/PDIF and I2S based on the presence of a bit clock (or not).

This should really be in a different thread. :-)

Edited by user Friday, March 27, 2015 2:42:02 PM(UTC)  | Reason: Not specified

Brian Donegan  
#32 Posted : Friday, March 27, 2015 2:24:41 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
Originally Posted by: Son of Odin Go to Quoted Post

This seems logical to me: If pin 8 switches between SP DIF and I2S, then -


1 wire should be connected to IP (on both BIIISE), and another wire to S (on both BIIISE).
Both of wires (other end) should be connected to pin 8 on Arduino.

IP and S should not be connected with jumper.

But first, we should check if pin 8 switches between 3.3V to 0V....

Is this right?


If you connect both pads to the same pin, you are just shorting them together, so, no, that is incorrect.

The Arduino needs to be sharing a ground with the Buffalo (which it sounds like it is doing, as other I2C functions work).

Yes, test whether Pin 8 is actually switching from 3.3V to 0V. Do this first without it connected to the header. If it seems to be working, try it connected to the header, and report the voltage here. It's possible the internal pull-ups in the Arduino are conflicting with the pull-up on the Buffalo.
Son of Odin  
#33 Posted : Saturday, March 28, 2015 8:14:18 AM(UTC)
Son of Odin

Rank: Member

Groups: Member
Joined: 2/12/2011(UTC)
Posts: 39

Thanks: 8 times
Originally Posted by: DQ828 Go to Quoted Post
You could us the arduino to switch a small relay



How to do that? That would be perfect. I would also add a small relay for power on/off.


Brian, thanks for all your help. We will measure the voltage this weekend.

" It's possible the internal pull-ups in the Arduino are conflicting with the pull-up on the Buffalo. "

It could be. That seems very possible.

I am very glad that we got the USB/I2S input working. Still happy about that Dancing

DQ828  
#34 Posted : Saturday, March 28, 2015 8:38:26 AM(UTC)
DQ828

Rank: Member

Groups: Member
Joined: 8/17/2010(UTC)
Posts: 368
Location: australia

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: Son of Odin Go to Quoted Post
Originally Posted by: DQ828 Go to Quoted Post
You could us the arduino to switch a small relay


How to do that?



I am using the Arduino Mega so the Ouput from the pin is 5v, max 40ma, so I needed to choose a relay with a coil that used less than 40ma at 5v.

You will see in the image that the green wire off the relay is going to Arduino Grnd & the Orange is going to the Arduino pin which is set as an output & sent High & Low to switch the relay. Obviously the yellow wire shorts the IP_S pins.



DQ828 attached the following image(s):
15-03-28 IP-S Switching.JPG (94kb) downloaded 9 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked DQ828 for this useful post.
Son of Odin on 3/31/2015(UTC)
Son of Odin  
#35 Posted : Tuesday, March 31, 2015 6:50:10 AM(UTC)
Son of Odin

Rank: Member

Groups: Member
Joined: 2/12/2011(UTC)
Posts: 39

Thanks: 8 times
I did order a relay 2 days ago. Thanks a lot, DQ828. Great idea

We will measure Arduino's pin 8 output in next day or two. The problem is my tech guy lives in another city, and DAC is in my house now so he has to come here. He's very busy guy, but hopefully soon he will be here.

Will post results as soon as I have them.
DQ828  
#36 Posted : Tuesday, March 31, 2015 10:20:36 AM(UTC)
DQ828

Rank: Member

Groups: Member
Joined: 8/17/2010(UTC)
Posts: 368
Location: australia

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: Son of Odin Go to Quoted Post
I did order a relay 2 days ago. Thanks a lot, DQ828. Great idea

We will measure Arduino's pin 8 output in next day or two. The problem is my tech guy lives in another city, and DAC is in my house now so he has to come here. He's very busy guy, but hopefully soon he will be here.

Will post results as soon as I have them.


Tech guy from another city!! that would drive me crazy, which is why I break things myself :)

If you are interested I can send you a few relay boards that I had made for my projects, I seem to have many more boards than I need. The larger section of the larger board is probably no use to anybody :)

PS: You only need to pay postage

Edited by user Tuesday, March 31, 2015 10:21:41 AM(UTC)  | Reason: Not specified

DQ828 attached the following image(s):
Relay Boards01_2.JPG (248kb) downloaded 10 time(s).

You cannot view/download attachments. Try to login or register.
Rss Feed  Atom Feed
Users browsing this topic
GuestUser (15)
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.