04 - Neopixel
Last updated
Was this helpful?
Last updated
Was this helpful?
This tool is all about lights, LED lights that we can control using the micro:bit. The LED lights we are using are called NeoPixels.
Neopixels are smart individual colour-changing LEDs and are usually chained together in different shapes and lengths, such as rings, strips, and matrixes. Each light is controlled by an integrated circuit that sets the colour and passes the rest of the instructions to the next light.
These are the different parts of the neopixel in the diagram above:
VDD. This is where the cable with electricity connects to the neopixel.
VSS. This connects the neopixel to the ground line.
DIN. The information travelLing from the micro:bit enters the neopixel via this connector.
DOUT. Once the neopixel has interpreted the signal and given the corresponding instructions to the red, green and blue LEDs, the remaining set of instructions goes out to the next neopixel via this connector.
🔴. Red LED.
🟢. Green LED.
🔵. Blue LED.
Integrated Circuit. This is represented by the gray rectangle in the image above. The integrated circuit is the brain of the neopixel and it is in charge of:
Receiving information from the micro:bit or the previous neopixel.
Telling each LED how bright it should be.
Passing the remaining commands to the next neopixel.
It is time to code some neopixel! see you on Coding your first neopixel on MakeCode.
Video -
Video -
micro:bit guide -