help.

Hello everyone.. I ahve never used one of these boards but i am really wanting to. I am looking to do a few different things. The first one looks rather simple. this would be the final outcome with the LED's on the lower part of the headlight.

2 is to control the flashing of christmas pights with music?

Any help on what boards and so on would be very greatly appriciated.

Thanks

forgot the address for videeo http://www.youtube.com/watch?v=yU2UtRwJQUc

Pick one - they can all be made to work. Turning on LEDs is easy - search for some other recent posts I made where I provided guidance on controlling LEDs in a car. Getting them installed & sealed from the elements will be your challenge. Search for musical lights, see what you find. One way is to basically low-pass filter the music, sample it with A/D, then make a decision on how you want to turn on lights from there. Having a scope to see what your filtered output looks like so you don't end up with just some level that sits there. www.dpscope.com is scope that you can view on a PC. $89.

I'd say since you're planning to build this into something, go for something that does not have header pins installed already so you can attach your own wires in - versus the female header sticking up and finding a way to make permanent connections.

Well the main thing i want to do to stet and to learn mire about the birds is make the board control the LEDs like n the video. But how to I make it have mire than one pattern. I am waiting for my starter kit to arrive so I can start learning all this. But needs to b rather small since it will be on a bike.

Figure out the first pattern first, then go from there. Simplest:

// declare the pins the LEDs will be connected to.
// connection is pin to anode to current limit resister to ground.
// writing HIGH turns the LED on.
byte D0 = 2;  // LED 0
byte D1 = 3;
byte D2 = 4;
byte D3 = 5;
byte D4 = 6;
byte D5 = 7;
byte D6 = 8; 
byte D7 = 9; // LED 7

//maybe do 8 more for the other headlight, have 1 side mirror the other side?

// pins 0-19 are available for definition like this
// I left 0, 1 unused as those are Rx/Tx lines
// D14-D19 are the same as A0-A5.

void setup()
{
// setup the pins as outputs
pinMode (D0, OUTPUT);
pinMode (D1, OUTPUT);
pinMode (D2, OUTPUT);
pinMode (D3, OUTPUT);
pinMode (D4, OUTPUT);
pinMode (D5, OUTPUT);
pinMode (D6, OUTPUT);
pinMode (D7, OUTPUT);
// write then LOW to turn them off
digitalWrite (D0, LOW);
digitalWrite (D1, LOW);
digitalWrite (D2, LOW);
digitalWrite (D3, LOW);
digitalWrite (D4, LOW);
digitalWrite (D5, LOW);
digitalWrite (D6, LOW);
digitalWrite (D7, LOW);

}
void loop()
{
//  now make a pattern
digitalWrite (D0, HIGH);  // turn 1 on
delay (500);  // wait 1/2 second
digitalWrite (D0, LOW); // turn it off
delay (500); // wait 1/2 second
// repeat for the rest
digitalWrite (D1, HIGH);
delay (500);
digitalWrite (D1, LOW);
delay (500);
digitalWrite (D2, HIGH);
delay (500);
digitalWrite (D2, LOW);
delay (500);
digitalWrite (D3, HIGH);
delay (500);
digitalWrite (D3, LOW);
delay (500);
digitalWrite (D4, HIGH);
delay (500);
digitalWrite (D4, LOW);
delay (500);
digitalWrite (D5, HIGH);
delay (500);
digitalWrite (D5, LOW);
delay (500);
digitalWrite (D6, HIGH);
delay (500);
digitalWrite (D6, LOW);
delay (500);
digitalWrite (D7, HIGH);
delay (500);
digitalWrite (D7, LOW);
delay (1000);

} // end of loop

There are plenty of code shortcuts where this could be written with fewer lines. Next add in some kind of input function at the top of void loop() so you can select between different patterns. Then use switch:case code to execute the selected pattern. Maybe add something so you have variable delay between the on/offs. Maybe add some stuff from the Blink without Delay tutorial so you don't need to wait for the pattern to complete before you change it.