Input Selector and Digital Volume Control

Hello everybody
I have an idea like this.

By giving a single button pulse with a cmos ring counter (cd4017). Do I have problems if I make the input selector by applying a relay with the transistor at the output?

If I combine the sample schemes for the counter and the relay stage, if I do this with double contact relays and use the chassis of all inputs, does the loop, etc., do any of those have done before?


As the third stage, how do you think if I combine a digital volume control integrated with the volume of 2 buttons and mute and gather on a single board?
 

Attachments

  • 20200428_032544.jpg
    20200428_032544.jpg
    548.2 KB · Views: 394
  • 20200428_031907.jpg
    20200428_031907.jpg
    219.6 KB · Views: 376
  • SLC.PNG
    SLC.PNG
    86.6 KB · Views: 619
Last edited:
Your circuit would need hardware debouncing on the switch, otherwise you'll be jumping around like crazy. RC filter into a 74HC14 or other schmitt-trigger gate would be suitable.

A problem with the CD4017 is that it doesn't power up in a defined valid state, you'll need to arrange for a reset pulse at powerup to clear it.

Yes you could make it drive a bunch of relays - via an ULN2803 would be the best way,
as all the diodes and transistors are in one chip then, much easier.

Your circuits lack decoupling caps, don't forget them.