QTR-1RC

The typical sequence for reading a sensor is:

Set the I/O line to an output and drive it high Allow at least 10 us for the 10 nF capacitor to charge Make the I/O line an input (high impedance) Measure the time for the capacitor to discharge by waiting for the I/O line to go low


Please log in to post comments.