Go Down

Topic: Lilypad MP3, basic programming questions (Read 719 times) previous topic - next topic

viemaob

Hi,
I have several questions on the use of the Lilypad MP3, hope that I can find some help.

1) I am interested if it is possible to trigger several files than 5 - in terms of playing various random files by closing one switch on the board. So to say to have a bank of audio files for each inputs…?

2) Instead of ordinary switches I would rather use either capacitive sensing or variable resistance of some kind. If anybody has done such projects, I would be happy to hear about the results and the tips for changes in the code.

3) I also might want to use several inputs than five - what would be the best way of multiplying the inputs: by using several of the microcontrollers running individually or is there another way when using only one of the Lilypad MP3's…? Or would another microcontroller serve better?

4) I am aiming for a no-computer setup, and also lipo batteries are a plus, as i want to avoid using power cords. and the running time is only 3 days, so i am thinking that a 2000mAh lipo would be fine…?

Any thorough explanation I would appreciate (I am still a learner)..!
Thanks.

Madh2orat

I can't help you with much as I am just beginning learning to use arduino, (I'm working on a project with the lilypad mp3 as well), however I have come across how to use multiple buttons on one input.  Here are 2 links that I have found describing this.  In a nutshell, you use an analog input pin and resistors so when a button is pressed a specific value is read.

The instructable is a basic 5 buttons on one input example.
http://www.instructables.com/id/How-to-access-5-buttons-through-1-Arduino-input/?ALLSTEPS

The forum posting is more advanced, and explains how to implement 6 buttons and be able to use 2 button combinations (21 unique values)
http://forum.arduino.cc/index.php/topic,8558.0.html


Go Up