Skip to main content
replaced http://electronics.stackexchange.com/ with https://electronics.stackexchange.com/
Source Link

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you probably do not need the R2 resistor, it could in theory function to reduce the amount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could in theory also have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2. Similarly, if you were worried about, say, a screwdriver falling into the switch and shorting the contacts to ground, then adding resistor R2 between the switch and V1 could limit the current in flowing in that case and prevent the short from blowing out the power supply or the connecting wires.

None of these theoretical effects probably matter in your circuit, but in practice they can be a real consideration. Check out this question (of mine!) where the location of the resistor is important for similar reasons...

What is the purpose of adding a 300 ohm to 500 ohm resistor on the WS2812B Neopixel data line?What is the purpose of adding a 300 ohm to 500 ohm resistor on the WS2812B Neopixel data line?

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you probably do not need the R2 resistor, it could in theory function to reduce the amount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could in theory also have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2. Similarly, if you were worried about, say, a screwdriver falling into the switch and shorting the contacts to ground, then adding resistor R2 between the switch and V1 could limit the current in flowing in that case and prevent the short from blowing out the power supply or the connecting wires.

None of these theoretical effects probably matter in your circuit, but in practice they can be a real consideration. Check out this question (of mine!) where the location of the resistor is important for similar reasons...

What is the purpose of adding a 300 ohm to 500 ohm resistor on the WS2812B Neopixel data line?

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you probably do not need the R2 resistor, it could in theory function to reduce the amount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could in theory also have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2. Similarly, if you were worried about, say, a screwdriver falling into the switch and shorting the contacts to ground, then adding resistor R2 between the switch and V1 could limit the current in flowing in that case and prevent the short from blowing out the power supply or the connecting wires.

None of these theoretical effects probably matter in your circuit, but in practice they can be a real consideration. Check out this question (of mine!) where the location of the resistor is important for similar reasons...

What is the purpose of adding a 300 ohm to 500 ohm resistor on the WS2812B Neopixel data line?

added 327 characters in body
Source Link
bigjosh
  • 10.2k
  • 34
  • 53

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you mightprobably do not need the R2 resistor, it could in theory function to reduce the ammountamount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could in theory also have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2. Similarly, if you were worried about, say, a screwdriver falling into the switch and shorting the contacts to ground, then adding resistor R2 between the switch and V1 could limit the current in flowing in that case and prevent the short from blowing out the power supply or the connecting wires.

None of these theoretical effects probably matter in your circuit, but in practice they can be a real consideration. Check out this question (of mine!) where the location of the resistor is important for similar reasons...

What is the purpose of adding a 300 ohm to 500 ohm resistor on the WS2812B Neopixel data line?

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you might not need the R2 resistor, it could function to reduce the ammount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2.

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you probably do not need the R2 resistor, it could in theory function to reduce the amount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could in theory also have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2. Similarly, if you were worried about, say, a screwdriver falling into the switch and shorting the contacts to ground, then adding resistor R2 between the switch and V1 could limit the current in flowing in that case and prevent the short from blowing out the power supply or the connecting wires.

None of these theoretical effects probably matter in your circuit, but in practice they can be a real consideration. Check out this question (of mine!) where the location of the resistor is important for similar reasons...

What is the purpose of adding a 300 ohm to 500 ohm resistor on the WS2812B Neopixel data line?

Source Link
bigjosh
  • 10.2k
  • 34
  • 53

Yes, in your circuit, the resistors form a voltage divider when the switch is closed, assuming that the input impedance (how much current flows into it) of the Trigger pin is much higher than the value of the resistors.

When the switch is open, the 10K resistor R1 acts to keep the voltage on the Trigger Pin from floating. If, say, the Trigger Pin was to high impedance input (that is, it lets very little current flow though it, like the gate of a MOSFET), then without R1 it is possible that just stray electrical charges and fields could be enough to make the voltage on the Trigger Pin go high enough to trigger even though it is not connected to anything.

While you might not need the R2 resistor, it could function to reduce the ammount of current used when the switch is closed, or specifically to make sure the voltage reaching the Trigger Pin is always a little lower than (rather than equal to) V1 when the switch is closed.

Moving the resistor R2 before or after the switch could have effects. For example, if V1 is sensitive to voltage transients, then putting the resistor between the switch and V1 could help mitigate any static discharge that happens when someone physically touches the switch, at least compared to having the switch connected directly V1 and using resistor in position B2.