Creating a Sakura Miku With Programmable Wings

by projectpopi in Craft > Costumes & Cosplay

21 Views, 1 Favorites, 0 Comments

Creating a Sakura Miku With Programmable Wings

Untitled_Artwork.png

Hello all!

For this Instructable, we will be making a custom Hatsune Miku cosplay based off of her Sakura outfit with added electronic fairy wings.

We will break down this tutorial in 3 sections: The Outfit (Steps 1-2), The Wings (Steps 3-6), & The Wig (7-8).


Supplies

The Outfit

  1. Access to sewing machine
  2. Tape Measure
  3. Pink Long Sleeve Shirt (for the skirt) (or buy a pleated skirt)
  4. Button-Up White Shirt
  5. Elastic Pants (Fluffy Preferred)
  6. Thigh-high socks


The Wings

  1. The Tech
  2. MG90s Servo Kit OR:
  3. MG90s Servo Motors (2x)
  4. 33.5mm Servo arm (2x)
  5. Raspberry Pi Pico
  6. 5V battery
  7. Breadboard Kit OR:
  8. 400 Tie-Point Breadboard
  9. Male to Male Jumper Wires x 6
  10. 3.3V/5V Dual Output Power Module
  11. Wings
  12. Hangers (2x)
  13. Posture Strap (to attach box to)
  14. Velcro
  15. 3D Printer Access (to print box and contain electronic components)
  16. X-acto Knife
  17. Duct Tape
  18. Hot Glue Gun


The Wig

  1. Wig w/ dettachable twintails
  2. Dye Materials: (If you have the color you want, feel free to skip over this!)
  3. Pot (NOT FOR COOKING or bleach afterwards) or Bucket
  4. Water
  5. Rit Dye
  6. Dish Soap
  7. Towel (You don't mind messing up)
  8. Tongs
  9. Gloves (WILL dye your hands)
  10. Comb (Project used wide & narrow tooth)
  11. Clips
  12. Wig Stand
  13. Fabric Softener
  14. Water
  15. Sewing Pins
  16. Hair Dryer or Flat iron
  17. Cherries
  18. 60mm clear, closable sphere (ornaments are ideal)
  19. Red paint
  20. Paintbrush
  21. Newspaper
  22. Prop vines
  23. Battery-Powered Fairy Lights

Take Measurements

Before you can make any costume, you need to get the measurements for whoever you're making this outfit for.

Specifically, make sure to get the circumference of: your arm, forearm, bicep, hip, waist, bust, & head. Then, make sure to get the length of: your arm, leg, stomach, torso, shoulder width, back, torso to arm.

Sewing

IMG_4538.jpeg
IMG_4537.jpeg
IMG_4539.jpeg

For sewing it is quite easy.

For the arm warmers get a pair of pants that have elastic on both ends. Cut them down the middle and make shorts out of the pants. Then sew the raw edge up.

For the tie, cut the sock at the heel. Then sew the raw edge down and put a string through the sock and sew the sock to have a pointed edge.

For the shirt thrift a white shirt that is collared and fits you.

For the skirt this is the most complicated part. From the long sleeve shirt, you will cut a rectangle that is far too long. Then you sew the edges of it to make a loop. Then you put an elastic band in the top and hem the raw edge.

And now you have Miku's clothes!

Designing the Wings

IMG_4257.jpeg
IMG_4259.jpeg
IMG_4262.jpeg
IMG_4449.jpeg
IMG_4372.jpeg
IMG_4425.jpeg
IMG_4535.jpeg

First, draw out your design on a piece of cardboard. Then, get your hanger wire and mold a general shape that reflects the design. Use your hands or pliers to manipulate wire as some bending could be difficult. Both ends should end at the middle of the wings. Form a square like shape and twist the ends.

To add on tulle/fabric over the wings, cut out shape with 12 mm (~0.5 inch) allowance then hold fabric over and hot glue in place.

To connect them to the servo arm, grab a X-acto Knife and twist around servo arm holes. Be careful as they could break. Thread them through the arm as shown in picture 4 and hot glue them in place.

Circuitry

Screenshot 2025-10-29 185224.png
IMG_4332.jpg
raspberry_pi_Pico-R3-Pinout-narrow.png

This electrical diagram showcases the motors, and possible fairy lights ( decided not to add later on) that hook up to the raspberry pi pico.

First, hook up the Integrated Power Module, aligning the positive and negative rails to the pins

Here’s how to connect the servos to the breadboard

Servo 1:

Positive pole -> Positive Rail of Breadboard

Negative Pole -> Negative Rail of Breadboard

Signal -> GP0

Servo 2:

Positive pole -> Positive Rail of Breadboard

Negative Pole -> Negative Rail of Breadboard

Signal -> GP1

Import Code

Copy the following code and open up Thonny (Python Program) or other IDE:

from machine import Pin, PWM
import neopixel
import time

# --- SERVO CONFIGURATION ---
servo1 = PWM(Pin(0)) # First servo on GPIO 0
servo2 = PWM(Pin(1)) # Second servo on GPIO 1

servo1.freq(50)
servo2.freq(50)

def set_servo_angle(servo, angle):
# Convert angle (-90 to 90) → duty cycle for servo
min_duty = 1638 # 0.5ms pulse
max_duty = 4915 # 2.5ms pulse
duty = int(min_duty + (angle + 90) * (max_duty - min_duty) / 180)
servo.duty_u16(duty)


# --- NEOPIXEL CONFIGURATION ---
PIN = 2 # GPIO for LED data line (adjust if needed)
NUM_LEDS = 340 # Total LEDs in strip
np = neopixel.NeoPixel(Pin(PIN), NUM_LEDS)

def set_led_color(r, g, b):
np.fill((r, g, b))
np.write()
# --- STARTUP ---
print("Starting flapping wings with pink LEDs... Press Ctrl+C to stop")

# Pink color (mix of red + some blue)
set_led_color(255,192,203)

# --- MAIN LOOP ---
try:
while True:
# Flap forward (-45° → 45°)
for angle in range(-45, 46, 5):
set_servo_angle(servo1, angle)
set_servo_angle(servo2, -angle)
time.sleep(0.02)

# Flap backward (45° → -45°)
for angle in range(45, -46, -5):
set_servo_angle(servo1, angle)
set_servo_angle(servo2, -angle)
time.sleep(0.02)

except KeyboardInterrupt:
print("\nStopping...")
servo1.deinit()
servo2.deinit()
set_led_color(0, 0, 0) # Turn off LEDs
print("Servos and LEDs off.")

In order to have the code run on the Raspberry Pi Pico, connect your Pico to your computer and then on Thonny (or other IDE) move code in the “main.py” file in the pi pico memory.

In essence, this is used to make the servo motors move to flap the wings around. This allows for the wings to move in perfectly reflective angles.

Of course, if your code doesn't work, make sure your wiring is correct..

Box & Attachment

IMG_5313.jpeg
IMG_5315.jpeg

Export Case Model and print it out (Project used a Bambu printer). Place Velcro on the body of the shoulder strap and velcro on the back of the box.

First, put Servo 1 through the left servo hole and place Servo 2 through the other hole. Next, place the breadboard inside, making sure the Integrated Power Module button is aligned with the hole. Last, plug in the battery and place it on its side in the middle of the breadboard.

The slant is there to make wing movement possible. If satisfied with wing movement, use duct tape to hide the microcontrollers

In order to close the box press the two sides together

One of the most important things in this step is that you need to ensure the wings fit through the servo motors.

Cherry Charms

cherries.png
IMG_4371.jpeg
IMG_4373.jpeg
IMG_4386.jpeg
IMG_4389.jpeg
IMG_4392.jpeg
IMG_4393.jpeg
IMG_4391.jpeg

One of the most prominent features of Sakura Miku's outfit are the cherry headpieces, so of course we're adding these too.

Of course, before we do anything, it's best to paint the ornaments red so the light is reflected and the red shines through more. Wait for them to dry and then, add the battery-powered LED lights on the inside. To conserve power, only turn them on when you're actively wearing the costume.

Take a string of vine and tie a leaf around the ornament hole. Cut off that leaf and make a knot. Do the same with the other ornament. Cut your desired stem length and cut remaining leaves. Use a bobby pin to pin it onto the hair

The Wig

Screenshot 2025-10-30 095947.png
IMG_4314.jpeg
IMG_4507.jpeg
IMG_4361.jpeg
IMG_4358.jpeg
IMG_4363.jpeg
IMG_4325.jpeg
IMG_4503.jpeg
IMG_4321.jpeg
IMG_4319.jpeg
IMG_4518.jpeg
IMG_4519.jpeg
IMG_4520.jpeg
IMG_4521.jpeg

Dying (Optional)

Clip sections of twintails to desired ombre pattern. Bring pot a water to an almost boil (for bucket, transfer this hot water to bucket). Add dish soap and rit dye (This project used half a 4oz of cherry red dye + 2oz of petal pink). Dip a small tuft of wig hair to make sure you have your desired color.

Then, use tongs to swirl around the main part of the wig in the pot. Wash wig under cold water until water runs clear (Note: Dye will initially appear darker before washing).

For twintails, start dipping one into the dye mixture. The more saturated you'd like the hair to be, the more time it needs in the dye mixture. Wash tail under cold water until water runs clear (Note: Dye will initially appear darker before washing). Repeat with the other tail.

Dry wig with a towel you don't mind getting stained by wrapping and lightly stamping it.


Detangling

To start with the detangling, begin by taking a small tuff of main hair and by brushing it in a reverse motion. Teasing gives the appearance of a higher volume in the hair, and it also helps with exaggerating any style.

Now that you have your fluffball, spray it down with a fabric softner & water mixture. Once sprayed, use a hair dryer + comb (or flat iron) to straighten it. Section off detangled hair and tangled hair to reduce confusion. Repeat with twintails.



Using the flower accessories described in the previous step, now's the time to put them into action!

Full Assembly

IMG_5151.jpeg
IMG_5320 (1).jpeg

Put on clothes first, then wig, and lastly the wings. There you have it! Have fun with your costume :D