The XH-M131 Light Sensor Relay Module is a compact, easy-to-use automatic light control switch designed for a wide range of lighting and automation applications. It combines a photoresistor (LDR) light sensor with a high-current relay output and an adjustable sensitivity potentiometer, allowing you to automatically switch lights, lamps, and other devices on at dusk and off at dawn — or vice versa. It is an ideal solution for street lighting, garden lights, security lighting, and DIY automation projects.
At the heart of the module is a photoresistor (light-dependent resistor) that changes its resistance based on ambient light levels. The onboard comparator circuit monitors this resistance and compares it to a user-adjustable threshold set by the onboard potentiometer. When the ambient light level crosses the threshold, the relay activates or deactivates, providing automatic light-based switching.
The module operates from a 5V DC power supply, making it compatible with common microcontrollers, USB power sources, and standard 5V power adapters. The high-current relay is rated for 10A at 250V AC or 30V DC, capable of directly switching lamps, LED strips, incandescent bulbs, and other lighting loads.
The adjustable sensitivity potentiometer allows you to set the light threshold at which the relay activates. Turn the potentiometer clockwise to increase sensitivity (activate in brighter conditions) or counter-clockwise to decrease sensitivity (activate only in darker conditions). This makes the module adaptable to different environments and lighting requirements.
The module features screw terminals for secure connection of power, sensor, and load wiring. LED indicators provide visual feedback for power status and relay activation. The compact PCB design with mounting holes allows easy integration into light fixtures, control panels, and equipment enclosures.
The module is widely used in automatic street lighting, garden and pathway lights, security lighting, night lights, solar garden lights, advertising signage, and DIY automation projects. It is also popular in educational projects for teaching light sensing, comparator circuits, and relay control.
Important Note: The relay is rated for 10A at 250V AC or 30V DC. For inductive loads such as motors, keep the load current below 60–70% of the rated value. Always ensure proper isolation and safety precautions when working with mains voltage. The sensitivity potentiometer should be adjusted based on your specific lighting conditions.
Whether you are building an automatic garden light, a security lighting system, or a DIY light-activated switch, the XH-M131 Light Sensor Relay Module provides a reliable, adjustable solution. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.
Features
-
Photoresistor light sensor — Detects ambient light levels
-
High-current relay output — 10A at 250V AC / 30V DC switching capacity
-
Adjustable sensitivity — Onboard potentiometer sets light threshold
-
Automatic light control — Switches loads on/off based on ambient light
-
5V DC operation — Compatible with USB power and standard adapters
-
LED indicators — Power status and relay activation feedback
-
Screw terminals — Secure connections for power and load wiring
-
Compact PCB design — With mounting holes for easy installation
-
Wide application range — Street lighting, garden lights, security lighting, DIY projects
-
Simple operation — No programming required; adjust and use
Technical Specifications
| # | Parameter | Specification |
|---|---|---|
| 1 | Module Model | XH-M131 |
| 2 | Sensor Type | Photoresistor (LDR) |
| 3 | Operating Voltage | 5V DC |
| 4 | Relay Rating | 10A at 250V AC / 10A at 30V DC |
| 5 | Sensitivity Adjustment | Onboard potentiometer |
| 6 | Indication | Power LED + relay status LED |
| 7 | Terminal Type | Screw terminals |
| 8 | Module Dimensions | Compact PCB with mounting holes |
























