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)
Custom Company Door Sign, Office Nameplate, Outdoor Cut-Out Enterprise Studio Logo Identifier Background Plaque

Custom Company Door Sign, Office Nameplate, Outdoor Cut-Out Enterprise Studio Logo Identifier Background Plaque

$122.20

LA・LA・LA LOVE SONG by Toshinobu Kubota - Precise Saxophone Transcription Sheet Music (3-Piece Set)

LA・LA・LA LOVE SONG by Toshinobu Kubota - Precise Saxophone Transcription Sheet Music (3-Piece Set)

$16.00

Hairline Transplantation | No-Shave Hair Transplant | 2000+ Grafts for Face-Framing High Crown Contouring

Hairline Transplantation | No-Shave Hair Transplant | 2000+ Grafts for Face-Framing High Crown Contouring

$25,800.00

Touchmark Easy-Wash Acrylic Markers 24 Colors for Elementary School Art Supplies Children's Drawing Pens

Touchmark Easy-Wash Acrylic Markers 24 Colors for Elementary School Art Supplies Children's Drawing Pens

$12.80

Dual-Tip Marker Set for Children's Art, Drawing, Coloring, Student Posters, Stationery, and Fill-In Colors

Dual-Tip Marker Set for Children's Art, Drawing, Coloring, Student Posters, Stationery, and Fill-In Colors

$14.05

[Kiss Me If You can × COMIPLUS+] Collaboration Merchandise Online Pre-Sale

[Kiss Me If You can × COMIPLUS+] Collaboration Merchandise Online Pre-Sale

$16.00

Portable Neck-Worn Negative Ion Air Purifier for Car and Home Use, Removes Smoke and Odors

Portable Neck-Worn Negative Ion Air Purifier for Car and Home Use, Removes Smoke and Odors

$127.44

Colored Pencils Colorful Oil-Based Colored Pencils Coloring Set

Colored Pencils Colorful Oil-Based Colored Pencils Coloring Set

$12.81

Yoofun 30pcs/set Natural Plants Leaf Flower Wooden Stamp Set

Yoofun 30pcs/set Natural Plants Leaf Flower Wooden Stamp Set

$54.67

Garden Pest Control Granules - Broad-spectrum Insecticide and Fungicide for Soil-borne Pests and Diseases in Vegetable Plots

Garden Pest Control Granules - Broad-spectrum Insecticide and Fungicide for Soil-borne Pests and Diseases in Vegetable Plots

$10.80

UGREEN Cable Organizer - Silicone Wire Winder for Charging Cables, Headphones, and Ethernet Cords

UGREEN Cable Organizer - Silicone Wire Winder for Charging Cables, Headphones, and Ethernet Cords

$5.90

[Deposit] Xingweimian Lolita 2025 Spring/Summer Rain Falling on Celadon Fishbone Elegant CL Original Formal Dress

[Deposit] Xingweimian Lolita 2025 Spring/Summer Rain Falling on Celadon Fishbone Elegant CL Original Formal Dress

$1.00

Star Cat Creative Watercolor Fill-in Coloring Book for Kids - DIY Art and Craft Painting Set with Pigments

Star Cat Creative Watercolor Fill-in Coloring Book for Kids - DIY Art and Craft Painting Set with Pigments

$15.30

Donghai Crystal Live Stream Exclusive Listing for Natural Crystals - Perfectionists Please Purchase with Caution

Donghai Crystal Live Stream Exclusive Listing for Natural Crystals - Perfectionists Please Purchase with Caution

$1.00

[Buy 2 Get 10% Off] Lanzhai Purple Iris Painted Felt Mat – Thickened, Moisture-Resistant, Non-Pilling for Calligraphy & Painting

[Buy 2 Get 10% Off] Lanzhai Purple Iris Painted Felt Mat – Thickened, Moisture-Resistant, Non-Pilling for Calligraphy & Painting

$6.63

Natural Crystal Morganite Pink Loose Beads - Single Round Beads for DIY Jewelry Making and Craft Accessories

Natural Crystal Morganite Pink Loose Beads - Single Round Beads for DIY Jewelry Making and Craft Accessories

$0.89

Mini Pencil Sharpener for Elementary Students - Small Manual Crank Sharpener for Kids' Pencils

Mini Pencil Sharpener for Elementary Students - Small Manual Crank Sharpener for Kids' Pencils

$1.89

Bamboo Flute Bar Dynamic Sheet Music Book for Accompaniment, Sight-Reading, and Rhythm Practice

Bamboo Flute Bar Dynamic Sheet Music Book for Accompaniment, Sight-Reading, and Rhythm Practice

$221.00

Multi-Function Thickened Industrial Scouring Pad for Cleaning, Stainless Steel Brushing, Rust Removal, and Emery Cleaning

Multi-Function Thickened Industrial Scouring Pad for Cleaning, Stainless Steel Brushing, Rust Removal, and Emery Cleaning

$7.80

Natural Light Yellow Azeztulite Loose Beads for DIY Jewelry Making and Craft Supplies

Natural Light Yellow Azeztulite Loose Beads for DIY Jewelry Making and Craft Supplies

$2.00

Expanded Clay Pebbles for Gardening - Pot Bottom Layer, Surface Mulch, Soil-Free Hydroponics for Flowers, Succulents, Orchids - Breathable Planting Medium

Expanded Clay Pebbles for Gardening - Pot Bottom Layer, Surface Mulch, Soil-Free Hydroponics for Flowers, Succulents, Orchids - Breathable Planting Medium

$7.70

1/5 Pack Silicone Kitchen Utensils Set for Cooking Baking

1/5 Pack Silicone Kitchen Utensils Set for Cooking Baking

$43.12

Aizaofang 6-Cavity Triple Flower Silicone Mold - DIY Handmade Soap Home Decor - Food-Grade Heat-Resistant Material

Aizaofang 6-Cavity Triple Flower Silicone Mold - DIY Handmade Soap Home Decor - Food-Grade Heat-Resistant Material

$12.70

Single-Leg Manganese Steel Lifting Hook with Wide Opening for Hoists and Cranes

Single-Leg Manganese Steel Lifting Hook with Wide Opening for Hoists and Cranes

$92.00

Hesdick HZL-32 Portable Stone Removal Hook, Multi-Function Groove Tool for Car Tire Debris Cleaning

Hesdick HZL-32 Portable Stone Removal Hook, Multi-Function Groove Tool for Car Tire Debris Cleaning

$9.28

PC Bonding Sealing Waterproof UV1901 Guardrail Tube Adhesive Shadowless Glue UV Glue Electronic Glue

PC Bonding Sealing Waterproof UV1901 Guardrail Tube Adhesive Shadowless Glue UV Glue Electronic Glue

$859.00

Wan Dian Wu Xian Stackable Toy Accessories - Vol.3 Prosperous Era Series Blind Capsule Figures for Desktop Display

Wan Dian Wu Xian Stackable Toy Accessories - Vol.3 Prosperous Era Series Blind Capsule Figures for Desktop Display

$29.00

In Stock Commercial Vegetable Chopper and Meat Mincer - Grinding Machine for Baozi Fillings, Chili Dumplings, and Sausage WTP Meat Paste Processing

In Stock Commercial Vegetable Chopper and Meat Mincer - Grinding Machine for Baozi Fillings, Chili Dumplings, and Sausage WTP Meat Paste Processing

$5,805.00

Industrial Lint-Free Cloth for Cleaning Lenses, Optical Instruments, and Phone Screens; Microfiber Dusting Wipes

Industrial Lint-Free Cloth for Cleaning Lenses, Optical Instruments, and Phone Screens; Microfiber Dusting Wipes

$81.58

Electric Barrel Water Dispenser Pump Automatic Water Lifter for Mineral and Purified Water

Electric Barrel Water Dispenser Pump Automatic Water Lifter for Mineral and Purified Water

$74.00