heavymetaliron
Member
Would it be worth ordering these pre-wired LED's for this project like these?
PRE-WIRED LED 3mm & 5mm ULTRABRIGHT 3V-12V | eBay
PRE-WIRED LED 3mm & 5mm ULTRABRIGHT 3V-12V | eBay
Would it be worth ordering these pre-wired LED's for this project like these?
PRE-WIRED LED 3mm & 5mm ULTRABRIGHT 3V-12V | eBay
Hi guys, how can I add a sound to my arduino ?
Are you using arduino mcdonci?
Absolutely NOT. Use this calculator to get the best result! Making these ones are much cheaper too. Buy 100 LEDs (this is a good one) and resistors. I usually have a 12V power supply, 3 LEDs in series (and I put a 120 Ohm resistor before the FIRST LED of each series). You can multiply the number of series.
Good work there xl97. Do you think it will be possible to buy a pcb to a similar design or will we really have to look at making out own? I've never done any pcb design work :eekhey gang--
couple notes on things 'I" learned..
1.) ALWAYS use resistors!.. (always).. this is protect your circuit/leds..etc. Make sure you calculate and use the correct value of resistor though. Again.. this can NOT be done until you have decided on a BATTERY source though..
s mentioned above, putting a few leds in serial will help with the high voltage and need of more current.. (but be careful when the voltage drops..leave some 'room')
2.) Wen talking about 'leds'.. for your eye circuits (like above).. it really depends on HOW you are going about doing this? How many leds? Are they mounted on a PCB? Are trying/hoping to use only 1-Arduino pin to turn on ALL the leds?
Some things to keep in mind..
a.) a single Arduino pin can NOT (usually) drive/power more than 1 led.. (this of course depends on the vF and mA need of the LED you choose to use)
b.) always use a resistor,...'usually' 1 on each led.. so you can limit the current to be appropriate to what each led needs
c.) If you 'are' attempting to drive more than 1 led.. you usually would use a MOSFET or TRANSISTOR.. by using a transistor/mosfet.. (quick -n- dirty summary).. you are letting the battery pack drive your 'led array'... and only using the Arduino to toggle the tranistor/mosfet 'gate' allowing the juice to flow through..
*You 'can' use PWM through a transistor still. (ie: fading..etc)
as far as the 'code' goes.. I think this thread already has several approaches to use.. and this nothing more to add...
(is there anything missing? requested but not implemented?)
as an example: here is a pic of the eye circuit PCB's I made..
![]()
Thanks Guitarakizta,
So will I need two of them one for one way and one for the other way?