Need help with LED, sound, and Flex sensor project.

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
GIWillys
 
Posts: 2
Joined: Mon Oct 20, 2014 10:22 am

Need help with LED, sound, and Flex sensor project.

Post by GIWillys »

Howdy, sorry if this isn't the place for this, but I'm really new to this, and would like some help. I've found some code that should work for what I'm working for, but I'm stumped when it comes to putting it all together.

Overview:
I'm looking to create a circuit for a Halloween costume, where a set of two flex sensors will be set inside fingers of a glove, a single adafruit pixel ring set inside the palm, and a sound system hidden in a set of robes. Unflexing both fingers of one of the gloves will turn the corresponding glove LED ring to fade in and flicker, as well as an audio file to play. A similar idea would be what people have built for Iron Man costumes for the hand repulsors.

Materials:
1x Arduino Uno R3
4x 2" Flex Sensors
2x Adafruit Neo Pixel Rings 12 LEDs
1x Adafruit "Music Maker" MP3 Shield for Arduino w/3W Stereo Amp

Reference Matieral:
I've found the following tutorials that provide part of what I'm looking for, at least in terms of code.

Fade LED tutorial - http://arduino.cc/en/Tutorial/Fade
Flex Sensor Tutorial - http://bildr.org/2012/11/flex-sensor-arduino/
MP3 Shield tutorial - https://learn.adafruit.com/adafruit-mus ... bis-player
Adafruit ring tutorial - https://learn.adafruit.com/superhero-po ... t/overview

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Need help with LED, sound, and Flex sensor project.

Post by Franklin97355 »

Sounds interesting. What part of the project do you need help with? Please be specific.

User avatar
GIWillys
 
Posts: 2
Joined: Mon Oct 20, 2014 10:22 am

Re: Need help with LED, sound, and Flex sensor project.

Post by GIWillys »

I think I've got the schematic figured out- though I do have a few questions on it.

Primarily, I'm not sure how to take all the codes provided in the tutorials and have them work together. I played around with the tony stark tutorial and figured out how to change colors, but I want to figure out how to make them fade in when triggered. I'm also unsure on how to code for the flex sensor to trigger the lights.

As for the schematic- the only questions I have involve the LED rings- I'm using 4 AA batteries to power this device, and saw in another post (viewtopic.php?f=8&t=61366) that "The capacitors are not absolutely essential for battery powered projects" - so would I then be fine removing the 1000 farad capacitor for both of the LED rings?

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”