Rotarymaker
New Member
Simply because throughout JoeWawaw's topic he shows that he has 5Volt attached via 100ohm resistor onto the top of his switch (taking this to represent one "column" of his keypad matrix), and the other side of his switch to 0Volts via another 100ohm resistor (taking this to represent one "row" of his keypad matrix)Why are you placing any external voltage on the switch matrix?
......this I took as the basis of one switch of his keypad matrix design.....he even implements this in his own final solution design circuit
This is exactly my point of why I said your design may not work.
I'm sorry if this has offended you by suggesting your circuit design may not work.
I totally agree with you.....not within your circuit ...... i.e. just using the matrix switches isolated on their own ....without any external voltage influences on the rows or columnsThere doesn't need to be any logic high (or low) on any base-emitter junction. The junction will have about 0.7V across it when the switch is closed, and 0V when the switch is open.
Certainly not arguing, just discussing.......I don't see any point that needs to be argued. The circuit is very simple. Close the switch and tell me what the voltage on the outputs are. Now open the switch; what are the output voltages now?
Not wishing to "teach granny how to suck eggs", but.....
When switch closed on your circuit, we should see 5Volts (minus the saturation voltage of emitter to collector of PNP transistor) on Output 2 and 0Volts (plus the collector to emitter saturation voltage of the NPN transistor) on Output 1
.....UNLESS we have the influence of JoeWawaw's 5Volts via 100ohm resistor on top side of switch
Then when switch is then opened we should see 0Volts on Output 2 due to resistor on PNP collector tying Output 2 low while PNP transistor is not biased on and 5Volts on Output 1 due to resistor on collector of NPN transistor tying Output 1 high while NPN transistor is not biased on.
I hope we can both agree on this?
Yes, that was at the beginning of his post that I read that......then it changed from being a single switch, to a matrix keypad, ......then again to ......The following quote is what JowWawaw was asking for. The circuit I provided gives a a near 0-5V swing on one output and a near 5-0V swing on the other; the change occurs when the switch is pressed.
Quote ""So I'm trying to "demultiplex" an array of 12 switches arranged in a 3x4 manner, one of those keypad digits thing.
It comes with 12 switches multiplexed to 7 pins, 3 for one side, 4 for the other, i want to rearrange it so that a i have all 12 pins available.
My idea was to have this circuit connected twelve times from each "anode" to each "cathode", then when one switch is pressed, the voltage alternates only on those two pins that connect that switch, which would then be connected to some gate that would give me an output. " Unquote
Dougy83, on your circuit you have 2 outputs per switch, not one.
With reference to above paragraph red text, Does this not mean that JoeWawaw wants one switch to vary one output?
.....again, I'm not arguing, .....just discussing and stating where topic confusion lies