Loading...
Pages: [1]   Go Down
Author Topic: Use of the internal pull-up resistor  (Read 341 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: 316
Posts: 35535
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

Austin, TX
Offline Offline
Faraday Member
**
Karma: 41
Posts: 5174
CMiYC
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

www.cmiyc.com - A guide to being an Enginerd

United Kingdom
Offline Offline
Faraday Member
**
Karma: 131
Posts: 4681
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. http://www.eschertech.com

Pages: [1]   Go Up
Print
 
Jump to: