Loading...
Pages: [1]   Go Down
Author Topic: At what voltage is a digital pin HIGH?  (Read 561 times)
0 Members and 1 Guest are viewing this topic.
Poole, Dorset, UK
Offline Offline
God Member
*****
Karma: 8
Posts: 669
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From the datasheet Section 28.2, for an UNO running at 5V a digital input will read high at a voltage of just 0.6V. Is this correct?.

Mark
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 116
Posts: 10130
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
VCC = 2.4V - 5.5V
Quote
2. “Min.” means the lowest value where the pin is guaranteed to be read as high

Quote
Is this correct?

Given the conditions, that's my interpretation.
Logged

Offline Offline
Full Member
***
Karma: 6
Posts: 126
Knowledge is proportional to the number of parts destroyed.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just to be perfectly clear, the data sheet specifies a minimum of 0.6 TIMES Vcc (or 3 Volts when Vcc = 5 Volts) for Logic High inputs.

(0.7 times Vcc when Vcc < 2.4V)

Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 279
Posts: 15293
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From the datasheet Section 28.2, for an UNO running at 5V a digital input will read high at a voltage of just 0.6V. Is this correct?.

Mark

No, the spec is saying that the minimum input pin voltage needed to be detected as a HIGH is .6 X Vcc (60% of the actual Vcc voltage being used). So for a 5 volt arduino board the minimum input pin voltage guaranteed to be detected as a HIGH is +3.0 vdc.
For a 3.3vdc powered board the value would be 1.98vdc.
Lefty

Ah, TC beat me to it.  smiley-wink
« Last Edit: October 15, 2012, 02:17:18 pm by retrolefty » Logged

Poole, Dorset, UK
Offline Offline
God Member
*****
Karma: 8
Posts: 669
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@retro and TC

now that makes a lot more sense!

Mark
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 116
Posts: 10130
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Yikes!  Sorry about that.
Logged

Offline Offline
Full Member
***
Karma: 6
Posts: 126
Knowledge is proportional to the number of parts destroyed.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Pobody's Nerfect!

 smiley
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 279
Posts: 15293
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Yikes!  Sorry about that.


Well at least you cast your answer as an interpretation, not a fact.  smiley-grin 

Lefty
Logged

Pages: [1]   Go Up
Print
 
Jump to: