> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Monk Makes Sensor Board for micro:bit

**Type:** Product page · **SKU:** CE05444 · **Brand:** [Monk Makes](https://core-electronics.com.au/brands/monk-makes-australia)
**Page:** https://core-electronics.com.au/monkmakes-sensor-board-for-micro-bit.html ([markdown](https://core-electronics.com.au/monkmakes-sensor-board-for-micro-bit.html.md))

The Monk Makes Sensor Board for micro:bit allows you to sense sound level, temperature and light level.

## Pricing

- **Price:** $15.70 (inc GST) — $14.27 AUD, exc GST
- **Quantity discounts:** 10+ $13.70 (exc GST) · 25+ $13.27 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 21 and Aug 28.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=CE05444:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/CE05444:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

The Monk Makes Sensor Board for micro:bit allows you to sense sound level, temperature and light level.

### Features

- 3V and GND connections can be made from either side and allow you to power a second board such as the [Monk Makes Relay Board](https://core-electronics.com.au/monkmakes-relay-for-micro-bit.html) or [Monk Makes Speaker](https://core-electronics.com.au/monkmakes-powered-speakerboard-for-micro-bit.html).
- LED ‘power on’ indicator
- Reverse polarity protection
- All three sensors are analog and can be connected to pins P0, P1 and P2 using alligator clips.
- Works with both the [micro:bit V1](https://core-electronics.com.au/micro-bit-by-bbc.html) and [micro:bit V2](https://core-electronics.com.au/micro-bit-v2-australia.html)
 
### Getting Started

Connecting to your micro:bit

You only have to wire up the sensors that you are actually using, but you could wire all the sensors up as shown below. The code examples below assume that pin 0 is used for sound, pin 1 for temperature and pin 2 for light. You can use any pin for any of the sensors, but remember to modify the code to match the pin you are using.

![](https://core-electronics.com.au/attachments/localcontent/sound_sensing-591x1024_large_103183537c6.png)

## Sound

The Sensor for micro:bit uses a MEMs (microphone on a chip) and a pre-amplifier. The output of the sound sensor is connected to an analog input where it can be sampled. The sound signal varies about the 1.5V level. So, silence will produce an analog output of around 1.5V. When there is sound the analog readings will oscillate above and below the 1.5V level like this:

![](https://core-electronics.com.au/attachments/localcontent/scope_speach-annotated-1024x355_large_43729465170.png)

This is why 511 is subtracted from the readings in the code examples below.

### JavaScript Blocks Editor

Here is an example of using the Sensor Board to display a bargraph to indicate the sound level. Click on the image below to try it out. Making a noise into the microphone will make the LEDs dance.

[![](https://core-electronics.com.au/attachments/localcontent/sound_block-1024x184_large_2245985bd99.png)](https://makecode.microbit.org/_KurHzxeKERrm)

### MicroPython

`from microbit import *<br></br><br></br>def bargraph(a):<br></br>display.clear()<br></br>for y in range(0, 5):<br></br>if a > y:<br></br>for x in range(0, 5):<br></br>display.set_pixel(x, 4-y, 9)<br></br><br></br>while True:<br></br>sound_level = (pin0.read_analog() - 511) / 100<br></br>bargraph(sound_level)`

## Temperature

The Sensor for micro:bit uses a thermistor to measure temperature. The temperature output from the board is a voltage that indicates the temperature. This is then measured using an analog input on the micro:bit.

The calculations for converting this voltage reading to an actual temperature are quite complicated and so the code examples here will only give a rough idea of temperature.

If you want your temperatures in Fahrenheit, then multiply the temperature in degrees C by 9, divide the result by 5 and then add 32.

### Java Script Blocks Editor

This is an example of using the Sensor Board to display the temperature, try putting your finger on the temperature sensor to warm it up. You can run the example below by clicking on it.

 [![](https://core-electronics.com.au/attachments/localcontent/thermometer_blocks-1024x310_large_33972a48d73.png)](https://makecode.microbit.org/_iKEWeJVvePTx)

MicroPython

`from microbit import *<br></br><br></br>while True:<br></br>reading = pin1.read_analog()<br></br>temp_c = int(reading / 13.33 - 14)<br></br>display.scroll(str(temp_c))<br></br>sleep(500)`

## Light

The light sensor uses a phototransistor to measure the light level and produces an output voltage that increases as the light level increases. Here is a guide to the kind of light level you might get from the sensor under different conditions (0 to 1023).

- Dark 0 to 3
- Dimly lit room 6 to 10
- Indoors directly under a light 10 to 50
- Outdoors (dull day) 100 to 200
- Outdoors (sunny day) 800 to 900
 
Even though the maximum analog read value is 1023, the maximum reading from this sensor is around 900.

### Java Script Blocks Editor

Here is an example of using the Sensor Board to display a bargraph to indicate the light level. Click on the image below to try it out. Put your finger over the light sensor to make it dark or shine a flash-light onto it to make more LEDs light up.

![](https://core-electronics.com.au/attachments/localcontent/microbit-screenshot-sensor-1024x212_large_24294afe04a.png)

### MicroPython

`from microbit import *<br></br><br></br>def bargraph(a):<br></br>display.clear()<br></br>for y in range(0, 5):<br></br>if a > y:<br></br>for x in range(0, 5):<br></br>display.set_pixel(x, 4-y, 9)<br></br><br></br>while True:<br></br>light_level = pin2.read_analog() / 10<br></br>bargraph(light_level)`

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/m/o/monk-makes-sensor-1_1.jpg)
