[vc_row][vc_column][vc_single_image image=”1539″ img_size=”full” alignment=”center” style=”vc_box_shadow_3d”]
Cosplay Electronics 101: Simple Switched Circuits
[vc_separator style=”blank” padding_top=”20″ padding_bottom=”20″][/vc_column][/vc_row][vc_row][vc_column]
Overview
[vc_column_text]

Simple switched circuits are great for adding a few LEDs to your costumes. I use them for areas with fewer than 5 LEDs in a chain and who aren’t arduino controlled. Configurations like this work well for arms and legs, and places where you can’t run wires to a main harness.

[/vc_column_text][vc_separator style=”blank” padding_top=”20″ padding_bottom=”20″]
Materials & Tools
[vc_row_inner][vc_column_inner width=”2/3″][vc_single_image image=”1534″ img_size=”large” style=”vc_box_shadow_3d” img_link_large=”yes”][/vc_column_inner][vc_column_inner width=”1/3″][vc_column_text]
  • A Soldering Iron & Solder
  • A pair of Wire Strippers and Scissors/Dykes
  • Your LEDs
  • 2-Pin JST wire (or you can use regular wire, but this is easier)
  • A Switched 2-Pin JST Breakout Board
  • A resistor of the correct size for your circuit & LED (I used 27 ±5% Ω)
  • (Optional) Heatshrink tubing & Electrical Tape
  • (Optional) Helping Hands
[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator style=”blank” padding_top=”20″ padding_bottom=”20″][/vc_column][/vc_row][vc_row][vc_column]
The Soldering Process
[vc_separator style=”blank” padding_top=”5″ padding_bottom=”5″][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”1520″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Split the JST wire and strip the ends.

[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_single_image image=”1521″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Black wire indicates that it goes to ground, so insert it into one of the holes labeled GND for ground.

[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator style=”blank” padding_top=”5″ padding_bottom=”5″][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”1522″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Twist the wire and bend it so that it stays in the hole. Make sure to have the insulation on the wire be as close to the breakout board as possible so there is a smaller possibility of shorts later.

[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_single_image image=”1523″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Using your soldering iron, heat the metal pad (the hole you put wires into) and flow solder into the hole.

[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator style=”blank” padding_top=”5″ padding_bottom=”5″][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”1524″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

After soldering it should look like this, and the solder should be shiny.

[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_single_image image=”1525″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Next, take your resistor, and bend one leg at a 90° angle. Insert this into the hole labeled SW (switch) — if you were to put it into the +/positive hole it would stay on constantly.

[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator style=”blank” padding_top=”5″ padding_bottom=”5″][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”1526″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Here I’ve soldered the resistor in, and now we can cut off any bits that stick out from the board.

[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_single_image image=”1527″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Slide your heat-shrink tubing over the the red wire (power), twist the wire around the other leg of the resistor, and liberally apply solder.

[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator style=”blank” padding_top=”5″ padding_bottom=”5″][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”1528″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Carefully blast the heat-shrink with your heat gun, or lightly run the tip of your soldering iron against it.

[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_single_image image=”1530″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Wrap electrical tape around the whole thing for further strain relief.

[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator style=”blank” padding_top=”5″ padding_bottom=”5″][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”1531″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Mark the Anode (+) of your LED (the longer leg) and cut the legs so that they’re even (or do this after casting any gems).

[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_single_image image=”1532″ img_size=”large” alignment=”center” style=”vc_box_shadow_3d” img_link_large=”yes”][vc_column_text]

Insert the LED into the end of your JST connector so that the Anode leg is in the + hole connected to the red wire of the JST connector, and the ground leg is in the black hole.

[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_column_text]Check for shorts, and then you can plug in your battery (if you’re using the Adafruit switch I am, they need to have a JST connector attached, you can find some awesome options here!) and light your LED up! This method means that you can switch out your LED/gem if you want and reuse the switches for another costume or project.

This method also works with multiple LEDs, you just need to change the resistor size accordingly.[/vc_column_text][vc_separator style=”blank” padding_top=”20″ padding_bottom=”20″][/vc_column][/vc_row]