Christmas decoration

A simple Christmas decoration that flashes in many colors. For that you will have to use the buttons and the LED of color.

Here's how to build an angel or a Christmas tree step by step for Christmas. Use the displayed blocks and put them in the correct order and test your code by clicking on .

Step 1: Turn on the LED in green

If I press the button A turns on the LED in green.

Use the following blocks and add them in Kniwwelino My program:

You can test your code.

Step 2: Change the color when you press the B button

If I press the B button then turn on the LED in another color.

Add the following blocks below what you already did in step 1:

Step 3: Turn off the LED

Turn off the LED if buttons A & B are clicked at the same time.

Solution

Material

  • 1 Kniwwelino
  • 1 USB cable
  • 1 elastic
  • 1 ice cream stick
  • Tape
  • Scissors
  • Glue
  • 1 sheet of A4 paper in white or colored
  • [optional] 2 other sheets of paper colors
  • [optional] glitter, markers, stickers, punch, … all material needed to decorate
  • [optional] 1 sheet of tracing paper
  • [optional] 1 external battery

Model

Instructions

  1. Download the template and print it.
  2. Choose the model of your choice: angel, single fir or three-story fir.

Engel

Einzeltanne Dreistöckige Tanne

  • You can play on the blinking effects of the LED.

  • You can play on the brightness of the LED.

  • You can use the time to add an effect on the LED and make it change color.

  • You can also use the loops to repeat your effect 10 times in a row.

Solution

Downloadable version in Blockly.