Close

Day/Night Detection

A project log for Ghosty, the Thinking Nightlight

When you go to the bathroom this light (very subtle) comes on--10 seconds after you leave, it turns off. Sleep well, move around safely.

mike-rigsbyMike Rigsby 09/29/2016 at 13:530 Comments

I need to use a photocell for day/night detection. Ghosty does not need to activate if I am standing in front of him brushing my teeth. My 3d printed structure is porous, but how much light gets through? Do I need a hole through the surface for a photocell? I ran a test and my photocell (inside the structure) measures about 14K with daylight in the room.

In the dark (if it gets too dark, I can't read the meter), the resistance goes to over 100K (flash from the camera starts bringing the number down in the photo below).

This is good news, meaning that the photocell can be hidden inside the structure.

Discussions