Pages: [1]   Go Down
Author Topic: Use of the internal pull-up resistor  (Read 822 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I have a lot of thermistor to read and I am thinking using the internal pull-up resistor so i can connect directly the thermistor to the pin and the ground.
So i don't need to connect a lot of 10k resistor, one for each thermistor.

On the Arduino Uno description page :
http://arduino.cc/en/Main/ArduinoBoardUno
It says that the internal pull-up resistor is of 20-50 kOhms.

Is it a variable resistor value ?
Is there a way to know precisely the resistor value ?

Cordially,
Alex
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 614
Posts: 49372
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is it a variable resistor value ?
No.

Quote
Is there a way to know precisely the resistor value ?
No.

Quote
I am thinking using the internal pull-up resistor so i can connect directly the thermistor to the pin and the ground.
So i don't need to connect a lot of 10k resistor, one for each thermistor.
Don't. 10k resistors are cheap and small. Use them.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was able to calculate the internal pullup resistor and the value is 34kOhm for my Arduino Uno board but what is wrong to use the internal resistor ?
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I was able to calculate the internal pullup resistor and the value is 34kOhm for my Arduino Uno board but what is wrong to use the internal resistor ?
The value of the internal resistors (each pin has its own) can be (and probably is) different. 

You would need to determine the value of each pin's resistor.  Then remember that those will differ from chip to chip / pin to pin.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6619
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The internal pullup resistors are great for use on digital inputs, but I would not use them on analog inputs used with analogRead(), because of the variability of the value of the resistor as explained in previous replies.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Pages: [1]   Go Up
Jump to: