Thanks for the details guys!
I've started playing with Eagle, and while the learning curve has been a bit tricky, I'm getting there.
The latest thought I've had is to see if I could also whack in optical audio switching for the component inputs in addition to analogue audio. I've been researching my options this morning, and a lot of it has gone over my head!
However, I think I've finally understood the principles behind this solution which has cropped up a lot online while I was hunting.
Prior to this I was looking to see how reliable it would be to switch using relays, using 1x SPST relay to take the input, with all the optical connections by default powered and grounded (like so), but I don't think the signal likes relays much.
Another option was converting all optical signals to coax, then switch the signal using a 75ohm-happy SPST relay, and then finally convert it back to optical for output to the amplifier, but this was also getting a bit tricky.
If I understand the solution linked to above, he's using a CD4051 multiplexer to take up to 8 inputs and pushing them to a single bus output (since the 4051 uses discreet in/out for each signal)... though since its an analogue multiplexer, in my mind it doesn't make sense why using a mechanical switch should be any different since neither instance is leaving everything in a digital loop.
Anywho, with the 4051 solution, my guess is that in addition to the relays handling the analogue inputs I would have a set of 3 relays sending a combination of +5v and GND to the A/B/C (pins 11, 10 and 9 respectively) on the 4051 to control the behaviour.
So, to activate the IC, INH (pin 6) needs to be grounded, as feeding it +5v deactivates it. For input 1, pins 9, 10 and 11 are all fed GND. For input 2, 11 is sent +5v and 9 and 10 are sent GND. For input 3, pin 9 is sent GND and pins 10 and 11 are sent +5v; and so on as per the truth table on the datasheet.
For the CD4051 then, pin 7 is fed -5v, pin 8 is fed GND and pin 16 is fed +5v. I'm assuming I can use a 7905 voltage regulator to get a regulated -5v by sending +5v to the center pin, GND to the input and the output then sends out -5v. It's an extra component but I already have a couple floating about.
Another alternative which may be better is to use a 74HCT251N, which uses a single output (rather than paired ins/outs on the CD4051) and doesn't need -5v to operate. Assuming that +5v and GND reflect the high/low settings sent to the S0/S1/S2 pins (same as the CD4051, pins 11, 10 and 9 respectively), I could use this IC to control the digital switching behaviour.
So, using the above, to operate the IC pin 8 is set to GND, pin 16 is sent +5v and pin 7 (OE) is set to GND to activate the multiplexer. Pin 5 is the combined output.
To switch to input 1, pins 11, 10 and 9 are all sent GND. To switch to input 2, pin 11 is fed +5v and pin 10 and 9 are sent GND. To switch to input 3, pins 11 and 9 are sent GND and pin 10 is fed +5v; rinse/repeat for the rest of the truth table (assuming that I have the correct pin for the output, as it has a complementary output on pin 6).
... I realise the above is probably a bit convoluted, but writing it out this way helps me slowly work through electronics theory which I'm not familiar with!
So, with this in mind, what are the thoughts on using either of those ICs combined with relays to drive the logic combinations to switch optical sources at the same time as moving component video + stereo audio? My preference is to go with the 74HCT251N since it means one less bus and one less component (i.e. the 7905 regulator). I'm hoping I'm getting there with my understanding of it!
In looking back at all my notes, the only question I have is around the voltage input for the MC14490 and the 4017B ICs. The relays Calpis linked to are +12v SPST relays, so I'm assuming they'll need +12v to drive the transistor, which in turns powers the coils on the relays. So, with this in mind, is it best to add a 7805 regulator to bring the +12v from the power supply back to +5v for the ICs and continue running +12v to the relays, or would +5v do for the whole lot?
I'll end this long-winded essay here
Looking forward to what Retro Swim has been up to as well!
I've started playing with Eagle, and while the learning curve has been a bit tricky, I'm getting there.
The latest thought I've had is to see if I could also whack in optical audio switching for the component inputs in addition to analogue audio. I've been researching my options this morning, and a lot of it has gone over my head!
However, I think I've finally understood the principles behind this solution which has cropped up a lot online while I was hunting.
Prior to this I was looking to see how reliable it would be to switch using relays, using 1x SPST relay to take the input, with all the optical connections by default powered and grounded (like so), but I don't think the signal likes relays much.
Another option was converting all optical signals to coax, then switch the signal using a 75ohm-happy SPST relay, and then finally convert it back to optical for output to the amplifier, but this was also getting a bit tricky.
If I understand the solution linked to above, he's using a CD4051 multiplexer to take up to 8 inputs and pushing them to a single bus output (since the 4051 uses discreet in/out for each signal)... though since its an analogue multiplexer, in my mind it doesn't make sense why using a mechanical switch should be any different since neither instance is leaving everything in a digital loop.
Anywho, with the 4051 solution, my guess is that in addition to the relays handling the analogue inputs I would have a set of 3 relays sending a combination of +5v and GND to the A/B/C (pins 11, 10 and 9 respectively) on the 4051 to control the behaviour.
So, to activate the IC, INH (pin 6) needs to be grounded, as feeding it +5v deactivates it. For input 1, pins 9, 10 and 11 are all fed GND. For input 2, 11 is sent +5v and 9 and 10 are sent GND. For input 3, pin 9 is sent GND and pins 10 and 11 are sent +5v; and so on as per the truth table on the datasheet.
For the CD4051 then, pin 7 is fed -5v, pin 8 is fed GND and pin 16 is fed +5v. I'm assuming I can use a 7905 voltage regulator to get a regulated -5v by sending +5v to the center pin, GND to the input and the output then sends out -5v. It's an extra component but I already have a couple floating about.
Another alternative which may be better is to use a 74HCT251N, which uses a single output (rather than paired ins/outs on the CD4051) and doesn't need -5v to operate. Assuming that +5v and GND reflect the high/low settings sent to the S0/S1/S2 pins (same as the CD4051, pins 11, 10 and 9 respectively), I could use this IC to control the digital switching behaviour.
So, using the above, to operate the IC pin 8 is set to GND, pin 16 is sent +5v and pin 7 (OE) is set to GND to activate the multiplexer. Pin 5 is the combined output.
To switch to input 1, pins 11, 10 and 9 are all sent GND. To switch to input 2, pin 11 is fed +5v and pin 10 and 9 are sent GND. To switch to input 3, pins 11 and 9 are sent GND and pin 10 is fed +5v; rinse/repeat for the rest of the truth table (assuming that I have the correct pin for the output, as it has a complementary output on pin 6).
... I realise the above is probably a bit convoluted, but writing it out this way helps me slowly work through electronics theory which I'm not familiar with!
So, with this in mind, what are the thoughts on using either of those ICs combined with relays to drive the logic combinations to switch optical sources at the same time as moving component video + stereo audio? My preference is to go with the 74HCT251N since it means one less bus and one less component (i.e. the 7905 regulator). I'm hoping I'm getting there with my understanding of it!
In looking back at all my notes, the only question I have is around the voltage input for the MC14490 and the 4017B ICs. The relays Calpis linked to are +12v SPST relays, so I'm assuming they'll need +12v to drive the transistor, which in turns powers the coils on the relays. So, with this in mind, is it best to add a 7805 regulator to bring the +12v from the power supply back to +5v for the ICs and continue running +12v to the relays, or would +5v do for the whole lot?
I'll end this long-winded essay here
Looking forward to what Retro Swim has been up to as well!![[IMG]](https://web.archive.org/web/2im_/http://us1.webpublications.com.au/static/images/articles/i1070/107004_7mg.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/l9ft8gdl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/g2FF13fl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/JBlTyeNl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/nlNcLeXl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/K8HzEMBl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/CuPXBSfl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/tkVnRtHl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/y7iYWn3l.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/bGN2RThl.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/FT2YdM5l.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://users.on.net/~sean.boden/assembler/7-segment-display-concept-01.png)