Detection of the light using photo resistor with Arduino

Pop Up Procedure

Simulation

LINK