Skip to main content
Home / Computer Hardware, Monitors & Peripherals / 5V Photoresistor Sensor with Relay Module - Light-Controlled Switch for No-Light Detection

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Operating Voltage DC 5V
Control Signal Digital Switch Output (0 and 1)
Relay Contact Capacity 250VAC 10A / 30VDC 10A
Sensor Type Photoresistor (LDR)
PCB Dimensions 32mm x 14mm
Mounting Hole Size 3.0mm Diameter
Interface Type 3-Pin PH2.0 Connector
Power Indicator Red LED
Sensitivity Adjustment Blue Potentiometer
Package Includes 1 x Sensor Module

5 reviews

A

Anonymous

Apr 12, 2026

Rating: 5/5

Perfect for my Arduino Night Light

Works exactly as described. Adjusted the potentiometer easily to trigger the relay when the room lights go off. Great for DIY automation projects.

A

Anonymous

Apr 07, 2026

Rating: 5/5

Reliable dark detection

I used this to trigger a cooling fan when the enclosure gets dark which indicates the lid is closed. Very responsive and stable output.

A

Anonymous

Feb 25, 2026

Rating: 5/5

Great value for money

Bought 5 for a classroom project. All worked out of the box. Students were able to integrate them into their circuits without issues.

A

Anonymous

Feb 10, 2026

Rating: 3/5

Relay is noisy

Functionality is fine and it detects light changes accurately. However, the mechanical relay click is quite loud if you are using it in a quiet room.

A

Anonymous

Jan 31, 2026

Rating: 4/5

Good module, slight wiring confusion

The module works well and is sensitive to light changes. The pinout wasn't clearly labeled on the board itself, so I had to check the datasheet.

5 FAQ

Q: Is the activation triggered by light or darkness?

A: It is adjustable. You can use the blue potentiometer to set the threshold for either light-activated or dark-activated switching.

Q: Can I use this with a Raspberry Pi?

A: Yes, but please ensure logic levels match. The Pi uses 3.3V logic while this module is 5V. A level shifter may be required for the signal pin.

Q: Can I reverse the logic output without changing code?

A: Yes, turning the potentiometer fully one way or the other will change the trigger point from high-to-low or low-to-high based on light intensity.

Q: What is the maximum load this relay can handle?

A: The relay is rated for 250VAC at 10A or 30VDC at 10A. Please do not exceed these limits to ensure safety and longevity.

Q: Does this module include jumper wires?

A: No, the package includes only the sensor module. Jumper wires need to be purchased separately based on your project requirements.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
[Save $50 on Order] Bundle: 5 Notebooks + 2 Pens + 20 Refills + 2 Grip Correctors

[Save $50 on Order] Bundle: 5 Notebooks + 2 Pens + 20 Refills + 2 Grip Correctors

$39.90

Sketching Tool Set for Art Students - Includes Blending Stumps, Tortillons, Paper Stumps, Sponge Balls, Cotton Swabs, Highlight Pens, Gray Tone Tools, Insert Knives, Smudging Knives, Scrapers, and Blending Cotton

Sketching Tool Set for Art Students - Includes Blending Stumps, Tortillons, Paper Stumps, Sponge Balls, Cotton Swabs, Highlight Pens, Gray Tone Tools, Insert Knives, Smudging Knives, Scrapers, and Blending Cotton

$7.65

Suede Rope Korean Velvet Rope DIY Aromatherapy Candle Plaster Tag Hanging Cord Packaging Gift Box Ribbon Decorative Leather Rope

Suede Rope Korean Velvet Rope DIY Aromatherapy Candle Plaster Tag Hanging Cord Packaging Gift Box Ribbon Decorative Leather Rope

$0.85

[Damai Holds Microneedle Hair Transplant Patent] Hair Collagen | Improves Hair Loss, Nourishes Dermis and Follicles

[Damai Holds Microneedle Hair Transplant Patent] Hair Collagen | Improves Hair Loss, Nourishes Dermis and Follicles

$1,980.00

Selected Factory Low-Temperature 3D Printing Pen for Kids, Children's 3D Printing Pen Set, 3D Drawing Pen

Selected Factory Low-Temperature 3D Printing Pen for Kids, Children's 3D Printing Pen Set, 3D Drawing Pen

$100.02

Milk Pasteurization Line - Small-Scale Yogurt Production Machine for Liquid Yogurt and Pasteurized Milk

Milk Pasteurization Line - Small-Scale Yogurt Production Machine for Liquid Yogurt and Pasteurized Milk

$8,148.00

Commercial Small Heating Warmer Cabinet, Glass Constant-Temperature Countertop Display Case for Egg Tarts, Burgers, and Fried Chicken

Commercial Small Heating Warmer Cabinet, Glass Constant-Temperature Countertop Display Case for Egg Tarts, Burgers, and Fried Chicken

$884.00

Custom Seal Stamp Engraving Personal Name Phone Number Private Chop

Custom Seal Stamp Engraving Personal Name Phone Number Private Chop

$5.89

Commercial Food Warmer Cabinet for Milk, Soy Milk, Burgers, Egg Tarts, Fried Chicken, Pies, Youtiao, and Bread Display

Commercial Food Warmer Cabinet for Milk, Soy Milk, Burgers, Egg Tarts, Fried Chicken, Pies, Youtiao, and Bread Display

$1,355.00

PJ0040 Rose Embossed Cross Silicone Mold - For Candles, Aromatherapy, Soap, Plaster, and DIY Crafts

PJ0040 Rose Embossed Cross Silicone Mold - For Candles, Aromatherapy, Soap, Plaster, and DIY Crafts

$11.20

Yuwell Oxygen Concentrator Control Board Motherboard 8F-3AW/8F-5AW/9F-5BW

Yuwell Oxygen Concentrator Control Board Motherboard 8F-3AW/8F-5AW/9F-5BW

$120.00

Leyingfang Floating Pen for Kids and Students - Water-Based Non-Toxic Erasable Whiteboard Pen for Drawing in Water, Large Capacity Suspension Pen

Leyingfang Floating Pen for Kids and Students - Water-Based Non-Toxic Erasable Whiteboard Pen for Drawing in Water, Large Capacity Suspension Pen

$18.00

Car Wheel Lug Nut Covers - Colorful Silicone Dust-Proof and Rust-Proof Caps for Tire Bolt Protection and Exterior Styling

Car Wheel Lug Nut Covers - Colorful Silicone Dust-Proof and Rust-Proof Caps for Tire Bolt Protection and Exterior Styling

$8.80

Automatic Stainless Steel Vegetable Slicer for Ginger, Potatoes, Carrots, Onions, and Cabbage - Commercial Dicing Machine

Automatic Stainless Steel Vegetable Slicer for Ginger, Potatoes, Carrots, Onions, and Cabbage - Commercial Dicing Machine

$3,951.36

[Damai Holds Micro-Needle Hair Transplant Patent] Top Thinning Hair Transplant | Micro-Needle Density Enhancement (500 Units)

[Damai Holds Micro-Needle Hair Transplant Patent] Top Thinning Hair Transplant | Micro-Needle Density Enhancement (500 Units)

$7,000.00

Little Leather Paper Strip Music Box (30-Note) Sheet Music - Contact Before Ordering; Specify Song Email for Digital Score Delivery

Little Leather Paper Strip Music Box (30-Note) Sheet Music - Contact Before Ordering; Specify Song Email for Digital Score Delivery

$1.00

Kitchen Sink Strainer Basket Push-Type Food Residue Separator Filter Hanging Storage Rack

Kitchen Sink Strainer Basket Push-Type Food Residue Separator Filter Hanging Storage Rack

$3.80

Heavy-Duty Heat-Treated CV Joint Puller Tool - Axle Ball Cage Removal and Installation Device for Automotive Repair

Heavy-Duty Heat-Treated CV Joint Puller Tool - Axle Ball Cage Removal and Installation Device for Automotive Repair

$66.00

Mobile Integrated Waste Transfer Station - 17 Cubic Meters Movable Compression Container

Mobile Integrated Waste Transfer Station - 17 Cubic Meters Movable Compression Container

$159,443.00

Antique Glaze White Ceramic Brush Washer Large Brush Washer Water Pot Ink Stone Washing Calligraphy Painting Brush Washing Basin Four Treasures of the Study

Antique Glaze White Ceramic Brush Washer Large Brush Washer Water Pot Ink Stone Washing Calligraphy Painting Brush Washing Basin Four Treasures of the Study

$16.80

Authentic Chinese Philosophy Classics: Di Tian Sui, Qiong Tong Bao Jian, San Ming Tong Hui - Annotated & Illustrated Edition

Authentic Chinese Philosophy Classics: Di Tian Sui, Qiong Tong Bao Jian, San Ming Tong Hui - Annotated & Illustrated Edition

$29.90

Household Disposable Kitchen Sink Garbage Filter Mesh Drain Pool Dishwashing Basin Strainer Vegetable Bowl Leftover Sink

Household Disposable Kitchen Sink Garbage Filter Mesh Drain Pool Dishwashing Basin Strainer Vegetable Bowl Leftover Sink

$3.51

Continental Run-Flat Tires: 225/235/245/255/265 45/50/55 R17/R18/R19/R20/R21/R22

Continental Run-Flat Tires: 225/235/245/255/265 45/50/55 R17/R18/R19/R20/R21/R22

$357.00

Foldable Steel Tire Stone Removal Hook - Multi-Tool for Tire Repair, Stone Picking, and Emergency Window Breaking with Storage Bag

Foldable Steel Tire Stone Removal Hook - Multi-Tool for Tire Repair, Stone Picking, and Emergency Window Breaking with Storage Bag

$11.70

Integrated Catalytic Combustion Unit RCO Furnace - Exhaust Gas Treatment System with Activated Carbon Adsorption-Desorption and Catalytic Combustion

Integrated Catalytic Combustion Unit RCO Furnace - Exhaust Gas Treatment System with Activated Carbon Adsorption-Desorption and Catalytic Combustion

$231,249.00

Universal Waterproof and Sunproof Cover for E-Bike Charger with Outdoor Storage Box

Universal Waterproof and Sunproof Cover for E-Bike Charger with Outdoor Storage Box

$11.85

Baohong Paper Brick Watercolor Paper Pad, Medium/Coarse Texture, Square/Round Shapes for Painting, Sketching, and Cotton Pulp Practice

Baohong Paper Brick Watercolor Paper Pad, Medium/Coarse Texture, Square/Round Shapes for Painting, Sketching, and Cotton Pulp Practice

$28.00

Commercial Food Warmer Cabinet for Pies, Youtiao, Burgers, Egg Tarts, and Fried Chicken, Heating and Temperature-Controlled Display Case

Commercial Food Warmer Cabinet for Pies, Youtiao, Burgers, Egg Tarts, and Fried Chicken, Heating and Temperature-Controlled Display Case

$977.00

Masking Tape Spray Paint Shielding Paper for Art Students and Sketching - Non-bleeding, Residue-free, Hand-tearable, Shoe-safe

Masking Tape Spray Paint Shielding Paper for Art Students and Sketching - Non-bleeding, Residue-free, Hand-tearable, Shoe-safe

$1.00

Electric Scooter and Motorcycle Hook - Multi-Functional Storage Hanger for Delivery Bikes and Cargo Boxes

Electric Scooter and Motorcycle Hook - Multi-Functional Storage Hanger for Delivery Bikes and Cargo Boxes

$2.50