It has been tried and can work, For the receiver sensor, when it is read using Arduino analogRead() it will read values ranging from 107 to 109 , so if used as digitalRead(), it will always read the LOW condition. Hopefully it will function properly and last long. The shape turned out to be funny and small ... When tracked the package experienced transit problems for a month over several days ... Ordered May 15, 2020, received July 6, 2020.
analogRead() it will read values ranging from 107 to 109 (when the sensor doesn't capture light). when the sensor captures light, the reading becomes 0 I do not know whether this is the way the sensor works, or the sensor has a problem.
It has been tried and can work, For the receiver sensor, when it is read using Arduino analogRead() it will read values ranging from 107 to 109 , so if used as digitalRead(), it will always read the LOW condition. Hopefully it will function properly and last long. The shape turned out to be funny and small ... When tracked the package experienced transit problems for a month over several days ... Ordered May 15, 2020, received July 6, 2020.
analogRead() it will read values ranging from 107 to 109 (when the sensor doesn't capture light). when the sensor captures light, the reading becomes 0 I do not know whether this is the way the sensor works, or the sensor has a problem.