How to order Contact us Distributors Reviews
Register / Login

Select currency

If you'd like to view estimated pricing in other currencies then please select a currency below below.

GBP USD EUR JPY AUD NOK CHF NZD CAD

Please note:

  • Currency conversions are estimates and for information only
  • Your order will be billed in GBP
  • All prices exclude VAT / other local sales taxes
  • Shipping calculated during checkout


RGB LED for micro:bit

by Monk Makes
An image of RGB LED for micro:bit

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

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 colors 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 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)

Reviews

User photos

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.

MNK00064

You must register for an account and be logged in to view pricing or place an order on the Pimoroni Wholesale store.

If you represent a school or university, a business, or reseller of Maker products then you can sign up for a wholesale account.

If you already have an account you can login to your account here.

Alternatively the easiest way to get your hands on the products we offer is to order them directly from our customer facing online store.

SKU
MNK00064
EAN
0682698570012
Brand
Monk Makes
Stock available
0 units
Backorder not allowed on this product
Weight
15g

Video introduction

Guides & tutorials

Search

 

Region

Your search returned no results.

Subscribe

We'll keep you up to date with new product launches!

The good ship

We've been sailing the Maker seas offering our wares since 2012.

  • read about our history
  • what our customers say
  • find a local distributor
  • contact our business team

We manufacture all of our products locally at our workshop in Sheffield, UK

Under one roof

Pimoroni are your one-stop shop for bulk and education purchasing of Raspberry Pi, Pimoroni, micro:bit, Adafruit, Sparkfun, and many other brands.

If you have any questions about what we offer then drop us a line.

Pimoroni Ltd

Unit 1, Parkway Business Park,
Parkway Drive,
Sheffield,
S9 4WN,
United Kingdom

Registered in England and Wales:
Company №: 07510759
VAT Reg №: GB 140 8707 21