Maker.io main logo

Mermaid LED Hair

2023-05-21 | By bekathwia

License: None Addressable LEDs Arduino RP2040

 

I’ve wanted to make a mermaid hair accessory since Dianna Cowern and I met in 2018. This is her idea, but she’s incapacitated by long COVID.

Becky and Hinano

So, I’m making this project with my hair and makeup artist, Hinano Leung, and sending our love to Dianna in spirit.

Now y’all might be able to guess that Ariel was the only redheaded protagonist I saw in mainstream entertainment when I was a kid. I even had the Little Mermaid bedsheet set. My high school chorus performed a medley from the movie at Disney World. So, the Little Mermaid is inextricably linked to my childhood.

tiny LED pixels

For this project, I’m using tiny addressable LED pixels, but you could also use regular fairy lights as an alternative if you want a similar look without as much work. 

twisting LED strand wires

These wires are thin but solid, so they stay where you put them when bent and shaped. I had a really fun time sculpting two hair accessories from these strands, one for Hinano and one for me. For some of them, I clustered a few pixels together to make a larger shape. On others, I twisted each pixel up and branched it out from a central trunk. I did the sculpting with the LEDs turned on, because it’s possible to accidently over-tighten and break the wire connections.

crown shaped circuits

For both, I created a crown shape meant to wrap around the head, with a few hanging tendrils to interact with the rest of the hair or be shaped during styling.

My smart LEDs need a microcontroller to tell them what color to be and when. I’m using the Xiao RP2040 board because it’s super tiny, affordable, and you can code it up with Arduino, like I did, or use Circuit Python if that’s more your jam.

sanding off wire coating

To attach a microcontroller to your own lights, use sandpaper or a nail file to remove the thin coating protecting the wires, and add some heat-shrink tubing. Then, solder the wires to your microcontroller’s power, ground, and a digital output pin.

If you’re new to all this, you can follow along with my Intro to Electronics series on the DigiKey YouTube channel, where I can teach you everything you need to know to build this project, from soldering to LED programming. You can find all the DigiKey products I used to make this project below:

I wanted the pieces to each feature a different color palette. I ended up modifying the sample rainbow function to only express part of the color wheel– blues and greens for Hinano’s and reds and pinks for mine.

 

Copy Code
void rainbowGreen(uint8_t wait) {
uint16_t i, j;

for(j=40; j<95; j++) {
for(i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel(((i/3)+j) & 255));
}
strip.show();
delay(wait);
}
for(j=95; j>40; j--) {
for(i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel(((i/3)+j) & 255));
}
strip.show();
delay(wait);
}
}

void rainbowRed(uint8_t wait) {
uint16_t i, j;

for(j=237; j<239; j++) {
for(i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel(((i/3)+j) & 255));
}
strip.show();
delay(wait);
}
for(j=239; j>237; j--) {
for(i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel(((i/3)+j) & 255));
}
strip.show();
delay(wait);
}
}

 

usb power bank

I’m powering this project with a regular USB backup battery like you’d use to recharge your phone. The cable runs down from the back of the neck to a pocket. This is the safest option because the battery is sealed up inside an enclosure, and not attached directly to the body. It’s not like I haven’t put bare lithium cells in my hair before, wrapped in tape and attached to a hair clip, but I can’t recommend this because if something goes wrong with a Li-poly battery, it could heat up and burn you and also potentially catch fire.

Using a backup battery also provides a lot of juice– the LEDs will shine for hours, and of course you can also still use it to charge your phone.

Cura

I 3D printed seashell-shaped diffusers using transparent PLA filament. I printed them in two different sizes, and used hot glue to affix them to the LEDs.

3d printed diffusers on LEDs

This is an optional step, but it’s really hard not to use 3D printing for everything once you’ve got the capability.

seashell hair clips

I also got some perfectly fetching sea-themed hair clips on Amazon. These alone would work just fine.

curls

Hinano did my hair in a braided half-updo with some nautical curls. She started by applying a heat protectant, which acts as a sort of primer- It protects my hair from damage from hot tools, like the curling iron, and Hinano says it helps the curls that stay longer, too. Another tip for creating curls stay longer is to heat the entire section of hair, by running it through the curling iron, before curling it.

braided half updo

After curling my hair, Hinano created braided sections on each side, along where the crown of the headpiece would sit. To do this, she made a part in my hair that aligned roughly with my pupil, and another at my temple. The section of hair should be about 1 inch wide, which is about the distance to the edge of your ear. Since we were going for a looser, beach-inspired look, we left the front pieces loose on either side of my face and clipped them to keep them out of the way during braiding.

After braiding those sections she twisted them into a bun, pulling the curled ends out to create a decorative flourish. She also added some thinner accent braids throughout, some of which were my hair, and others were extensions.

microcontroller hidden in hair

Then, it was time to attach the lights. Hinano hid the microcontroller behind some hair at the base of the skull, and the USB cable can come down over the shoulder or down the back of the shirt.

She used regular bobby pins as well as U-shaped pins to attach the wire structure. Like when I was sculpting the wire piece, we left the LEDs on during this stage to make sure we didn’t damage any of the connections.

Once Hinano finished my hair, I did hers.

easy makeup scales with fishnet

Then, Hinano showed me an easy and effective technique for making shiny fish scale makeup.

final LED hairstyle

Here’s the final look. Overall there’s a lot of bang for your buck with this project, and it’s sure to impress at your next music festival, mermaid parade, quinceañera, or bat mitzvah. If you do make your own, please share a pic– I love seeing what you make!

制造商零件编号 4917
LED MOD RGB LINEAR STRIP
Adafruit Industries LLC
制造商零件编号 102010428
SEEED STUDIO XIAO RP2040 ARDUINO
Seeed Technology Co., Ltd
制造商零件编号 UPB-02K6-1U
BATT CHRGR USB POWER BANK 5V 1A
Tripp Lite
制造商零件编号 WBNCC633731-2OZ
NO-CLEAN FLUX CORE SOLDER, 63/37
SRA Soldering Products
制造商零件编号 404070001
TWEEZERS POINTED FINE 12 5.32"
Seeed Technology Co., Ltd
制造商零件编号 11228-00000-100
3M VIRTUA PROTECTIVE EYE 1=1PC
3M
制造商零件编号 TOL-11784
KIT HELPING THIRD HANDS TOOL
SparkFun Electronics
制造商零件编号 MN35
DIGITAL MINI MULTIMETER
FLIR Extech
制造商零件编号 4559
PRE-CUT MULTI-COLORED HEAT SHRIN
Adafruit Industries LLC
制造商零件编号 TOL-10326
HEATERIZER XL-3000 HEAT GUN
SparkFun Electronics
制造商零件编号 CR-10 SMART PRO
Direct Dual-Z axis 3D Printer
Shenzhen Creality 3D Technology Co., Ltd
制造商零件编号 100557
3D Filament Transparent PLA
Fabru GmbH
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum