Pulling a pin high
Siri
Posts: 220
Is it ok to pull a pin high(connecting to + ve 3.2V directly) or do I have to use a resistor.
If so what value would I use.
Will this also return 1(high) -when INA is used to read the state of the pin.
Thanks,
Siri
If so what value would I use.
Will this also return 1(high) -when INA is used to read the state of the pin.
Thanks,
Siri
Comments
It's always much safer to use a series resistor that will limit the fault current to something the chip can handle. A minimum of 100 Ohms will work, but a 1K to 10K resistor is much better. Most circuits I've seen use something like 10K.
INA will return 1 bits for any input pins with a voltage greater than 1/2 of Vdd (1.65V usually). The Propeller datasheet gives the exact value.
Siri
A larger value (10K) is called a "weak" pull-up.
Bean
Siri