Sugar Light Sensor Module

This is a light sensor module in the Sugar sensor series, the pin holes on the back allow compatibility with plastic building bricks.

Product Specifications

  • Dimensions: 24 x 24 x 23 mm

  • Weight: 6.7g

  • Type: Analog

Wiring

Use a 3Pin cable to connect

Programming Tutorial

MakeCode Programming Tutorial

Import Sugar Extension

Search for sugar in the search bar (Kittenbot products has been verified by Microsoft)

Extension URL

Sugar extension: https://github.com/KittenBot/pxt-sugar

Importing Extensions Tutorial

Sample Program

Kittenblock Programming Tutorial

MicroPython Programming

  • value(): Analog Value

Sample Program

Last updated