Yl-105 Datasheet __exclusive__ Here
if (sensorState == LOW) // Object or white surface detected digitalWrite(ledPin, HIGH); Serial.println("Detected!"); else digitalWrite(ledPin, LOW); Serial.println("Clear");
: It typically includes two infrared remote controls for convenient arming and disarming from a distance. Technical Specifications Summary Specification Model Detection Technology PIR Motion Sensor Siren Volume Detection Angle Detection Distance Alarm Duration 45–50 seconds (automatic reset) Material Durable ABS plastic yl-105 datasheet
RCSwitch mySwitch = RCSwitch();
The YL-105 is an IR tracking and obstacle avoidance sensor. It combines an infrared emitter and a phototransistor receiver on a small PCB with onboard comparator circuitry. if (sensorState == LOW) // Object or white
Connect DO to a microcontroller input. Set the threshold so the output is LOW only when a magnet is within 5mm. Mount the magnet on a door and the sensor on the frame. When the door opens, the magnet moves away, and the output goes HIGH, triggering an alarm. Connect DO to a microcontroller input