So, if switch is grounded then what is the problem? Isn't it similar to connecting GPIO to logic-0?otherwise mcu-gpio72 and mcu-gpio84 will be grounded when switch is on.
I agree 56k is required for known state, but when switch is connected to GND why do we need a series resistor?You never want I/O lines on a processor to "float" at an undefined voltage level. The 56KΩ resistor to 3.3 V is a "weak" pullup. The 2.2KΩ is a "strong" pulldown to GND. The terms "weak" and "strong" in this context are relative.
If the GPIO pin is inadvertently set to be a high output, the high output would be shorted to ground when the switch is pressed.but when switch is connected to GND why do we need a series resistor?
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
| M | Running LEDs with no resistors | General Electronics Chat | 24 | |
|
|
series resistors Vs. lowering the voltage | General Electronics Chat | 9 | |
| J | Theory Question About Pull Down Resistors | Microcontrollers | 12 | |
|
|
Resistors and Johnson noise | General Electronics Chat | 1 | |
|
|
Cloudflare - is it necessary? | Feedback and Suggestions | 4 |