“Lumos” Magical Wand – Wen’s Halloween Costume

Final Photos and Video

How does the wand work?

Process Photo and Video

  1. Bread Board Prototype
Try Different Vibration Sensors on Bread Board
Solder the successful wiring to the Gemma Board

2. Attached Components to the Wand

Sketches and Inspiration Photo

Sketches
Inspiration Photo

List of Materials and Tools Used

Solder set, Gemma Board, Bread Board, LED, Wires, Wire Cutters, Wood Sticks, Tapes, Hot Guns, Hot Glue, Fabrics.

Circuit Diagram

Code

void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT_PULLUP);
Serial.begin(9600);
}

void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);

// check if the pushbutton is pressed. If it is, the buttonState is HIGH:
if (buttonState == LOW) {
// turn LED on:
digitalWrite(ledPin, HIGH);
Serial.println(“switch has been triggered”);
delay(5000);
} else {
// turn LED off:
digitalWrite(ledPin, LOW);
//Serial.println(“switch has been off”);
}
}

My Thinking

It was a very interesting experience making a wand that can simulate the special effect in the Harry Potter Movies, I just need to wave the wand, the LED will light up, which is very similar to the “Lumos” spell in the movies. If i can make it the next time, i will make a 3D printing LED diffusor so that the light will diffuse wider so the effect will be more beautiful.

And if it is possible, i will try to use 3d printed mold to cast a resin wand, which is able to hide everything perfectly.

Leave a Reply