5.3 Light Sensor

Let’s look at how the light sensors measures the amount of light as an analog signal and how the computer can turn that into a number it understands.

Photo:

Wire Like This

A0 <–> LS

Code Screenshot

Snap code for listening to a light sensor and displaying its value on the screen 10 times / second.

Graphing: