Skip to content
Parallax Learn

Parallax Learn

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence
          • Cybersecurity: Radio Data tutorialCybersecurity
          • cyber:bot + Python
          • cyber:bot + MakeCode
          • Boe-Bot Tutorial SeriesBoe-Bot
          • Arduino Shield-Bot
          • ActivityBot with C TutorialsActivityBot + C
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot + BlocklyProp
          • Scribbler 3 Tutorial SeriesScribbler 3
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education
          • Propeller C-Language BasicsPropeller C Basics
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit + C
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit + BlocklyProp
          • Badge WX Tutorial SeriesBadge WX
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • MakeCode
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses

Christmas Caroling Device with Light Display Project

Curriculum

  • 1 Section
  • 3 Lessons
  • Lifetime
Expand all sectionsCollapse all sections
  • Christmas Caroling Device with Light Display Project
    3
    • 1.0
      Build the Caroler
    • 1.1
      Playing the Carols
    • 1.2
      How the Caroler Works

Playing the Carols

Time to Spread Some Holiday Cheer!

Now that we know the circuit is working, it’s time for the show! Four copyright-friendly songs have been chosen from the public domain:

  • Deck the Halls
  • Jingle Bells
  • We Wish You a Merry Christmas
  • O Christmas Tree

These four songs are included as four separate programs in the project zip archive download.  You can download play them directly to make sure they sound right, and you can use them in other projects. 

The four songs have been incorporated into one master program, CarolingDeviceWithLights.bs2. In this project, we’re going to use four of the switch’s five positions to play four different songs, and use the fifth position to stop playing a song when the user desires. As each song plays, the LEDs will blink in a unique pattern.

  • Download CarolingDeviceWithLights.bs2 to your BASIC Stamp board.
  • Move and hold the 5-position switch to the left position to play We Wish You a Merry Christmas.
  • Hold the switch in the down position to play Jingle Bells.
  • Try the right position to play We Wish You a Merry Christmas.
  • Try the up position to play O Christmas Tree.
  • Stop the device at any time by letting the switch return to the center position. 

Choose your own songs!
Just because these four songs were chosen for this application, doesn’t mean that you need to use them too – get creative! Pick four of your favorite holiday tunes and search the internet for the sheet music. Then, use the Playing Sheet Music with the Piezospeaker Mini Project to transform that sheet music into PBASIC code. Finally, read through How the Caroler Works to see how a song gets incorporated into the Caroling Device main code.


Printer-friendly version
Build the Caroler
Prev
How the Caroler Works
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2026 Parallax Learn • Built with GeneratePress