Channel switcher using CMOS logic
Posted: 28 Nov 2013, 09:47
Good day, ladies and gentlemen,
I need a channel switcher to help my forgetful ears compare between builds. I wanted buffered switching and I decided CD4051-4052-4043 multiplexers would be the way to go (I have a box full of 4000 series CMOS ICs so I wanted to use them).
For the control part, the ICs that seemed more appropriate for the job and were in the box happened to be CD4093 and CD4042.
At first I tried to mimic R.G.'s Programmable FX Switcher with Amp Controls, but R.G.'s using another IC.
Besides, right now I'm not so sure R.G.'s circuit is working as is. The Q outputs follow the D inputs as long as LE is high (I'm talking about the MM74C373 here). But the LE pin and the selected D pins are fed with (more or less) the same signal. When the signal goes low, what's stopping the selected output to follow the input as it goes low again? In other words, how can one be sure that the LE signal goes down fast enough to stop the selected Q output following the going-low D input? MM74C374 seems like it could do the job, as data transfer occurs only on the pozitive level transition on the Clock input.
So, on my breadboard (I'm talking about CD 4042 now), the push-buttons would light the LEDs attached to the Q outputs, but the LEDs would switch off as soon as when my finger left the button. It seemed a way was needed to make the High signal on D inputs last longer than on the Clock input. I found a snippet called a "pulse stretcher" which does exactly that - a capacitor is charged through a diode, so the pulse last until the capacitor discharges (D1, C4, R4).
Part values were chosen from what happened to be at hand. The LEDs resistors are a bit on the high side, but I just needed them to work. Now, it is clear enough for me that I need to start using microcontrollers to lower the parts count. Does any of you, FSB microcontroller gurus, care to point me to a low-cost, easy-to-learn resource to get me started? Thanks.
I need a channel switcher to help my forgetful ears compare between builds. I wanted buffered switching and I decided CD4051-4052-4043 multiplexers would be the way to go (I have a box full of 4000 series CMOS ICs so I wanted to use them).
For the control part, the ICs that seemed more appropriate for the job and were in the box happened to be CD4093 and CD4042.
At first I tried to mimic R.G.'s Programmable FX Switcher with Amp Controls, but R.G.'s using another IC.
Besides, right now I'm not so sure R.G.'s circuit is working as is. The Q outputs follow the D inputs as long as LE is high (I'm talking about the MM74C373 here). But the LE pin and the selected D pins are fed with (more or less) the same signal. When the signal goes low, what's stopping the selected output to follow the input as it goes low again? In other words, how can one be sure that the LE signal goes down fast enough to stop the selected Q output following the going-low D input? MM74C374 seems like it could do the job, as data transfer occurs only on the pozitive level transition on the Clock input.
So, on my breadboard (I'm talking about CD 4042 now), the push-buttons would light the LEDs attached to the Q outputs, but the LEDs would switch off as soon as when my finger left the button. It seemed a way was needed to make the High signal on D inputs last longer than on the Clock input. I found a snippet called a "pulse stretcher" which does exactly that - a capacitor is charged through a diode, so the pulse last until the capacitor discharges (D1, C4, R4).
Part values were chosen from what happened to be at hand. The LEDs resistors are a bit on the high side, but I just needed them to work. Now, it is clear enough for me that I need to start using microcontrollers to lower the parts count. Does any of you, FSB microcontroller gurus, care to point me to a low-cost, easy-to-learn resource to get me started? Thanks.