Understanding the pinout is essential. The YL-105 module typically exposes four pins (or a 4-pin header):
Depending on your project, the following technical details serve as a comprehensive datasheet guide for these components. 1. YL-105 Infrared Motion Sensor Alarm yl-105 datasheet
| Problem | Likely Cause | Solution | |---------|--------------|----------| | Output always LOW | Threshold too low or magnet always present | Turn potentiometer clockwise to increase threshold | | Output always HIGH | Threshold too high or no power | Turn potentiometer counterclockwise, check VCC/GND | | Jittery output near switching point | No hysteresis | Add a 100k resistor from DO to non-inverting input, or use software debounce | | No response even with strong magnet | Wrong magnetic pole | Use south pole of magnet | | AO reads constant voltage | Hall sensor damaged or VCC unstable | Check VCC with oscilloscope; replace module if needed | Understanding the pinout is essential
, a common resistive sensor often used for environmental detection in DIY electronics and smart gardening projects. Understanding the YL-105 Sensor Module: Datasheet & Guide YL-105 Infrared Motion Sensor Alarm | Problem |
The module generally features a 4-pin interface for easy connection to microcontrollers like Arduino, ESP32, or Raspberry Pi: Power supply ( Digital output (logic Analog output ( cap V cap C cap C Key Performance Characteristics Detection Depth: