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)
|
Hi Brian Thanks the 4:1 Mux/Demux has arrived, now for the questions :) I want to switch the Mux/Demux using my arduino controller and assume I need to do the following to make the unit switch channels; Take 1 GPIO, say Pin 7, from the Arduino to SO Take 1 GPIO , say Pin 8, from the Arduino to S1 Switching: Pin 7 High, Pin 8 Low Pin 7 Low, Pin 8 High Pin 7 High, Pin 8 High Pin 7 Low, Pin 8 Low If that is correct can you tell me which channel will correspond to which configuration. If that's not correct can you tell me how I should be doing it. Edited by user Tuesday, March 24, 2015 6:18:30 AM(UTC)
| Reason: Not specified
|
|
|
|
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)
|
(Wishing I could insert an HTML table...) It's a binary progression.
For B1, S0: Low, S1: Low
For B2. S0: Low, S1, High
For B3. S0: High, S1: Low
For B4, S0: High, S1: High
|
|
|
|
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: Brian Donegan (Wishing I could insert an HTML table...) It's a binary progression.
For B1, S0: Low, S1: Low
For B2. S0: Low, S1, High
For B3. S0: High, S1: Low
For B4, S0: High, S1: High
Excellent thanks
|
|
|
|
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: Brian Donegan (Wishing I could insert an HTML table...) It's a binary progression.
For B1, S0: Low, S1: Low
For B2. S0: Low, S1, High
For B3. S0: High, S1: Low
For B4, S0: High, S1: High
It all worked first go code & all, thanks Edited by moderator Monday, March 30, 2015 3:22:12 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/18/2014(UTC) Posts: 3
|
Hi, I'm trying to do the same thing, but the switching doesnt work. I have S0 and S1 directly hooked up to GPIO-pins from the arduino (5V). Do I have to remove R2 or R3 on the MUX-board? Or is a voltage divider for 3,3V required?
|
|
|
|
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: MT Hi, I'm trying to do the same thing, but the switching doesnt work. I have S0 and S1 directly hooked up to GPIO-pins from the arduino (5V). Do I have to remove R2 or R3 on the MUX-board? Or is a voltage divider for 3,3V required?
No you don't have to remove R2 & R3 No voltage divider is needed The red & black beside the blue & black are the 5V power & power Ground, the Blue & Black are to the GPIO pins on the arduino Edited by user Sunday, May 10, 2015 9:41:45 AM(UTC)
| Reason: Not specified DQ828 attached the following image(s): Mux01.JPG (136kb) downloaded 25 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/18/2014(UTC) Posts: 3
|
Thanks! The wiring was correct, but I simply forgot to set the right register in the DAC for Spdif It all works perfectly now.
|
|
|
|
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.