(This post has been corrected a) to attach the correct datasheet for the latch and b) to correct its description in the writeup below: It is not TTL; rather it is a CMOS latch.)
I want to implement footswitches to replicate the function of two panel-mounted momentary push button switches in a musical instrument midi controller. But these switches do not switch a power supply level to the I/O pin of the microcontroller. Instead, both panel-mounted switches connect the same Q output of a CMOS latch, each through a forward biased diode, to a distinct I/O pin of a microcontroller. See schematic attached. (And, those two inputs might have a light FET pullup to VCC depending on how the microcontroller is configured.)
I am thinking that an open collector and emitter bipolar transistor which parallels each of the panel switches could be switched on via a TTL inverter/buffer when the input to the TTL inverter is connected to ground via the footswitch.
I plan to use two vacant pins on an existing dsub 25 connector to bring out the inputs to the two inverter/drivers to turn on the open collector/open emitter transistor. There is no VCC available at the dsub 25. So, the inverter/drivers would be mounted inside the equipment with the microcontroller and panel switches. But the existing connector already connects to several other footswitches which ground other inputs of the microcontroller. These are straight forward direct inputs to other microcontroller I/O pins. So, VSS is brought out through the connector. And, it would be easy to drive the inverter inputs to ground. But the bipolar switch transistors must remain off when the inverter inputs float.
As a former MOS chip designer, I am unfamiliar with bipolar/TTL design, so I am looking for validation of this design approach and help with the identification of a commercially available inverter/buffer - or with the design of one from discrete components. Then I would build two of these, i.e. one for each switch I will bypass with an external footswitch to ground.
Microprocessor is PIC16C74, I/O pins involved RB2 and RB5.
Specs are complex, but according to the uP datasheet, looks like min VIH is ~2.0-2.05V and max VIL is ~0.8V
Latch 74HC573B1, Q output is the subject output to be switched.
Max VOL 0.1V and Min VOH=1.9V, both @IO=20uA or as much as 7.8mA, depending on VCC.
I want to implement footswitches to replicate the function of two panel-mounted momentary push button switches in a musical instrument midi controller. But these switches do not switch a power supply level to the I/O pin of the microcontroller. Instead, both panel-mounted switches connect the same Q output of a CMOS latch, each through a forward biased diode, to a distinct I/O pin of a microcontroller. See schematic attached. (And, those two inputs might have a light FET pullup to VCC depending on how the microcontroller is configured.)
I am thinking that an open collector and emitter bipolar transistor which parallels each of the panel switches could be switched on via a TTL inverter/buffer when the input to the TTL inverter is connected to ground via the footswitch.
I plan to use two vacant pins on an existing dsub 25 connector to bring out the inputs to the two inverter/drivers to turn on the open collector/open emitter transistor. There is no VCC available at the dsub 25. So, the inverter/drivers would be mounted inside the equipment with the microcontroller and panel switches. But the existing connector already connects to several other footswitches which ground other inputs of the microcontroller. These are straight forward direct inputs to other microcontroller I/O pins. So, VSS is brought out through the connector. And, it would be easy to drive the inverter inputs to ground. But the bipolar switch transistors must remain off when the inverter inputs float.
As a former MOS chip designer, I am unfamiliar with bipolar/TTL design, so I am looking for validation of this design approach and help with the identification of a commercially available inverter/buffer - or with the design of one from discrete components. Then I would build two of these, i.e. one for each switch I will bypass with an external footswitch to ground.
Microprocessor is PIC16C74, I/O pins involved RB2 and RB5.
Specs are complex, but according to the uP datasheet, looks like min VIH is ~2.0-2.05V and max VIL is ~0.8V
Latch 74HC573B1, Q output is the subject output to be switched.
Max VOL 0.1V and Min VOH=1.9V, both @IO=20uA or as much as 7.8mA, depending on VCC.
- *An alternate approach might be to bring the output of the latch itself out through the dsub 25 connector to be switched across the internal panel mounted switches. This would be a 10’ wire (20’ round trip) and would be in effect a large capacitive load on the latch and possibly a significant IR drop (say, #22 or 24 AWG wire) to parallel each of the panel switches. But, this would require a third pin, i.e. one for the Q output of the latch and one each for the opposite pole of each panel mounted switch. So, it would require adding a connector to the equipment housing. But, would be simpler in design than the two inverter design. If this were a practical approach, I could mount an additional connector with sufficient pins, but, I suspect that such a long wire would be too much load on the latch. Moreover, I cannot afford to risk any damage to the equipment internal circuitry as the equipment is obsolete and I would not be able to procure components like the microcontroller and I don’t have the flash coding for the application.
Attachments
-
38.6 KB Views: 11
-
2.9 MB Views: 9
-
775.9 KB Views: 1
Last edited: