> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/functional_module/sugar/sugar-carbon-dioxide-sensor-module.md).

# Sugar Carbon Dioxide Sensor Module

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2Fa5JHUBawrKGxdAv1EVEF%2Fco2_transparent.png?alt=media&#x26;token=52bf5bc1-741a-4bb9-b43d-e1df78b82eba" alt=""><figcaption></figcaption></figure>

This Carbon Dioxide Sensor can detect CO2 and TVOC in the air.

### Product Specifications

* Size: 24 x 24 x 23 mm

### Wiring

#### Robotbit Edu

Connect the Module to the I2C port of Robotbit EDU.

![](/files/6f69i6RnBTspUYSTJGfQ)

#### Robotbit 2.2

Connect the module to the I2C Port of the Robotbit.

<figure><img src="/files/D5zs9xbmuvwXgo2iJaEl" alt=""><figcaption></figcaption></figure>

### 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](/programming-platforms/makecode-tutorial/kittenbot-and-makecode.md)

#### Extension URL

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

### Sample Program

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

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