Thanks for supporting local! Our online shop is open & shipping orders. 

Search

Cables & Connectors

Electronics Components

Motors & Controllers

On Sale items!

Get Professional Support

BBC Micro:bit

Robotics

On sale items!

Announcement


Check out our latest news to find out more about events, opportunities and partnerships.

Esmes' Electronics


Esmes' Electronics is a simple introduction to using the micro:bit written by a year 5 student.

Troys' tutorials


Learn with Troy by asking for support and, he will post a tutorial here to benefit all of our visitors. Free advice!

Feature teacher


Be inspired by some of our favorite teachers using our products.

Get professional support


Contact us now to request your own tutorial or learning resource.

This section doesn’t currently include any content. Add content to this section using the sidebar.

Image caption appears here

Add your deal, information or promotional text

MM-0064

RGB LED

10 items left

The 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.

Features

  • Easy to connect
  • Powered directly from micro:bit pins
  • Useful for teaching colour 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.

JavaScript Blocks Editor

Traffic Signal Example

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

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)

How We Give Back

We believe in giving back; We are proud to give 1% of all orders directly to environmental not for profit groups whose focus is the protection, preservation and restoration of our planet. This means every time you purchase from us, 1% goes directly to an environmental cause.

Search