Component guide · Beginner · 4 min read
Photocell Street Light Switches and Daylight Sensors

AS-10 12V, 24V and 220V, AS06-2210E, 85-310V Photocell Controller, Moonlex DC Daylight Sensor and Senba D57 LDR
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A photocell switch turns a light on at dusk and off at dawn by itself. The AS-10 comes in 12V DC, 24V DC and 220V AC versions, each switching up to 10 A. Wire it between the supply and the lamp, mount it facing north or away from the lamp, and use a contactor for large loads such as LED floodlight banks or motors.
Key specs at a glance
- Supply
- 12V DC, 24V DC or 220V AC; 85-310V on wide-range types
- Load
- Up to 10 A resistive
- Switching level
- On at about 10 lux, off at about 30-50 lux (typical)
- Delay
- A few seconds to avoid flicker from car lights
- Housing
- Weatherproof, IP44 to IP54
- Wires
- Live in, live out to load, neutral (AC) or +/- (DC)
This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1AS-10 12V 10A Optical Sensor Switch₹149
Option 2AS-10 Automatic Light Sensor Controller – 24V, 10A Load, Weatherproof₹101
Option 3AS-10 Automatic Street Light Sensor Switch – 12V DC, 10A Load, Weatherproof₹101
Option 4AS-10 Optical Sensor Switch 24V 10A – Photoelectric Control Module₹116
Option 5AS-10 Rainproof Automatic Street Light Sensor Switch – 220V AC, 10A Load₹101
Option 6AS-10-220 Photocell Street Lamp Switch Sensor – AC 220V 10A₹168
What the Photocell street light switches and daylight sensors (AS-10, AS06) is
Photocell street light switches turn lamps on at dusk and off at dawn using a light sensor, for street lights, gate lights and signboards on mains or 12/24 V supplies.
Use the AC version for mains street, gate and garden lights, and the 12V or 24V version for solar lights, signboards and battery systems. For LED drivers or many lamps, let the photocell switch a contactor coil instead of the load, because inrush current is far higher than the running current.
Mount the sensor where the lamp cannot shine on it, or it will switch on and off all night. The Moonlex daylight module and the Senba D57 LDR are sensor parts for building your own controller.
Photocell street light switches and daylight sensors (AS-10, AS06) pinout
The pins on the Photocell street light switches and daylight sensors (AS-10, AS06) and what each one does.
| Pin | Function |
|---|---|
| Black or brown | Live in (AC) or + in (DC) |
| Red | Switched output to the lamp |
| White or blue | Neutral (AC) or - (DC) |
| Window | Light sensor, keep clean |
| Gland | Cable entry, face down |
- Black or brown
- Live in (AC) or + in (DC)
- Red
- Switched output to the lamp
- White or blue
- Neutral (AC) or - (DC)
- Window
- Light sensor, keep clean
- Gland
- Cable entry, face down
Wiring the Photocell street light switches and daylight sensors (AS-10, AS06)
Mains wiring must be done by a qualified electrician with the circuit switched off at the breaker.
| Photocell street light switches and daylight sensors (AS-10, AS06) pin | Wire | Connects to | Note |
|---|---|---|---|
| Black | Supply live via MCB | Switch off at the MCB before wiring | |
| Red | Lamp live | Or contactor coil for big loads | |
| White | Neutral | Common with the lamp |
- Black
- Wire:
- Supply live via MCB
- Connects to:
- Switch off at the MCB before wiring
- Red
- Wire:
- Lamp live
- Connects to:
- Or contactor coil for big loads
- White
- Wire:
- Neutral
- Connects to:
- Common with the lamp
Example code
Wire colours vary between makers; follow the label on the unit.
1. Switch off the supply at the MCB.
2. Connect live to the black wire, lamp to the red wire, neutral to white.
3. Mount the sensor with the window facing away from the lamp, cable gland down.
4. Switch the supply on in daylight: the lamp should stay off.
5. Cover the window with black tape: after a few seconds the lamp turns on.
6. Remove the tape and check it turns off again.Setup and tuning
mains versions connect live in, neutral and load out; installation must be done by a qualified electrician.
check the switch current or wattage rating for your lamp load, especially LED drivers with inrush current.
point the sensor window north or away from the lamp so its own light does not switch it off.
most have a delay of a few seconds so car headlights do not trigger them.
use IP-rated versions outdoors.
What you need
Shop this list11 of 11 found in our store · ₹1,658
AS-10 12V 10A Optical Sensor Switch: the part this guide coversAS-10 12V 10A Optical Sensor Switch₹149
AS-10 Automatic Light Sensor Controller – 24V, 10A Load, Weatherproof: another version this guide coversAS-10 Automatic Light Sensor Controller – 24V, 10A Load, Weatherproof₹101
AS-10 Automatic Street Light Sensor Switch – 12V DC, 10A Load, Weatherproof: another version this guide coversAS-10 Automatic Street Light Sensor Switch – 12V DC, 10A Load, Weatherproof₹101
Generic AS-10 Optical Sensor Switch 24V 10A – Photoelectric Control Module: another version this guide coversAS-10 Optical Sensor Switch 24V 10A – Photoelectric Control Module₹116
AS-10 Rainproof Automatic Street Light Sensor Switch – 220V AC, 10A Load: another version this guide coversAS-10 Rainproof Automatic Street Light Sensor Switch – 220V AC, 10A Load₹101
Generic AS-10-220 Photocell Street Lamp Switch Sensor – AC 220V 10A: another version this guide coversAS-10-220 Photocell Street Lamp Switch Sensor – AC 220V 10A₹168
Generic AS06-2210E Photocell Street Lamp Switch Sensor – AC 220V, 10A Load: another version this guide coversAS06-2210E Photocell Street Lamp Switch Sensor – AC 220V, 10A Load₹168
Generic Photocell Street Lamp Light Switch Controller AC 85-310V 10A – IP54 Weatherproof: another version this guide coversPhotocell Street Lamp Light Switch Controller AC 85-310V 10A – IP54 Weatherproof₹339
Moonlex DC Daylight Sensor (LDR) Module – IP44 Waterproof, 7-24V DC: another version this guide coversMoonlex - DC Day Light Sensor (LDR)₹156
Senba D57 5mm LDR Light Sensor with Metal Casing: another version this guide coversSenba D57 5mm LDR Light Sensor with Metal Casing₹82
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- PIR motion light switches: switch on movement.
- Digital timer switch: switch by time.
- Photodiodes and phototransistors: build your own light sensor.
Common mistakes to avoid
- Letting the lamp shine on the sensor.
- Exceeding the switch rating with many LED drivers.
- Using an indoor model outdoors.
- DIY mains wiring without training.
Frequently asked questions
Why does my street light flicker on and off at night?
The photocell sees light from its own lamp; turn it away from the lamp.
Can a photocell switch LED lights?
Yes, within its rating; LED drivers have inrush current, so allow margin.
Why does the light turn on during cloudy days?
Heavy clouds lower light below the threshold; some models have a sensitivity setting.
Can I install a mains photocell myself?
Mains wiring should be done by a qualified electrician.
Is there a 12 V version for solar lights?
Yes, low-voltage photocell switches suit 12 and 24 V systems.
Parts for this guide
Projects that use it
Put this into practice: 34 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

