Tag Archives: Star Wars Costume

Building a Star Wars Chewbacca coat with Arduino Lilypad

Pop it like it’s Hoth! 

If you haven’t noticed by now, we Makers love Star Wars. And, just when we thought we’ve seen it all — from hacking 3D printers to play the Imperial March theme to Jedi-like drones racing through the forest to DIY cross guard lightsabers — another project has emerged from a galaxy far, far away.


A Maker by the name of “Malarky” recently developed a Chewbacca coat that emits the infamous Star Wars theme when its collar is flipped up and turns off when put back down. The wearable piece is based on an Arduino Lilypad (ATmega328) along with a light sensor, a small LiPo battery, a few feet of conductive thread and a LilyPad buzzer that serves as its speaker.

“As you can see, the circuit is pretty simple, just find where you will place the components on your sweater. Make sure the light sensor will be completely covered when the collar is flipped down, and sufficiently exposed when flipped up,” Malarky advises. “This is what triggers the music.”


How it works is super simple: If the light sensed is bright enough, the music plays. When the collar is flipped down and covers the light sensor, the tune stops. The buzzer can be embedded anywhere, however Malarky chose to keep it close to the main board so it was easier to sew.

The Maker then went on to code the incredibly popular song and light sensor. “You will need to download both the Arduino sketch and the pitches .h file, and load that pitches file into your sketch so that it can reference the code,” he explains. “Make sure and update all of the pins to use the ones you actually use in your Arduino. You may also need to adjust the light sensor sensitivity increasing or decreasing the “sensorValue” value, increase it to make it less sensitive, or decrease it to make it more sensitive.”


Perhaps, you would prefer a Jedi robe, a Stormtrooper suit or a Luke Skywalker tunic. Luckily, the Maker reveals that the platform can be embedded on any garment that features a collar and programmed to play any song using the AVR based board. With May 4th quickly approaching, this could be the perfect outfit to rock throughout the office or classroom. May the Maker force be with you!

Head over the project’s official Instructables page for a step-by-step breakdown of the build.