Pages: [1]   Go Down
Author Topic: Digital Read... pin voltages question  (Read 713 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I need to read from a sensor that provides a digital signal, but the sensor was designed for a regular Arduino (0-5V), now with the Arduino Due, there is a warning about the use of 5V as input..

1) What are the voltages allowed for reading a digital value?..
2) What voltages are the threshold values for understanding that a zero or one value was read by the Arduino Due?

Thanks in advance
Logged

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

Link for your specific sensor?
Logged

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

It is a home made light sensor that detects if the robot is crossing a white line, made by my son. I was thinking in adding two resistors for reducing the voltage, but that would change the design he is doing.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
1) What are the voltages allowed for reading a digital value?..
Maximum of 3V3.

Quote
2) What voltages are the threshold values for understanding that a zero or one value was read by the Arduino Due?
A zero is 0.99V or less, a one is 2.31V or greater.
Logged

Pages: [1]   Go Up
Jump to: