Previous site

Ding-Dong! Who’s There?

Ding-dong! Press the bell and it rings!

Build a doorbell that rings when you press it.

Ding-Dong! Who’s There?
Finished model

Blocks needed

  • × 1
  • × 1
  • × 12
  • × 17
  • × 3
  • × 2

How to build 14 steps

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Step 6
  7. Step 7
  8. Step 8
  9. Step 9
  10. Step 10
  11. Step 11
  12. Step 12
  13. Step 13
  14. Step 14
1 / 14

Coding mission

Step 1: Code the doorbell to play “Sol, Mi” when you press it. Step 2: Code it so that “Do” keeps repeating while nobody presses the doorbell, and “Twinkle, Twinkle, Little Star” plays when it is pressed.

Blocks and their jobs

  • Sound BlockDoorbell sound
  • Touch Sensor BlockDoorbell button

Let's think

Use conditional statements with the Touch Sensor Block.

Put inside the commands to run when the touch sensor is pushed.

Put inside the commands to run when the button is not pushed.

Learn the notes of the Sound Block.

Show the solution

When you press the touch sensor block, the sound block plays “Sol, Mi.” Try different notes to make your own doorbell sound.

Mission complete!

Built it and coded it? Tap to save your progress.