Novice Decorates Christmas Parties With Micro: Bit

by ElecFreaks in Teachers > 1

232 Views, 1 Favorites, 0 Comments

Novice Decorates Christmas Parties With Micro: Bit

mc2021-1.jpg
mc2021-2.jpg

Story

This article is from a novice who used 2 micro:bit motherboards, 2 Nezha expansion boxes, and 4 rainbow lights from PlanetX sensor series to make eyes and hearts for cute Christmas characters. And she makes the beautiful but dull Christmas KET board dazzling.

What are Nezha Breakout board and PlanetX sensors?

Nezha breakout board is a versatile expansion board for micro:bit. It is loaded with 4 servo drives, 4 motor drives, 3 IIC ports, 4 digital and 2 analog connections. It has a good compatibility with Lego and fischertechnik products, the fool-proof and color-labeling connections make it easy to connect, the graphical programming has a rather low threshold for programming and there are over 40 kinds of PlanetX sensors available to work with it. Now let’s see how could we build a feeder project with them:

Supplies

2021-11-12-1.png
nezha-breakout-board.jpg
planetx-neopixel-8.jpg
800-1.jpg

Hardware Connections:

We make wiring according to the picture below. Rainbow LED ring connects J1 and J2. When connecting the rainbow LED ring, note that the color of the rainbow LED ring indication color should be consistent with the color indication of Nezha expansion box.

Cable Connection Diagram:

mc2021-3.jpg

Program

mc2021-4.jpg

Program:https://makecode.microbit.org/_ikEdjLHmw8h5

That's all. When activated, the Christmas character's eyes flash in colorful circles, and the Micro:bit alternates between hearts and musical symbol.

Merry Christmas!