sink current on pin in input pull up
Posted: Mon Jan 21, 2019 4:21 pm
Hello, I have an application where I have a discrete sensor connected to the esp8266's gpio through a bipolar transistor so that when the transistor is turned it pulls the pin down, resulting in a low reading. but after triggering the sensor must remain low for a few moments after the event that triggers it, so I chose to use a capacitor connected from the gpio to the ground so that when the capacitor is turned on it quickly discharges and takes time to charge keeping low level at a time. my doubt: this capacitor load would come from the internal pullup resistor of the gpio configured for input pull up and I'm not sure if that is possible or safe. can I use the gpio in pull up to charge the capacitor or should I use an external pull up and disable the internal?