Jamie Cheaw
Published

Project 1: Switches and Knobs | Silent Night

Flip the switch to turn on the lights and clap for the Silent Night melody to play in this Goodwill thrift-ed Christmas decoration.

BeginnerFull instructions provided1 hour223
Project 1: Switches and Knobs | Silent Night

Things used in this project

Hardware components

Circuit Playground Express
Adafruit Circuit Playground Express
×1
Alligator Clips
Alligator Clips
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1
Toggle Switch, SPDT
Toggle Switch, SPDT
×1

Software apps and online services

MakeCode
Microsoft MakeCode

Hand tools and fabrication machines

Hammer
Used to break the bottom for the CPX to fit inside.

Story

Read more

Custom parts and enclosures

The enclosure

I got a Christmas decoration from Goodwill and smashed a hole in the bottom to fit the CPX. It conveniently had a hole in the back for me to wire the alligator clips and charger through.

Schematics

The CPX, switch, and clips.

The board is plugged into my PC for power using a micro-USB wire and alligator clips attach from the analog switch to the CPX.

Code

circuitplayground-Project-One-Silent-Night .uf2

C/C++
The code was made in Microsoft Makecode.
No preview (download only).

Credits

Jamie Cheaw
4 projects • 0 followers
Contact
Thanks to Adafruit.

Comments

Please log in or sign up to comment.