# Meowbit’s Temperature Sensor

Meowbit has a built-in Temperature Sensor that allows it to detect the ambient temperature.

### MakeCode Arcade Coding Tutorial

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

#### Load Controller Extension

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

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

![../\_images/light1\_1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/light1_1.png)

#### Blocks for Controller Extension[](https://kittenbothk-eng.readthedocs.io/en/latest/meowbit/meowbit_temp.html#blocks-for-controller-extension)

![../\_images/light2\_1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/light2_1.png)

#### Detecting the temperature[](https://kittenbothk-eng.readthedocs.io/en/latest/meowbit/meowbit_temp.html#detecting-the-temperature)

![../\_images/temp1\_1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/temp1_1.png)

[Sample Code Link](https://makecode.com/_0RVU8sirC9hM)

### Kittenblock Coding Tutorial[](https://kittenbothk-eng.readthedocs.io/en/latest/meowbit/meowbit_temp.html#kittenblock-coding-tutorial)

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

#### Blocks for onboard sensors[](https://kittenbothk-eng.readthedocs.io/en/latest/meowbit/meowbit_temp.html#blocks-for-onboard-sensors)

![../\_images/kb10\_1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kb10_1.png)

#### Detecting the temperature[](https://kittenbothk-eng.readthedocs.io/en/latest/meowbit/meowbit_temp.html#id1)

![../\_images/temp2\_1.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/temp2_1.png)
