Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Photocell Street Light Switches and Daylight Sensors

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
Short answerWhat the Photocell street light switches and daylight sensors (AS-10, AS06) isPhotocell street light switches and daylight sensors (AS-10, AS06) pinoutWiring the Photocell street light switches and daylight sensors (AS-10, AS06)Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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)
!Safety: Mains voltage can kill

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
01

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.

02

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.

PinFunction
Black or brownLive in (AC) or + in (DC)
RedSwitched output to the lamp
White or blueNeutral (AC) or - (DC)
WindowLight sensor, keep clean
GlandCable entry, face down
PinFunction
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
03

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) pinWireConnects toNote
BlackSupply live via MCBSwitch off at the MCB before wiring
RedLamp liveOr contactor coil for big loads
WhiteNeutralCommon 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
04

Example code

Wire colours vary between makers; follow the label on the unit.

Install and test an AS-10 photocell · text
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.
05

Setup and tuning

Wiring

mains versions connect live in, neutral and load out; installation must be done by a qualified electrician.

Rating

check the switch current or wattage rating for your lamp load, especially LED drivers with inrush current.

Mounting

point the sensor window north or away from the lamp so its own light does not switch it off.

Delay

most have a delay of a few seconds so car headlights do not trigger them.

Weather

use IP-rated versions outdoors.

06

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
07

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.
08

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.
09

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

  • AS-10 12V 10A Optical Sensor Switch
    ₹149View
  • AS-10 Automatic Light Sensor Controller – 24V, 10A Load, Weatherproof
    ₹101View
  • AS-10 Automatic Street Light Sensor Switch – 12V DC, 10A Load, Weatherproof
    ₹101View
  • AS-10 Optical Sensor Switch 24V 10A – Photoelectric Control Module
    ₹116View
  • AS-10 Rainproof Automatic Street Light Sensor Switch – 220V AC, 10A Load
    ₹101View
  • AS-10-220 Photocell Street Lamp Switch Sensor – AC 220V 10A
    ₹168View
  • AS06-2210E Photocell Street Lamp Switch Sensor – AC 220V, 10A Load
    ₹168View
  • Photocell Street Lamp Light Switch Controller AC 85-310V 10A – IP54 Weatherproof
    ₹339View
  • Moonlex DC Daylight Sensor (LDR) Module – IP44 Waterproof, 7-24V DC
    ₹157View
  • Senba D57 5mm LDR Light Sensor with Metal Casing
    ₹82View
  • Digital Multimeter
    ₹177View
Shop Photoelectric, Photodiode & Optocoupler Modules

Projects that use it

Put this into practice: 34 step-by-step builds in our project library use parts from this guide.

Beginner · 45 minutesAutomatic dusk-to-dawn lightView projectBeginner · 1–2 hoursWi-Fi dusk light with manual overrideView projectBeginner · 45 minutesPico fading night light (MicroPython)View project
Browse all 34 projects

Keep learning

Component guideBeginnerPIR Motion Sensor Light SwitchesPIR motion light switches turn a light on when a person moves nearby and off after a set delay.5 min read · SensorsComponent guideBeginnerDigital Programmable Timer Switch (CN101A, L701, TM619)A digital programmable timer switch turns a load on and off at set times each day or week, with no Wi-Fi or app.3 min read · IoT & WirelessComponent guideIntermediatePhotodiodes, Phototransistors and PhotointerruptersA photodiode turns light into a small current and is the fastest light sensor.3 min read · Sensors

Sources

  • AS-10 photocell switch data
  • Photocell controller manuals

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Photocell street light switches and daylight sensors (AS-10, AS06) isPhotocell street light switches and daylight sensors (AS-10, AS06) pinoutWiring the Photocell street light switches and daylight sensors (AS-10, AS06)Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide6 items · ₹1,071

AS-10 12V 10A Optical Sensor Switch · AS06-2210E Photocell Street Lamp Switch Sensor – AC 220V, 10A Load · Photocell Street Lamp Light Switch Controller AC 85-310V 10A – IP54 Weatherproof · Moonlex - DC Day Light Sensor (LDR) · Senba D57 5mm LDR Light Sensor with Metal Casing · Digital Multimeter

Ask the Community

Ask a question