Thursday, July 31, 2014

LED Bracelet - VU meter. #3dprinting #wearable #arduino #music

New version of the LED Bracelet using a microphone to react to the sound around it. After my friend Petter and others nagged me about adding a mic to the bracelet I start to look for a small mic to use and found one at sparkfun.




Change the accelerometer to a mic, some miner change to the 3d-model to get the mic to fit and code from Adafruit LED Ampli-Tie it was up and running.

Hardware


Tooles

  • 3D printer
  • Soldering iron

Software


Model

Download at thingivers

Circuit Diagram

Connect the neopixels to pin 1 and the microphone to pin 2.



Added power switch.




Glue everything to place

Added som foam tape to de back of the mic


Mic version and acc version
The accelerometer module and microphone can be chanced depending what mode you are in.

Code

The code is mostly from Adafruit LED Ampli-Tie





If needed it can dubble as a digital campfire late evenings at the beach.





You may have seen the earrings in the photos and video and want to build them? Be back next week for a how to guide :)

Happy hacking!
Marcus





Tuesday, June 17, 2014

Dr. Livingstone's festival hat - a VU meter Pith Helmet #wearable #arduino #diy #neopixel

This hack did I do together with Erik Stenberg. This started when I show him a top hat with LED strip and he said I have a Pith Helmet we should put LEDs on it.

Dr. Livingstone's festival hat

Hardware


Parts

Circuit Diagram

Connect the neopixels to D1 and the microphone to A1. The capacitor is for stabilizing the voltage, otherwise it will start to fluctuating when the battery is used for a while. Resulting in strange behaviour. 









Use thread with matching color to the hat to stitch it to the underside of the brim.  

Code

The code is a modified version of the code for Adafruits LED Ampli-Tie




Done


Happy hacking!

/Marcus



Monday, February 17, 2014

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

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