empowering creative people

micro:bit > Accessories

Monk Makes RGB LED for micro:bit

SKU: CE05791

$4.95 AUD, inc GST
$4.50 AUD, exc GST

More Views

Monk Makes RGB LED for micro:bit
4.95 AUD

SKU: CE05791

$4.95 AUD, inc GST
$4.50 AUD, exc GST

Shipping:

  • $6.95 Standard (2-4 days, tracked)
  • $9.95 Express (Overnight*, tracked)
  • $3 Economy Post* (3-7 days, no tracking)
  • FREE Pickup (Newcastle only)

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.

he MonkMakes RGB LED for micro:bit provides a colourful add-on to your micro:bit. Connect it up with alligator clips and then use the three outputs of your micro:bit to control the red, green and blue channels to mix up any colour of light you want.

Monk Makes RGB LED in use

Features

  • Easy to connect
  • Powered directly from micro:bit pins
  • Useful for teaching color mixing.

Getting Started

Connecting to your micro:bit

Connect the RGB LED to the micro:bit as shown below. 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.

Monk Makes RGB LED wiring

JavaScript Blocks Editor

Traffic Signal Example

Click here for the example below to open the code in the JavaScript Blocks Editor. Once its running on your micro:bit it will cycle through the colors of a traffic signal.

Traffic Code for Monk Makes RGB LED

MicroPython

Traffic Signal Example

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

from microbit import *

def set_rgb(red, green, blue):
pin0.write_analog(red)
pin1.write_analog(green)
pin2.write_analog(blue)

while True:
set_rgb(255, 0, 0)
sleep(4000)
set_rgb(800, 100, 0)
sleep(1000)
set_rgb(0, 1023, 0)
sleep(5000)
set_rgb(800, 100, 0)
sleep(1000)

This product is listed in:

Documentation and Resources:
  • 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 it has measured! This tutorial is made for those Micro:bit projects where transmitting your sensor data over radio or Bluetooth to a computer just won&...
  • The Maker Revolution
  • The Maker Revolution celebrates the creation of new devices and the modification of existing ones - the transition from a consumer buying goods to eventually having a major part in their creation. The Maker Revolution places strong emphasis on free (...
  • micro:bit in the classroom
  • Check out our Getting started with micro:bit video if you'd like to see a quick tutorial on writing a program, start-to-finish, with a micro:bit. In a Nutshell The micro:bit is a versatile and classroom-friendly, programmable electronics b...
  • Getting Started with micro:bit
  • Check out our micro:bit in the classroom video if you'd like to see how micro:bit integrates into classrooms, years 7-12. After a quick review of the hardware, we'll fire up a micro:bit and write our first program. All you'll need for this tu...

Product Comments

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

We deliver Australia-wide with these options:

  • $3 for Small Items (3-7 days, not tracked, only available on selected small items)
  • $6.95 for Standard Post (2-4 days, tracked)
  • $9.95 for Express Post (Overnight for most of Australia, 2+ days for rural, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (only after we email you to notify your order is ready)

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

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

If you order lots of gear, the postage amount might increment 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!