We need to sense intensity of light in many of our IoT/home automation projects. Here I explain a simple implementation of ambient sensor.
Read up about this project on