Christmas is a romantic and funny season.
Kids GIFT
Check More Gifts
Friends GIFT
Check More Gifts
As an electronic enthusiast, programming enthusiast and DIY player, we have shared many Christmas related DIY works.
Scroll down and you can find many interesting Christmas DIY works video.
LOOK AND ENJOY!
Project No.1---Colorful Christmas Tree
HARDWARE LIST
Programming
MakeCode link: https://makecode.microbit.org/_hw0aRP4DeJe5
Project No.2---Spider Gift Car
HARDWARE LIST
16in1 Superkit Buildingblock Kit *1
Programming
Project No.3---Christmas Card
HARDWARE LIST
Project No.4---Everyone have Christmas Hat
HARDWARE LIST
16in1 Superkit Buildingblock Kit *1
Programming
Airplane MakeCode:
Airplane MicroPython:
from microbit import *
import music
import superbit
import microbit
import neopixel
airplane = Image("00090:09090:99999:09090:00090")
display.show(airplane)
np = neopixel.NeoPixel(pin12, 4)
while True:
music.play('E4:4')
superbit.motor_control(superbit.M1, 255, 0)
np[0] = (255, 0, 0)
np.show()
music.play('E4:4')
superbit.motor_control(superbit.M1, 255, 0)
np[1] = (0, 255, 0)
np.show()
music.play('F4:4')
superbit.motor_control(superbit.M1, 255, 0)
music.play('G4:4')
np[2] = (0, 0, 255)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('G4:4')
np[3] = (255, 255, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('F4:4')
np[0] = (255, 255, 255)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('E4:4')
np[1] = (255, 0, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('D4:4')
np[2] = (0, 255, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('C4:4')
np[3] = (255, 0, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('C4:4')
np[0] = (0, 255, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('D4:4')
np[1] = (0, 0, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('E4:4')
np[2] = (255, 255, 0)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('E4:6')
np[3] = (0, 255, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('D4:2')
np[0] = (255, 0, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('D4:2')
np[1] = (0, 255, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
microbit.sleep(500)
music.play('E4:4')
superbit.motor_control(superbit.M1, -255, 0)
music.play('E4:4')
np[2] = (255, 255, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('F4:4')
np[3] = (255, 255, 0)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('G4:4')
np[0] = (0, 0, 255)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('G4:4')
np[1] = (0, 255, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('F4:4')
np[2] = (255, 0, 0)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('E4:4')
np[3] = (255, 0, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('D4:4')
np[0] = (0, 255, 255)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('C4:4')
np[1] = (255, 255, 0)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('C4:4')
np[2] = (0, 255, 0)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('D4:4')
np[3] = (255, 0, 0)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('E4:4')
np[0] = (255, 255, 255)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('D4:6')
np[1] = (255, 0, 255)
np.show()
superbit.motor_control(superbit.M1, -255, 0)
music.play('C4:2')
np[2] = (0, 255, 255)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
music.play('C4:2')
np[3] = (0, 255, 0)
np.show()
superbit.motor_control(superbit.M1, 255, 0)
microbit.sleep(1000)
Proficient carrier MakeCode:
Airplane MicroPython:
from microbit import *
import superbit
import microbit
display.show(Image.HAPPY)
superbit.servo270(superbit.S1, 120)
while True:
if button_a.is_pressed() is True and button_b.is_pressed() is False:
superbit.servo270(superbit.S1, 120)
elif button_a.is_pressed() is False and button_b.is_pressed() is True:
superbit.servo270(superbit.S1, 60)
elif button_a.is_pressed() is True and button_b.is_pressed() is True:
microbit.sleep(50)
if button_a.is_pressed() is True and button_b.is_pressed() is True:
superbit.servo270(superbit.S1, 180)
Transbot tutorial link: http://www.yahboom.net/study/Transbot-jetson_nano
Project No.5---Christmas detector
Project No.6---Gift Box
HARDWARE LIST
Programming
Project No.7---Christmas party
HARDWARE LIST
Programming
MakeCode link: https://makecode.microbit.org/_AcwfLEb1VKMR
Any other Christmas Project Ideas, Share with US!