If This Than That - Light-up Butterfree

by moonimations in Craft > Costumes & Cosplay

225 Views, 1 Favorites, 0 Comments

If This Than That - Light-up Butterfree

20190707_202205.jpg
250px-012Butterfree.png

Hi! Today I am going to show how I made my little light-up Butterfree. You can put him down and if you come too close he will notice you! You can also make a game out of it; set him upright without him noticing you with his light!

What we gonna need is:

Supplies

- An Arduino UNO

- 4 resistors

- 4 LEDS

- Ultrasonic distance sensor

- a lot of coloured wires

- supplies to solder such as tin

- purple felt/fabric

- blue felt/fabric

- white felt/fabric

- plush filling

- a black marker or paint

- red paper

- craft foam and or regular/EVA foam

- some sort of rope

- scissors

- second glue

- a needle and thread

- A powerbank

(Optional = A sewing machine)

Base

netjes schema_bb.jpg

This is the base!

Add the following code;

<p>#include <newping.h><br></newping.h></p><p>long duration, distance;</p><p>void setup() {
  // put your setup code here, to run once:</p><p>  Serial.begin(9600);</p><p>  pinMode(10, INPUT);
  pinMode(11, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(13, OUTPUT);</p><p>}</p><p>void loop() {
  // put your main code here, to run repeatedly:</p><p> digitalWrite(11, LOW);
 delayMicroseconds(5);
 digitalWrite(11, HIGH);
 delayMicroseconds(10);
 digitalWrite(11, LOW);</p><p> pinMode(10, INPUT);
 duration = pulseIn(10, HIGH);</p><p>  
  if (distance < 10) {</p><p>    digitalWrite(12, HIGH);
    digitalWrite(7, HIGH);
    
    digitalWrite(13, HIGH);
    digitalWrite(6, HIGH);</p><p>
//all leds are on</p><p>  } 
    else if ((distance < 20)&&(distance > 10)) {
    digitalWrite(12, HIGH);
    digitalWrite(7, HIGH);
    
    digitalWrite(13, LOW);
    digitalWrite(6, LOW);</p><p>//only the red leds are on</p><p>  
  } 
else {
    digitalWrite(12, LOW);
    digitalWrite(7, LOW);
    
    digitalWrite(13, LOW);
    digitalWrite(6, LOW);</p><p>// all leds are off</p><p>  }</p><p> 
 distance = (duration/2) / 29.1;</p><p>Serial.print(distance);
Serial.println();</p><p>delay(700);
}</p>

Solder All Parts Together on the Board!

20190707_131150.jpg

Make sure to colorcode all wires which I unfortunately failed to do properly. It worked out for me luckily!

Cut Circles As Base for the Eyes and Mouth

20190707_131208.jpg
20190707_132106.jpg

Grab the foam and cut them! Also cut the red paper. Eyeball the shapes using a butterfree reference.

Cut Holes in the Foam Shapes!

20190707_133112.jpg

Cut small holes in them so you can fit the foam around the lamps and sensor. Glue the red paper on the eyeshapes and cut the holes in those too.

Put the Shapes On!

20190707_132605.jpg
20190707_133922.jpg

They should fit! reinforce them with the glue.

Make a Foam Base Underneath the Board

20190707_135918.jpg

Glue em on! eyeball it, I made it big enough for my cable. I cut a hole on one side and pulled the cable through.

Strips of Foam for the Head Base!

20190707_140835.jpg

Once again, eyeball the shape. Glue them on like a + sign. Add more strips where you think it is needed for support.

Felt Base Let's Go!

20190707_143607.jpg

Cut out 4 panels shaped like in the picture. The straight sides will be sewn together so it shapes a circle; a ball for the head.

More Felt!

20190707_152300.jpg

You made a circle the previous step. Now you sew on big stripes on the end so you can form the body later on. Leave the backstrip open so you can turn it inside out.

Inside Out + Put It in + Fill Up!

20190707_154129.jpg
20190707_200245.jpg

Now comes the toughest part. You turn the whole thing inside out. You left one side open right? Here you carefully put in the arduino and the foam base. Pull the felt around. Cut open where the eyes are and glue the felt to the paper. Also cut it open where the sensor is. Handsew a part of the back shut, but not completely! we need an open part for the powerbank to be easily removable to be recharged.

Details!

20190707_170430.jpg

Fill up more where it is needed and add a little mouth! glue it around the sensor, but don't let it touch. :)

More Details!

20190707_173908.jpg
20190707_173905.jpg

Add the little fangs and antennas! It is also important to test if the lamps still work!

Feet and Hands!

20190707_180642.jpg

Eyeball it once again, cut 2 for each hand, and 2 for each feet. (8 total) Sew them together and turn them inside out!

Sew Them On! + Wings

20190707_183514.jpg

Handsew the hand and feet. Pattern the wings with regular paper. Just draw it on. Cut the wings out 4 times. Sew them together, turn inside out, fill them and sew the wings together.

Wing Pattern!

20190707_192535.jpg

Draw them on both sides

Sew Wings On

20190707_202110.jpg

Handsew them at the top only! At the bottom use either velcro or buttons to close the butterfree properly.

Enjoy!

20190707_202205.jpg

Have fun with your little fella. :)