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

All Categories
Best Seller (30)
New List (30)
Tupai 3D Self-Adhesive Wall Stickers, Custom Acrylic Logo Advertising Letters for Signage, Background Walls, and Image Wall Decor

Tupai 3D Self-Adhesive Wall Stickers, Custom Acrylic Logo Advertising Letters for Signage, Background Walls, and Image Wall Decor

$8.50

Durable Replacement DEUBLIN 525/357 Water Inlet/Outlet Rotary Union for Curved Surface Printing and Cup Printing Machines

Durable Replacement DEUBLIN 525/357 Water Inlet/Outlet Rotary Union for Curved Surface Printing and Cup Printing Machines

$300.00

Detachable Large Water Barrel Rack for Mineral and Purified Water, Office Bottled Water Storage Stand with Wheels

Detachable Large Water Barrel Rack for Mineral and Purified Water, Office Bottled Water Storage Stand with Wheels

$136.00

Tea Packaging Gift Box - Empty Ceramic Tea Canister for Longjing, Green Tea, White Tea, Ripe Pu'er, Universal Packaging

Tea Packaging Gift Box - Empty Ceramic Tea Canister for Longjing, Green Tea, White Tea, Ripe Pu'er, Universal Packaging

$68.00

Ruke Floating Skimmer Machine for Sewage Treatment Plant Biochemical Tanks

Ruke Floating Skimmer Machine for Sewage Treatment Plant Biochemical Tanks

$12,064.00

Car Tire Stone Removal Tool Rock Picker Anti-Explosion Hook Stone Cleaner Car Hook Window Breaker Hammer

Car Tire Stone Removal Tool Rock Picker Anti-Explosion Hook Stone Cleaner Car Hook Window Breaker Hammer

$2.07

Negotiable Price: Siemens 10mA Leakage Circuit Breaker, 2P 16A Ground Fault Protection

Negotiable Price: Siemens 10mA Leakage Circuit Breaker, 2P 16A Ground Fault Protection

$130.00

Jingdezhen Ceramic Brush Washer Set, Blue and White Porcelain Calligraphy Ink Well and Pen Holder

Jingdezhen Ceramic Brush Washer Set, Blue and White Porcelain Calligraphy Ink Well and Pen Holder

$14.99

Beishanlang Outdoor Camping Foldable Lighting Stand Aluminum Alloy Portable Lamp Pole Bracket Camp Light Night Fishing Light

Beishanlang Outdoor Camping Foldable Lighting Stand Aluminum Alloy Portable Lamp Pole Bracket Camp Light Night Fishing Light

$49.00

Mobile Gas Cylinder Stand with Wheels - Plastic Base Tray for Propane Tanks and Water Buckets

Mobile Gas Cylinder Stand with Wheels - Plastic Base Tray for Propane Tanks and Water Buckets

$10.65

Fast Grocery Shopping Cart, Foldable Portable Home Trolley with Stair-Climbing Wheels, Lightweight Hand Truck for Seniors

Fast Grocery Shopping Cart, Foldable Portable Home Trolley with Stair-Climbing Wheels, Lightweight Hand Truck for Seniors

$299.06

Car Tire Stone Hook - Multi-Function Rust-Resistant Tool for Removing Stones from Tires

Car Tire Stone Hook - Multi-Function Rust-Resistant Tool for Removing Stones from Tires

$8.33

Zunjue 100% Cotton Watercolor Paper Mini Portable Pocket Sketchbook for Travel, 300g Cold Press Thickened Art Notebook for Gouache, Oil Pastel, and Colored Pencil

Zunjue 100% Cotton Watercolor Paper Mini Portable Pocket Sketchbook for Travel, 300g Cold Press Thickened Art Notebook for Gouache, Oil Pastel, and Colored Pencil

$3.32

Large Capacity Waterproof Phone Pouch for Outdoor Diving, Rafting, and Swimming - Touchscreen Compatible Waist Bag with Storage

Large Capacity Waterproof Phone Pouch for Outdoor Diving, Rafting, and Swimming - Touchscreen Compatible Waist Bag with Storage

$2.50

Custom Office Meeting Door Sign – Switchable 'Do Not Disturb' & 'Please Knock' Plate

Custom Office Meeting Door Sign – Switchable 'Do Not Disturb' & 'Please Knock' Plate

$5.00

Multi-Function Over-Toilet Storage Rack – No-Drill, Multi-Tier Floor Stand for Bathroom Laundry Gap

Multi-Function Over-Toilet Storage Rack – No-Drill, Multi-Tier Floor Stand for Bathroom Laundry Gap

$28.48

External Round Thread Welding Turning Tool, Threading Tool, Zhuzhou Alloy YT15 YG8 YW2 Lathe Tools, 20*25*30 Square

External Round Thread Welding Turning Tool, Threading Tool, Zhuzhou Alloy YT15 YG8 YW2 Lathe Tools, 20*25*30 Square

$17.00

Traditional Children's Rattle Drum, Classic Baby Hand-Shake Instrument, Plastic Toy for Newborn Boys and Girls

Traditional Children's Rattle Drum, Classic Baby Hand-Shake Instrument, Plastic Toy for Newborn Boys and Girls

$2.90

Ultra-Soft Dual-Tip Blending Stump Set for Oil Pastels & Sketching – Washable Smudge Tools for Shading and Detail Work

Ultra-Soft Dual-Tip Blending Stump Set for Oil Pastels & Sketching – Washable Smudge Tools for Shading and Detail Work

$3.39

Chengzhutang Foldable Water Bucket Chinese Painting Brush Washer Gouache Watercolor Paint Cleaning Pail Art Student Brush Basin Collapsible Cup Oil Painting Color Pigment Bucket

Chengzhutang Foldable Water Bucket Chinese Painting Brush Washer Gouache Watercolor Paint Cleaning Pail Art Student Brush Basin Collapsible Cup Oil Painting Color Pigment Bucket

$9.80

Meiao Dental Nobel Biocare Import Package - Swedish Dental Implants, Crowns, Abutments, and Dentures

Meiao Dental Nobel Biocare Import Package - Swedish Dental Implants, Crowns, Abutments, and Dentures

$15,888.00

Outdoor Waterproof ABS Plastic Case - Shockproof Moisture-Proof Storage Box with Cushioning for EDC Tools and Travel

Outdoor Waterproof ABS Plastic Case - Shockproof Moisture-Proof Storage Box with Cushioning for EDC Tools and Travel

$12.00

Natural Loofah Dish Cloth - Oil-Resistant, Non-Scratch Industrial Scouring Pad

Natural Loofah Dish Cloth - Oil-Resistant, Non-Scratch Industrial Scouring Pad

$3.43

Paper Blending Stumps for Sketching - Professional Art Supplies for Highlights, Shadows, Pastels, Oil Pastels, and Colored Pencils - Complete Set for Beginners and Artists

Paper Blending Stumps for Sketching - Professional Art Supplies for Highlights, Shadows, Pastels, Oil Pastels, and Colored Pencils - Complete Set for Beginners and Artists

$4.40

Aromatherapy Cup Candle Container DIY Crystal Diffuser Stone Cup Plaster Cement Cup Glass Vessel Demagnetizing Bowl

Aromatherapy Cup Candle Container DIY Crystal Diffuser Stone Cup Plaster Cement Cup Glass Vessel Demagnetizing Bowl

$4.68

American Chicano West Coast Style Neon Sign - Gothic Script Rap Shop Decor, Opening Gift, Living Room Light-Up Art

American Chicano West Coast Style Neon Sign - Gothic Script Rap Shop Decor, Opening Gift, Living Room Light-Up Art

$279.00

Data Cable Organizer, Desktop Fixed Charging Cable Storage, Solid Wood Phone Power Cord Clip, Anti-Tangle Adhesive Hook, No-Drill Computer Wire Winder, Wooden Edge Hanging Cable Collector

Data Cable Organizer, Desktop Fixed Charging Cable Storage, Solid Wood Phone Power Cord Clip, Anti-Tangle Adhesive Hook, No-Drill Computer Wire Winder, Wooden Edge Hanging Cable Collector

$35.00

Forest Wooden House Building Blocks - Educational Treehouse Toy for Boys and Girls, Board Game Trendy Blind Box

Forest Wooden House Building Blocks - Educational Treehouse Toy for Boys and Girls, Board Game Trendy Blind Box

$12.90

German B&W Safety Case for Folding Knives - EDC Tool Storage Box, Waterproof, Moisture-Proof, Shockproof, Models 1000-3000

German B&W Safety Case for Folding Knives - EDC Tool Storage Box, Waterproof, Moisture-Proof, Shockproof, Models 1000-3000

$245.00

Fuzao Kids 3D Printing Pen 2026 New Arrival Viral Pretend Play Toy for Girls Educational Gift for Ages 3+ Children's Day

Fuzao Kids 3D Printing Pen 2026 New Arrival Viral Pretend Play Toy for Girls Educational Gift for Ages 3+ Children's Day

$48.90