How to Make a Colorful Crystal Lamp With Micro:bit

About: ElecFreaks is an open design house founded in March 2011. Our goal is to create rapid prototypes and give small-batch manufacture solution for makers and startups. With over 50% staff as engineers and expand...

Christmas Day is coming soon. Are you still head-aching about Christmas gifts for your children or friends? Let's move our hands to try some DIY gifts. Here we have made a colorful crystal lamp with micro:bit board. Hope this will be a good choice for you. Just have a try!

Step 1: Tools & Materials:

1 x 8 RGB Rainbow LED Strip

1 x BBC Micro:bit Board for Coding & Programming

4 x 3*5 Copper Stud

8 x 3*5 Screw

1 x acrylic board

Step 2: Working Principle:

We use laser engraving machine to carve patterns on the transparent acrylic board, and then install RGB LED light underneath. The light beam will emit from the carved area. We can also use highlighters to draw some wanted patterns on the acrylic board so as to realize the similar effect.

Step 3: How to Make:

Step 1:

Firstly, we need to design an acrylic base. You can design it to any shape you like by yourself. We use laser engraving machine to cut two circles in same size from a transparent acrylic board. There are four small holes, which form a square within the circles. On one of the circles, we have made a hollow rectangle slot.

Step 2:

Fix RGB LED strip to the hollow slot of the circle with screws. And then use copper studs to assemble the whole base together. You can install it according to the picture below.

Step 4: How to Make:

Step 3:

Next, let's start to carve patterns for our lamp body. Under each pattern you carved, you shall spare a bottom base, which can be plugged into the acrylic base. You can choose some of your favorite cartoon figures or pictures, then draw it with CAD. In this case, what we have designed is a Christmas tree. Here's our sketches!

Step 4:

Plug the bottom base of the tree into the slot on the acrylic base.

Step 5:

Connect RGB LED strip to micro:bit. You can connect them according to the picture below.

Step 5: How to Make:

Step 6:

Hide your micro:bit board and cables well under the lamp body. Use a USB cable to connect your micro:bit board to computer. Till now, we have finished all of hardware installation. Next, we are going to program for our lamp and try to make it realize colorful light gradient.

Step 6: Programming

Open Microsoft Makecode, write your code into the edit area. I would like to suggest you try to program by yourself first.

Of course, you can see the whole program in the link below. Just click Edit on the upper right corner, then click Download underneath to download your code directly into micro:bit.

Step 7: Result:

Amazing! The crystal lamp is glowing colorful lights! A beautiful Christmas lamp is created!

Note: We can provide laser engraving service to you!

More Artworks:

Step 8: Relative Readings:

Micro:bit Experiment 11: Rainbow LED Ring —— Elecfreaks Mirco: bit Starter Kit Course


This article is from:
If you have any questions, you can contact:



    • Trash to Treasure

      Trash to Treasure
    • Tape Contest

      Tape Contest
    • Arduino Contest 2019

      Arduino Contest 2019


    Hello there!

    We're glad you want to share something with the Instructables community!

    And we’re here to help you out.

    Due to some recent changes on the site, we are no longer able to publish stand-alone videos and other forms of incomplete posts. In order to be published live on the site, Instructables must consist of the following things:

    - Multiple steps showing how you made your project

    - Written instructions in each step

    - Your own original images

    Beyond making your Instructable simply publishable, this guide ( explains what is required to have your Instructables featured by our site editors. It’s very helpful, and definitely worth checking out.

    We would love to review your project again after you have made the necessary edits, and we will publish your project if it is eligible.

    If you have any questions, please feel free to ask right here or send us an email at


    Instructables Community Manager