Yl105 Datasheet Better -

The YL105 datasheet reveals a sensor that is better for 80% of hobbyist and commercial indoor projects . It is robust, forgiving, and cheap. When paired with proper timing code and a clean power supply, it rivals sensors twice its price.

*data = byte; return true;

| Parameter | Symbol | Value | Your code must... | | :--- | :--- | :--- | :--- | | Start signal low time | Tbe | > 18 ms | Pull pin LOW for 20ms (not 1ms) | | Sensor response low | Trel | 80 µs | Wait for pin to go LOW | | Sensor response high | Treh | 80 µs | Wait for pin to go HIGH | | Bit "0" high time | Tbit_0 | 24-28 µs | Sample after 30 µs | | Bit "1" high time | Tbit_1 | 70-74 µs | Sample after 50 µs | yl105 datasheet better