The box thingy is a Mircopuck driver, that is a DC-DC converter that can be configured as a buck driver or a boost driver. A buck driver will lower the supply voltage down to the LED's Vf (forward voltage) and a boost driver will increase the supply voltage (Vin) to the LED's Vf.Like I said, I'm new to electronics. What is the box thing? Also, my LED's are not like that one in the picture. They are like a small rounded cylinder with two leads, one long, and one short.
Thanks!
It is only needed for low-voltage coloured LEDs. If you want to power white or blue LEDs, two AAs in series will only give enough volts for them to work way beyond spec. To get full power you need three AAs and the appropriate resistor.I thought a resistor was needed...