Lots of LED's / Conductive thread / Basic questions.

I am currently making a jacket that has a back panel covered in 3mm white LED's which are responding to a proximity sensor. I do not know much about electronics /circuits but have drawn up a circuit which may work? (probably not).

So in the diagram, my version of some kind of schematic, the black line is connected to +5 V and the green to ground. The black rectangles at the start of each row are resistors (100 ohms?) and the circles are 3mm white LED's.

All components will be connected using conductive thread and stitched to fabric.

Basically I want to know if this circuit will work? and if not how I could make it work?

It won't work as drawn. What you need is a true electrical schematic (even if just a single row) to tell if what you are trying to do will work or not.
Also what is not clear is if you want single rows or columns to turn on or off or if every led is able to be turned on or off. You are not showing how you will be controlling turn on and turn off controls, your just showing a voltage source being wired to an array of leds, which may or may not be wired is series or parallel.

So more information is needed to help you in any meaningful way.

I will try to draw a schematic for you soon..

And I simply want to for example turn them all on and then all off. Not control individual rows.

It will be controlled from the arduino, for example pin 13 and ground, while the sensor could be attached to +5, Ground and A0?

You need to connect the groups of LEDs in series, not in parallel. The resistor won't work otherwise.

What power supply are you thinking of using? Lighting up a lot of LEDs is much simpler if you can raise the voltage (eg. 24V).

If it was to be controlled by Arduino / Lilypad the maximum voltage I could use would be 5v? or is that wrong?

But i was looking at buying something like this http://www.coolcomponents.co.uk/lithium-polymer-battery-6ah.html

Willverity:
If it was to be controlled by Arduino / Lilypad the maximum voltage I could use would be 5v? or is that wrong?

There's no way you can power than many LEDs directly from the pins of an Arduino. You have to power them via an external supply and use the Arduino to switch them.

What's the resistance of your thread?

What's this for?

Does it have to last a long time? Does it need to be worn for long periods? Is it just a one-off for a parade (burning man)? Does it have to fold up small? Get stuffed into a bag...?

Willverity:
If it was to be controlled by Arduino / Lilypad the maximum voltage I could use would be 5v? or is that wrong?

But i was looking at buying something like this http://www.coolcomponents.co.uk/lithium-polymer-battery-6ah.html

I just saw this thing on hackaday, it totally owns Lilypad....

http://sqrwear.com/

One of those, some LEDs, your battery...might be all you need.

Willverity:
And I simply want to for example turn them all on and then all off. Not control individual rows.

Do you actually need an Arduino to do that?

If you get the power directly from the pins you can power at the most two LEDs per pin or four if you run them at half power.

You need to drive a transistor with the pin and use an external power supply to drive the LEDs.
Look at the first circuit on this page and substitute your LED and resistor for the motor:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html
You can wire several LEDs & resistor pairs in parallel.

Ok thanks thats really useful!

Basically i need the arduino because the lights are responding to a proximity sensor, so if an object is closer the lights will respond ect..

fungus - right now it would be great if it could work even for 10-15 minutes, it does not need to fold or anything

the resistance of the thread is 14 ohms per foot I think..

So there is a way to connect the lights directly to a power source, and have the arduino connected to the same power source? While the arduino is still controlling the lights using transistors to up the voltage?

Just a bit of back up info but this is the sort of effect I want to create:

It is a dress by Hussein Chalayan all while he is using individually controllable RBG LED's I simply want to control a whole panel of white LED's

The technical guy behind that project was:

http://www.waldemeyer.com/

Willverity:
Ok thanks thats really useful!

Basically i need the arduino because the lights are responding to a proximity sensor, so if an object is closer the lights will respond ect..

fungus - right now it would be great if it could work even for 10-15 minutes, it does not need to fold or anything

the resistance of the thread is 14 ohms per foot I think..

So there is a way to connect the lights directly to a power source, and have the arduino connected to the same power source? While the arduino is still controlling the lights using transistors to up the voltage?

It might be much simpler just to buy a bunch of these: http://www.ebay.com/itm/181169358156

Use a booster to get 12V from your battery, to power them: eg.: http://www.ebay.com/itm/171196060694

(nb. You'll have to calculate the amps carefully. Maybe you need two batteries/boosters...)

Now you just need to switch them on/off. One big MOSFET can probably do it all.

Ok well I was considering using this battery:

http://www.coolcomponents.co.uk/lithium-polymer-battery-6ah.html

seems quite powerful and can connect to a lilypad

Still not sure how you can control the leds in response to the proximity sensor when the lights are directly connected to a power source?

No, one end is connected to the power source the other end to a transistor or FET. The arduino controls the switching on or off of this device by a connection to the base ( through a resistor ) or the gate ( if it is a FET ).

Willverity:
Still not sure how you can control the leds in response to the proximity sensor when the lights are directly connected to a power source?

With one of these:
http://www.coolcomponents.co.uk/mosfet-power-control-kit-1149.html

You can also get your voltage booster there:
http://www.coolcomponents.co.uk/adjustable-4-12v-step-up-voltage-regulator-u3v50alv.html

All you need is some 12V LED strips, they don't sell those...

As for the production side - the use of conductive thread for this many LEDs is fraught with short circuits and will be exceptionally time consuming. I suggest you consider using flexible LED strips such as
http://www.superbrightleds.com/cat/flexible-strips-and-bars/

Also check Erik Johnson's project for production ideas.

Have fun!!

Ok thanks, all of this is really useful!

I will now use the LED strips, they look a lot easier and will be quicker all round..

I have drawn up a diagram based upon this example where they are using a MOSFET (SparkFun MOSFET Power control kit, some help needed. - Motors, Mechanics, Power and CNC - Arduino Forum)

I'm not sure where the step up voltage regulator would come into this? are you saying that the voltage regulator could come after the MOSFET, pulling up 5V to 12V and mean that I can run everything from the same power source?

Thanks for all the help everyone!

There a few things wrong with that diagram.
You do not feed 5V into the power jack you feed between 7V and 12V so the board regulates it down to 5V.
You need to connect the grounds of your two power supplies together or it will not work.
See:-
http://www.thebox.myzen.co.uk/Tutorial/Power_Supplies.html

I'm not sure where the step up voltage regulator would come into this?

To replace the 12V supply and drive it from the lower supply. However you can just drive everything from one supply.

That picture is way too big, please read the how to use the forum sticky post.

Ok, I'm still not sure about this? I'm pretty sure this isn't what you mean?

I will resize the image now, sorry about that..