ELECFREAKS micro:bit Christmas Tree Rainbow LED

The Christmas tree rainbow LED, with 6 coding LEDs, can help you to decorate a beautiful Christmas night.

In stock
SKU
EF03420
$3.90

DESCRIPTION

The Christmas tree rainbow LED, with 6 coding LEDs, can help you to decorate a beautiful Christmas night.


This picture is just for a design sketch, the product includes only a Christmas tree. The snowflake buzzer, the micro:bit, and Alligator cables (Black and Red, Yellow) will need to be purchased separately. Please visit the link for purchasing:
Snowflake Buzzer
Alligator cables (Black, Red, Yellow)
micro:bit
Christmas Tree Rainbow LED

 

FEATURES

In Christmas tree shape, adapt to the Christmas scene
With coding rainbow LED for any color you like.
With crocodile clip lines, no need for an expansion board

 

PACKING LIST

Items Quantity
Christmas Tree Rainbow LED 1
crocodile clip lines(Please prepare by yourself) 3
micro:bit(Please prepare by yourself) 1

 

HARDWARE CONNECT

Connect the black crocodile clip line to the GND port of the micro:bit, and the other side of the black crocodile clip line to the G port of the Christmas tree rainbow LED.

Connect the red crocodile clip line to the 3V port of the micro:bit, and the other side of the red crocodile clip line to the V port of the Christmas tree rainbow LED.

Connect the yellow crocodile clip line to the 0 port of the micro:bit, and the other side of the yellow crocodile clip line to the S port of the Christmas tree rainbow LED.

SOFTWARE

Step 1
Click makecode https://makecode.microbit.org/#
Click on "New Project" and set a new Project.

Click on "Advanced" for more code blocks and click the Extensions at the bottom of the column.

Serch "neopixel" and add neopixel as a codebase.

Step 2
Snap "set strip to Rainbow LED at the pin with LEDs as" from neopixel into the on start. Set pin to P1 with 6 LEDs in RGB pattern.

Step 3
Snap the strip rotate block from the Rainbow LED under the forever. Set the rotate pixels to 1 and set the LEDs to change their color one by one.
Then, snap a strip show block for colorful light.

 

PROGRAMMING

Program link
You also could directly download the program by visiting the website as below:

 

RESULTS

The Christmas tree rainbow LED glows colorful light to bring beauty to the Christmas night.

 

SPECIFICATION

Items Parameter
Name Christmas Tree Rainbow LED
SKU EF03420
Input Voltage DC 3.3-5.0V
Size 75.93mm x 50.00mm
Net Weight 6.5g

 

No Related Posts