Digital Read... pin voltages question

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

Link for your specific sensor?

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.

  1. What are the voltages allowed for reading a digital value?..

Maximum of 3V3.

  1. 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.