Back to Parent

Outcome


I built a circuit that senses the intensity of the light around it. The idea behind this is to be able to check how intense or dim the surrounding light is. This could be a good building step to build an IoT device that can sense the light and do a useful action afterwards.

Show Advanced Options

The code above is what programs the sensor to check the light intensity, while showing the reading in the cloud console.

To test it out, I set up the sensor with regular light. When I looked for the light intensity in the cloud console, I would get readings in the 1700-1800 range (this scale is specified in the code). See Video 1 in the video demonstration link below.


For the second test, I turned off some lights off so that the room would be dimmer. I checked the cloud console to see what the light intensity was and as expected, the readings decreased to the 1000-1100s range. This showcases that the sensors work and the code is doing what I wanted it to do. See Video 2 in the video demonstration link below.




Show Advanced Options
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.