Introduction: Darth Vader Light-Up Plush Toy

I made a Plush Darth Vader toy that lights up and makes sounds. I made this for the Star Wars fans who like to craft.

The finished toy has three things to do.

  1. Plays theme song when Button A is clicked.
  2. Eyes light up when Button B is clicked.
  3. Arduino lights turns red when shaken.

Supplies

Adafruit Arduino Circuit Playground, Darth Vader Dog Toy, Large Needle, Red LED Lilypad lights, Conductive Thread, and a AAA Battery Pack. Everything can be purchased on Amazon.com.

Step 1: Sew LED Lights Onto Darth Vader's Eyes, Connecting Thread to Arduino Circuit Background

Right Eye: Sew thread around loop A7 and connect up to the Positive (+) loop on the LED light from the inside of the toy. Sew another thread around nearest GND loop and connect to Negative (-) loop on the LED light. 

Left Eye: Sew thread around loop A4 and connect up to the Positive (+) loop on the LED light from the inside of the toy. Sew another thread around nearest GND loop and connect to Negative (-) loop on the LED light. 

Tip: Make sure the threads are not touching inside the toy!

Optional: I placed the eye LED lights and Arduino on top of the toy. However, if able, you can place them on the inside of the toy so they are not visible all the time. If not, this is how it will look when LEDs/Arduino are sewn on. 



Step 2: Go to Makecode.adafruit.com and Click “New Project”

Step 3: Sound Code

Create block coding for playing Darth Vader's theme song when button A is clicked. You can copy the coding shown.

Optional: If you would like to lengthen the song, you can use sheet music to to add more notes. 

https://shorturl.at/qyAF0



Step 4: Light Code Pt 1

Create block coding for turning on eye LED lights when button B is clicked.

Step 5: Light Code Pt 2

Create another block code that turns off all features when buttons A and B are clicked simultaneously.

Step 6: Shake Code

Create block coding that turns Arduino lights red when the toy is shaken. 

Tip: Make sure all coding is done on the same page in the same project.

Step 7: Download the Adafruit Code

Click the pink "Download" button.

Step 8: Connect to Computer

Connect your Adafruit Arduino circuit playground to your computer.

Step 9: Apply the Coding

Drag and drop the downloaded code onto the circuit playground icon that will appear on your computer homescreen when the circuit is connected

Step 10: Battery Pack

Disconnect your circuit playground from your computer. Plug in the battery pack into the circuit playground and turn on

Step 11: You're All Done!

Congratulations, you finished the project!