Picture of Wiring a Dusk to Dawn Photocell Sensor
Photocell Sensor Back.jpg
Photocell sensor wiring.png
I bought a photocell sensor on eBay after learning Lowes, Home Depot, and Walmart were either out of stock on them or did not carry them.  No problem, I thought, 3 wires and it should come with instructions.  It arrived, but with no instructions except on the little plastic part (see second photo).  I am NOT an electrician, but usually can handle easy projects.  If it had 2 wires, it should be easy, but with 3......that's a problem.  I went online to instructables, Youtube, and a few other sites.  Although I could not find anything showing what I needed, I did gather enough to attempt it.  Here is my wiring diagram ( third photo) and instructions:


Connect sensor's black wire to black wire coming from house.
Connect red sensor wire to light's black wire .
Connect all 3 white wires (from house, from sensor and from light) together.

Now wasn't that easy. :-)

In my country we don't use white, what comes out of the house is either black or blue for neutral, and red or brown for live. Recently when i bought a photocell sensor i used your 3rd diagram but i had to connect the red wire from the house to black wire on the sensor and white from the sensor to black from the house. The red wire from the sensor was connected to the load and the system worked perfectly. I found your diagram very useful, thanx.

graydog111 (author)  jackson.ruhanga5 months ago
Glad it helped, Jackson. Thanks for the reply.
Arizno made it!11 months ago

These are very reliable photo sensors or photoelectric switch as it says on the back. I used these on my instructable. As a matter of fact I found your instructable useful in helping me make mine, Thanks. I selected "I made it" not because I made it but because I used you as a refrence.

Chanio1 year ago
Very useful reference!
graydog111 (author)  Chanio1 year ago

You are welcome, Chanio. This is really a good sensor. I have bought two more since then and it only took minutes to install them.

graydog111 (author)  Magicninjalord1 year ago
Thanks Magicninjalord & Chanio. The photocell worked flawlessly last night and turned light off this morning. :-)