Analyzing pushbutton switch ADC circuit edge cases

  • Thread starter Thread starter bremenfallturm
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
bremenfallturm
Messages
81
Reaction score
13
TL;DR
Hi, I'm trying to build a circuit with a varying voltage on the ADC pin depending on which switch is held down. In the circuit below, all 4 switches are held down. I would assume that current flows through all of the different switches, but it only flows through the first switch. Why is that so?
Hi, I'm trying to build an ADC circuit with a varying voltage on the ADC pin depending on which switch is held down.
I have been thinking about the edge case where multiple switches are held down, and what would happen. In the circuit below, all 4 switches are held down. I would assume that current flows through all of the different switches, but it only flows through the first switch. Why is that so? Wouldn't some current flow through all of the different switches?
(please apologize for my very rudimentary electronics knowledge. please don't come at me for not trying to think about this on my own, I have been doing so)

1744483083409.png
 
Engineering news on Phys.org
bremenfallturm said:
I would assume that current flows through all of the different switches, but it only flows through the first switch. Why is that so? Wouldn't some current flow through all of the different switches?
When you press the top switch, the voltage at all other switches become zero, so pressing other switches makes no difference.
 
Baluncore said:
When you press the top switch, the voltage at all other switches become zero, so pressing other switches makes no difference.
Sorry for the rookie follow-up question then, but why is that so?
Is it because the potential at the point where the first switch is connected is 0V after it has been pulled to ground, and there is no potential difference between that point and concequtive points after pulling to ground?
1744570740695.png
 
Last edited:
When you press the top switch, the voltage at the ADC node goes to zero, the ground potential.

The three series resistors, 220R + 500R + 700R = 1420R, then have zero voltage across them, so by Ohms law, the current through them, is 0 / 1420 = 0 amp.

Therefor, there is no resistor current to flow through the three lower switches, even if they were closed. There is no voltage across any of those switches, so their state is not important to the circuit analysis.
 
Thank you! I understand now.
 
Reply
  • Like
Likes   Reactions: berkeman