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!
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
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.
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 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 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.
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.
Result:
Amazing! The crystal lamp is glowing colorful lights! A beautiful Christmas lamp is created!
Note: We can provide laser engraving service to you!
00
More Artworks:
CAD Files for Lamp Body:
bottom base.dxf
upper base.dxf
Tree.dxf
Santa.dxf
Deer.dxf
Circle panel.dxf
Relative Readings:
Micro:bit Experiment 11: Rainbow LED Ring —— Elecfreaks Mirco: bit Starter Kit Course
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://www.elecfreaks.com/11903.html
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit