The BrainPad Arcade has five alligator clip pads (GND, 3V, 2, 1 and 0), which are used to interface with external circuits and sensors. This Spirit of Christmas ornament project uses three of these pads to connect to an RGB LED Christmas tree.
Required Parts:
1 x BrainPad Arcade
3 x Alligator clip leads
1 x RGB LED Christmas tree
The RGB LED Christmas tree can be purchased from:
China – https://shop.elecfreaks.com/
USA – https://www.pishop.us/
Canada – https://www.pishop.ca/
UK – https://thepihut.com/
RGB LED Christmas Tree:
The Christmas tree has six RGB LED’s. A RGB LED combines red, green and blue light-emitting diodes in a single package to produce a wide spectrum of colors. By adjusting the brightness of each individual color channel, typically using pulse-width modulation (PWM), it blends light additively to create thousands of hues, including white when all three are active.
Wiring:
Use the alligator clip leads to connect the BrainPad Arcade to the RGB LED Christmas tree as shown below (refer to Figure 1):
Figure 1.
BrainPad GND to RGB LED Christmas tree G
BrainPad 3V to RGB LED Christmas tree V
BrainPad 0 to RGB LED Christmas tree S
Operation:
When the Spirit of Christmas ornament is turned on, it follows this sequence:
-
Displays Christmas card No. 1 on the BrainPad Arcade screen
-
Plays tune – “Jingle Bells”
-
Plays tune – “O Little Town of Bethlehem”
-
Displays the Light Sparkle animation on the Christmas tree
-
Displays Christmas card No. 2 on the BrainPad Arcade screen
-
Plays tune – “O Come, All Ye Faithful”
-
Plays tune – “Rudolph the Red-Nosed Reindeer”
-
Displays the Light Rainbow animation on the Christmas tree
-
Displays Christmas card No. 3 on the BrainPad Arcade screen
-
Plays tune – “The Twelve Days of Christmas”
-
Plays tune – “We Wish You a Merry Christmas”
-
Displays the Light Theater animation on the Christmas tree
-
Displays Christmas card No. 4 on the BrainPad Arcade screen
-
Turns the RGB LED at the apex of the Christmas tree yellow and transmits the message “WISHING A MERRY CHRISTMAS TO ONE AND ALL” in Morse code at six words per minute
-
Plays tune – “Santa Claus Is Comin’ to Town”
-
Displays the Light Color Wipe animation on the Christmas tree
-
Loops back to the beginning
