software resources for science and technology education
Mr Bit Downloads for Kitronik ZIP LEDs Experiments
The Kitronik ZIP LEDs are addressable RGB LEDs which can be programmed to create
any colour in the visible spectrum. The add-
1 -
Buttons A and B are used here to switch an LED on and off. The ZIP stick has five RGB LEDs and the Mr Bit program specifies which ones get switched on.
Each button gives a different colour pattern. The Mr Bit program specifies the colours and the pattern.
The colours move as you hold down a button. You can check out the Mr Bit program to see how the colours and movement are specified.
Each time you press button A, the colour pattern changes. Button B shows a spectrum of colours. A right click in the program text panel shows all the Mr Bit instructions.
At the press of a button, an LED pattern shows for a set time of 2 seconds. A right click in the program text panel shows all the Mr Bit instructions.
The BBC micro:bit has several sensors on board: the LED matrix can detect light level and an accelerometer can detect the angle of tilt of the micro:bit. The readings from these sensors are used to light up the LEDs on the ZIP sticks; the bigger the reading, the more LEDs light up.
Each button gives the effect of an LED moving around the ZIP Ring. The Mr Bit programs
use the rotation options for moving the LEDs, clockwise and anti-
The buttons each control a rotating pattern, but the brightness depends upon the angle at which the micro:bit is being held. In Run mode, a click on the tilt box alters the tilt (roll) angle.
1 -
Define all five colours in a ZIP stick and make the patterns change every time a button is pressed.
2 -
Create several patterns of five colours and make them rotate in different directions round a ZIP stick.
3 -
4 -
5 -
6 -
Create a sequence of colours alternating between two ZIP sticks as a button is pressed.
7 -
Control the brightness of the LEDs in two ZIP sticks so that the colours fade in and fade out.
8 -
Make two sets of colours chase each other round the ring as the micro:bit buttons are pressed.
9 -
Make the 12 LEDs perform a sequence of a variety of flashing and movement operations using all the colours of the rainbow.
EXPERIMENT BOX
Have fun connecting sensors and LEDs to your micro:bit.
© 2024 Insight Resources