Monk Makes Relay for micro:bit

Rating:
100% of 100
SKU: CE05445 Brand: Monk Makes
The Monk Makes Relay for micro:bit is a solid-state (no moving parts) relay that allows an output of a micro:bit to turn things on and off.
$13.45 AUD, inc GST
$12.23 AUD, exc GST

In stock, ships same business day if ordered before 2PM
Delivered by Tue, 24th of Dec

Quantity Discounts:

  • 10-25 $11.86 (exc GST)
  • 25+ $11.62 (exc GST)
- +

28 from local stock, 1 supplier stock; your order will dispatch between Dec 1 to Dec 10. And yes, stock levels and lead times are accurate!

Favourite product

Shipping:

  • $7+ Standard (5+ days*, tracked)
  • $11+ Express (2+ days*, tracked)
  • FREE Pickup (Newcastle only - must order online*)

Shipping costs may increase for heavy products or large orders.

Exact shipping can be calculated on the view cart page.

*Conditions apply, see shipping tab below.

The Monk Makes Relay for micro:bit is a solid-state (no moving parts) relay that allows an output of a micro:bit to turn things on and off.

A micro:bit can turn an LED on and off directly, but anything more powerful requires something like a relay or a transistor. Using a transistor to switch something on and off requires a shared ground connection with the micro:bit and a knowledge electronics that you or your students may not be ready for. The Monk Makes Relay for micro:bit is much easier to use, acting like a simple micro:bit controlled switch.

This relay can be used to switch low voltage devices such as light bulbs, a motor, a small heating element or even a string of 12V LED lighting. The voltage needs to be kept under 16V, but the relay will automatically protect itself against too much current.

Features

  • Works with both the micro:bit V1 and micro:bit V2
  • Solid-sate relay (up to 2 Amps)
  • Active LED indicator
  • Resettable ‘polyfuse’ to protect against over-current
  • Compact size of 52mm x 39mm

Getting Started

Connecting your micro:bit

The Relay requires just two connections to the micro:bit. One to GND (ground) and one to whatever pin is to be used to control the relay’s switching action.

When attaching the alligator clips to the micro:bit, make sure that the clips are perpendicular to the board so that they are not touching any of the neighbouring connectors on the micro:Bit edge connector.

Here’s an example of how you could wire up a Monk Makes Relay for micro:bit to turn an old fashioned light bulb on and off.

HEX File

The quickest way to try out your relay is to DOWNLOAD THIS HEX FILE >and then copy it onto your micro:bit. The program will turn the relay on and off once a second.

JavaScript Blocks Editor

Set the controlling pin to 1 and the relay contacts will close, set it to 0 and the contacts will open again. Its as simple as that. So, to make your relay turn on and off once a second, open the Blocks Editor, add a forever block and then the digital write blocks from the pins category and the pauses from the basic category.

You can also click on the image of the blocks below to open up the Blocks Editor on this project.

MicroPython

Paste the following code into the Python window and then Download the file and copy it onto your your micro:bit.

from microbit import *

while True:
    pin0.write_digital(True)
    sleep(500)
    pin0.write_digital(False)
    sleep(500)

Analog Outputs

The latest Monk Makes Relay for micro:bit can do more than just switch things on and off. It can also be used with micro:bit analog outputs. Look closely at your Relay for micro:bit and is it has the version number v1ev (under the word ‘Board’) then it can be used with the ‘analog write’ block in the blocks editor or the ‘write_analog’ function in MicroPython. If your board has the version number v1e then it is not suitable for use with analog outputs – sorry you were unlucky to get one of the small batch of first boards to be sold.

The output of the Relay for micro:bit is not linear at low PWM and high PWM values as the following chart illustrates.

The y-axis shows the current in mA for a test load resistor supplied from a constant voltage source. The x-axis is the analog write value (0 to 1023). As you can see, there is a dead zone up to a analog output value of about 100, followed by a relatively good linear region right up to about 1000, after which the output effectively becomes ‘on’.

The tests were carried out at the default PWM frequency of 50Hz for the micro:bit. Lower frequency PWM is expected to produce more linear results.

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $7+ for Standard Post (typically 6+ business days, tracked)
  • $11+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $12+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Videos

View All

Guides

MOVE Mini Assembly Guide

The :MOVE MINI allows you to turn your micro:bit into a simple robot! In this guide, we will give yo...
The :MOVE MINI allows you to turn your micro:bit into a simple robot! In this guide, we will give yo...

Data Logging with the Micro:bit and OpenLog

The Micro:bit by BBC is a great data collection tool, it just needs a little help remembering what i...
The Micro:bit by BBC is a great data collection tool, it just needs a little help remembering what i...

The Maker Revolution

The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

micro:bit in the classroom

Check out our Getting started with micro:bit video if you'd like to see a quick tutorial on w...
Check out our Getting started with micro:bit video if you'd like to see a quick tutorial on w...

Projects

Micro:bit based GlowBit Car

I made this car because at school there was a Lego We-Do tug-of-war competition but the cars only d...
I made this car because at school there was a Lego We-Do tug-of-war competition but the cars only d...

Pico Baro V2

Introduction: The inspiration for this project stems back to my childhood when I was curious to f...
Introduction: The inspiration for this project stems back to my childhood when I was curious to f...

Micro:bit Random Selector

This project has been created to be used as an exemplar for Year 7 Technology students to demonstrat...
This project has been created to be used as an exemplar for Year 7 Technology students to demonstrat...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.