Hi Arduino People :), I'm fairly new to electronics, I have worked with the software for a few years but the physical stuff gets me. I have this design of a table that will detect when a user moves his/her hand over the top, then light up an array of LED's corresponding to the area of detection.
My only problem is I dont want to kill the Arduino I am working with by drawing over 2Amps from my LED's... Before I understood anything about amperage mattering in a curcuit :3 I was going to simply connect photodiodes to different pins on the Arduino, and when it detects an input, output straight to the corresponding LED array. My only problem is, I have 16 LED's per Array, and I have 6 Arrays, 16x6 = 96, once I understood that you cant just draw unlimited amps from a power source, I then realised I had to do, 96x0.02A = 1.92A (Each LED draws 20mA), which has now confused me crazily. Basically what Im saying is I have no clue what Im doing :(.
I got a little help from someone, not much but a little, and he told me that I should connect the Arduino normally up to the 12v DC Adapter, then also connect the LED's to the Adapter but make a switch connect to the LED array and apply the output to the switch to turn on the array of LED's while the photodiode input is on. Like this:
The LED's I am getting have a 20mA recommended current I believe and a 3.2v forward voltage
These are the LED's:
http://www.ebay.com/itm/100-pcs-5mm-Round-white-LED-Super-bright-light-20000MCD-/120785733155?pt=LH_
DefaultDomain_0&hash=item1c1f640623#ht_4978wt_1396
This is the adaptor im thinking of getting because it has alot of Amps? Idk
http://dicksmith.com.au/product/M9985/dick-smith-regulated-ac-adaptor-4-5v-12v-dc-2-5a
Also, once I have done that I would like to make it so the LED's fade out (and In if possible) when the switch turns on the cuircut, I was told by my teacher at school that it is impractical to use just a capacitor so I am really lost
If anyone has any input or help I would greatly appreciate it soon
TL;DR: I am making an LED infrared reacting coffee table where when a user waves his/her hand over the top of it, an array of LED's underneath it light up and fade out when the hand is moved, I need help on understanding how to control the LED's with the arduino, without it exploding or melting or whatever it does when you draw loads of amps