# Sugar UV Module

<figure><img src="https://686851495-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7Bv9xBdKh3R9w6Vp7asd%2Fuploads%2FQs0UZCHu1ynXHOWcYN8W%2Fuv1.webp?alt=media&#x26;token=9a5876e0-6d57-4e70-89c9-01187504a720" alt=""><figcaption></figcaption></figure>

The UV module can detect brightness in lux and UV level.

## Product Specifications

* Voltage: 3.3\~5V
* Weight: 5.2g
* Dimensions: 24 x 24 x 16 mm

## Product Wiring

### Programming Tutorial

#### MakeCode Programming Tutorial

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/mcbanner.png)

#### Import Sugar Extension

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

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/sugar_search.png)

[Importing Extensions Tutorial](https://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/kittenbot-and-makecode)

#### Extension URL

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

### Sample Program

{% embed url="<https://makecode.microbit.org/_3WW1eJTVWcCY>" %}

[Sample Program](https://makecode.microbit.org/_3WW1eJTVWcCY)
