Monday, February 17, 2014

LED Bracelet - Accelerometer. #3dprinting #wearable #arduino #3DxJewelry

New VU meter version http://www.slickstreamer.info/2014/07/led-bracelet-vu-meter-3dprinting.html

To get the bracelet to interact with the environment I added an 3-axis accelerometer for catching the wearers movements.


The bracelet will cycle throw the color wheal slow and if get shaken it hop a few colours and if shaken for longer time it start to sparkel. It will run for about 3 and a half hour on a charge.


To get the code to work and fit on the trinket/gemma I had to rewrite Adafruit LSM303 library to use TinyWireM and int32_t instead of float to save space, I also remove the compass part of the library. The Arduino sketch is 5,214 bytes of a 5,310 byte maximum.

Related post

  1. First version of the bracelet post
  2. New design  post

Hardware


Tooles

  • 3D printer
  • Soldering iron

Software


Model

Download at thingivers

Design

Circuit Diagram

Connect the led stripe to D1 to one of the trinkets pins, I use pin 1, and connect +5v to the battery positiv and GRD to negativ. To connect the accelerometer use pin 0 for SDA and pin 2 for SCL.





Photos







Happy hacking!
Marcus



1 comment:

  1. Hello. Very nice site!! Man .. Excellent .. Amazing .. I’ll bookmark your site and take the feeds also…I am satisfied to locate numerous useful info right here within the article. Thanks for sharing… obsolete electronic parts

    ReplyDelete