The light sensor can detect the intensity of the ambient light.

Light Sensor - 图1

Working principle

The mBuild light sensor uses a photoresistor as the core component that can change the resistance according to the light intensity. The change of the resistance can be detected by the MCU, and therefore the MCU can determine the light intensity in the environment.

Real-life examples

  • A light sensor can be used to facilitate the brightness adjustment of a cell phone screen.

Light Sensor - 图2

  • Light sensors are used in some smart lamps to facilitate brightness adjustment based on the ambient light intensity detected.

Light Sensor - 图3

Specifications

  • Dimensions: 24 × 20 (mm)
  • Value range: 0–100%
  • Operating current: 15 mA