Ambient Light Sensor

../../_images/light2.png

This is an ambient light sensor, it returns an analog value.

The range of return value is 0-1023, a higher value means a higher brightness reading.

Specificationarrow-up-right

  • Voltage: 3.3V~5V

  • Type: Analog Sensor

  • Interface: 3Pin PH2.0

Wiring Diagramarrow-up-right

Robotbit Shieldarrow-up-right

Connect the sensor to Robotbit Shield’s 3Pin port.

../../_images/light_wire2.png

Connect the sensor to Robotbit’s pin and 3V pin.

../../_images/light_wire1.png

MakeCode Coding Tutorialarrow-up-right

../../_images/mcbanner.png
../../_images/acbanner.png

This module can be used with Microbit and Meowbit.arrow-up-right

Reading the ambient light levelarrow-up-right

../../_images/poten_code.png

../../_images/poten_codeMeow.png

KittenBlock Coding Tutorialarrow-up-right

../../_images/kbbanner.png

Load Robotbit Extensionarrow-up-right

../../_images/addRB.png

Reading the ambient light levelarrow-up-right

../../_images/poten_codekb.png

Mu Editor Coding Tutorialarrow-up-right

Reading the ambient light levelarrow-up-right

../../_images/poten_codemu.png

Last updated