This bracelet puts magic at your fingertips! This circuit board bracelet is a sweet addition to any halloween costume, blacklight getup or everyday outfit!

Using a lithium ion battery for power, an ATtiny85 controls four high power LEDs using input from a button. Also, special functions have been implemented to help the ATtiny85 consume less power, so this project should theoretically be able to run for a very long time.

Step 1: Materials

Attiny85 (Sparkfun, free samples)
8 pin IC socket (Sparkfun, Radioshack)
Random broken circuit boards RAM, old motherboard, etc.
4 High power LEDs (red works best, but white works too)(Radioshack)
Resistors (5x 10Ω and 2x 330Ω) (Sparkfun, Radioshack)
Female JST (Sparkfun)
Small(ish) rechargeable battery (Sparkfun, Radioshack)
Small pushbutton (Sparkfun)
8x Male headers (right angle) (Sparkfun)
8x Female wire connector (Mouser)

Sparkfun wish list with all of the parts here


  • Dremel or other rotary cutting tool
    • 5/64" drill bit
    • Sanding bit
    • Cutting bit
  • Wire cutters
  • Heatshrink tubing ()
  • Stranded core wire (22 gauge)
  • Soldering equipment
  • Protoboard
  • Li-ion charger ()

Step 2: The Concept

This bracelet is inspired by the fact that red light passes through your skin, while other wavelengths of light are stopped. This is why a red LED is ideal, for all other wavelengths will be absorbed into your skin. Unsurprisingly, light also passes through the skin in your cheeks, which makes for an interesting-looking picture!

I try to upcycle as much as possible, so using broken computer parts was a given. The RAM chips I used were about to be thrown out, so I took them for use in this project! Also, let's be honest, circuit board bracelets look amazing.

Step 3: Preparing the Circuit Boards

To create the body of the bracelet, I used old RAM chips and a small section of an old motherboard. Also, you should cut the protoboard to the correct size and drill the holes now (it makes the creation of the board much easier). These circuit boards needed to be cut, sanded, and drilled, as described below:

  1. Cut the circuit board into sections approximately ½"x1" using the Dremel's cutting wheel
  2. Sand the edges of these boards to be rounded so they aren't sharp
  3. Drill a 4 holes (~5/64") in the circuit boards about the same distance from the edge (see the pictures)
  4. Clean the debris and rinse with water

Note: This should be done outside or in a well-ventilated area. Anything inhaled during this process may be harmful.

Step 4: Making the Circuit

This simple circuit will allow an ATtiny85 to control 4 LEDs at high power and read a momentary push button. The trick when making this circuit board is to solder everything after the perfboard is cut and drilled. I didn't do that and it would have saved me a lot of time.

To make the ground headers, simply stack two right angle headers on top of each other and solder.

A few notes:

  • Since it's such a small board, you may need to run some resistors under the IC holder
  • The bottom of the board gets very uncomfortable when touching skin, so I covered the bottom with a layer of Sugru
  • If you have any questions about the circuit, ask me in the comments below!

Step 5: Threading the Wire

To hold everything together I used red and black 22 gauge threaded-core wire from RadioShack. The threaded-core (or stranded-core) wire is flexible and less susceptible to breaking from movement, making it idea for this project. First, cut out a length of wire around 1.5 times longer than the actual bracelet. This will give you space to add a little something on each end.

Then, thread the wire through the holes and adjust it so it fits comfortably. You may need to switch around the order of different sized circuit boards to get the most comfort (e.g. putting the smallest ones on the curviest part of your wrist).

At each end, I chose to solder the wires together and cover them in heat shrink. The curve that was created from joining the wires allowed me to easily use a wire tie to close the bracelet.

Step 6: The LEDs

These high-power LEDs connect to the circuit through headers and threaded-core wire that's threaded around itself (otherwise know as a threadception XD).

The length of each wire varies greatly from person to person, so be sure to make careful measurements and a few tests before you solder it all together. Also, make sure it's comfortable when you make a fist because the wires don't stretch around your hand.

Step 7: Programming the ATtiny85

This program uses 5 DIO pins to switch on LEDs and read a button state.

A really cool feature of this code is the fact that it actually puts the ATtiny85 into power-saving mode when not in use, extending the standby battery life A LOT. Also, the program switches off the ADC at the beginning of every program to save even more power.

Every time the button is pressed, the animation switches between these modes (in order):

  1. All on
  2. Back/forth (see pictures)
  3. Light painting mode (just pointer finger LED on)
  4. All off

Description: This is the function that's called around every few milliseconds to check the button state:

boolean debounce(){
  //reads a button state, waits for it to settle, reads, then returns the state
  //true: pressed, false: unpressed

  //if the button was pressed in the same program cycle don't do anything
  if(abs(counter-debounceCounter)<1)return false; 

  if(digitalRead(readPin)){ //if the button is pressed
    delay(27); //wait for the release
    debounceCounter = counter; //create a checkpoint (used above)
    return digitalRead(readPin); //read again
  return false; //if nothing happened


if(abs(counter-debounceCounter)<2)return false;
  • abs() is a built-in function to find the absolute value (in my case I'm using it for finding the difference between the delays)
  • (counter-debounceCounter) is the time since the last button press (in program cycles)
  • <1 makes sure the function only works if the button press occurs within different program cycles
  • return false forces the program to return false because it's within the same program cycle

Description: This piece of code animates the LEDs during the back-and-forth animation:

for(int i=0; i<4; i++){  //animate going up (half of mode 2)
      digitalWrite(ledPins[i], HIGH);
      if(debounce()) incMode(); //switch modes if the button is pressed
      digitalWrite(ledPins[i-1], LOW);
      if(debounce()) incMode(); //switch modes if the button is pressed


for(int i=0; i<4; i++)
  • for() is a declaration of a loop with a specified amount of recursions
  • int i=0 initializes a starting value for the counter
  • i<4 is the limit of the counter (how many recursions)
  • i++ i increases by 1 every time the program runs
if(debounce()) incMode(); //switch modes if the button is pressed
digitalWrite(ledPins[i-1], LOW);
  • debounce() is a function declared earlier in the code (see above). This is placed here simply to check if the bracelet should switch modes
  • incMode() is a function that simply adds one to the variable mode
  • digitalWrite(ledPins[i-1], LOW) turns off the LED after the one before it (ledPins[i]) is turned on
  • sleep(128) puts the ATtiny85 into a deep, deep sleep only woken by a watchdog timer or an external interrupt

Step 8: Light Paintings!

Light paintings are created when a camera's exposure time is great enough that light will continuously excite the sensors in the camera, drawing a picture. To do this, you'll need to set the camera's shutter speed to a big number (bigger delay). Also, if your camera has a "bulb" setting, this will allow you to keep your shutter open indefinitely, which is good for larger and more intricate paintings. What this setting does is keep the shutter open until you tell it to close.

The device that really helped out in this process was an external remote. I hooked up two wires coming from a small connector in the camera to a pushbutton. This allowed me to take pictures easily and precisely.

After a lot of use, you may need to recharge the battery, so this will be helpful!

Please vote for me if you enjoyed this Instructable!
<p>After much fussing over this ATTiny 85 I think we have finally downloaded all the right files! Took us a while. However, I was hoping someone could give us some input on how to check to see if the ATTiny 85chip is actually working. We didn't get any errors when we uploaded the code but when we put it into the project (with a batter connected) we don't get any action!</p><p>I would love to check the ATTiny 85 to see if we possibly &quot;fried&quot; it during our playing around phase or if our error might be coming from our soldering job.</p><p>Any suggestions?</p><p>Thanks!</p>
<p>Sorry for the late reply. You probably didn't fry it (I've treated it pretty badly and it survived, so you're probably all good). In terms of testing, I've found the blink sketch works well. And if you want to test timing, you can run the blink sketch on an Arduino you know is working nearby and see how long it takes for them to get out of sync.</p>
<p>Nice Instructable :)</p><p>Can you tell in Introduction section how to use motion picture. What type of image actually it is(moving one)</p>
<p>It's a GIF. Buuuuutt, if you want to upload a GIF to Instructables, it has to be 500x500 max.</p>
<p>Thanks :)</p>
<p>Hello, I am new to the world of electronics and I was just wondering what type of resistor(s) I would use if I was to use 1 super bright LED.</p>
<p>Sorry for the late reply. You can use basically whatever resistor you want, just test it to find out if it's bright enough for you! A 10&Omega; resistor makes the LED VERY bright, and that worked the best for me. </p><p>-Nodcah:-D</p>
<p>Hi Elliott</p>
<p>thats pretty cool man</p>
<p>Thank you! :-D</p>
hey r u having any easier method for making a study lamp with easier home available appliances
<p>I'm sorry I don't understand your question. I'm not quite sure what a study lamp is either. Maybe a picture would help? I'd be glad to help though, just give me a bit more info!</p>
<p>Excellent. Super cool</p>
<p>Nice ible but how you formatted this ible????</p>
<p>It's actually really cool what you can do to an Instructable (more info on styling <a href="https://www.instructables.com/id/How-to-Enhance-Your-Instructables-Using-HTML/#comment-CCM10R7HZDYFSJY" rel="nofollow">here</a>) What I liked you to is actually a comment in an Instructable, but that whole Instructable is good!</p>
<p>AWSOME </p>
<p>Thanks!! =)</p>
<p>also im not makeing an instructable on it sorry its not finished it needs more power</p>
<p>very coo plan on addin it to my emp power gauntlet. yes it worx, no its not a costume piece, and its used for teaching cocky machines that humans are the boss.</p>
<p>This is pretty freaking awesome. </p>
Thanks!! :-D <style type="text/css">body { background-color: rgb(255,207,210); } </style>
<p>WOW AWESOME <br>♪~ ᕕ(ᐛ)ᕗ</p>
<p>Me likey. I voted :)</p>
<p>Thanks! =)</p>
Wow, that's amazing! I love the light paintings :D
<p>Thanks! I loved doing them =D</p>

About This Instructable




Bio: I am a freshman in college studying computer engineering and an alumn of a FIRST robotics team. I also love to tinker on my own ... More »
More by nodcah:Turn Your Entire Phone into a Touchscreen DIY Glowing Bracelet Fix Any Video Game Controller 
Add instructable to: