There are inexpensive I2C modules (for arduino) you can use for this.

Look for "BH1750FVI Digital Light Intensity Sensor Module" etc.