Arduino Forum

Community => Exhibition / Gallery => Topic started by: Muneeb on Oct 04, 2011, 05:17 am

Title: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 04, 2011, 05:17 am
JUST WATCH AND LIKE MY VIDEO

http://www.youtube.com/watch?v=W5Bs7lAUVuM
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: lloyddean on Oct 04, 2011, 06:21 pm
People really should learn what the word "between" means.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 05, 2011, 05:34 am
why knowing the word beween, they all know what is it :o
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: GrooveFlotilla on Oct 06, 2011, 09:29 am
Three and a half minutes to show us a randomly flashing light, and that you can't hold a camera steady?
BTW, the Arduino is programmed in C, not Forth.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 07, 2011, 05:04 am
1. i dont have a tripod, or i could perfectly do as i want normally

2.what's that c thing and fourth thing your talking about

3. im 13 (so i cant understand alot about elecronics, but i still like it)

4. SO, (IM A TOTAL BEGINNER AS I THINK)
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: bld on Oct 07, 2011, 04:36 pm
Looks like you got no resistors on, you need that to not damage the led's and the arduino.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 08, 2011, 09:25 pm
good idea,
but none of my leds were demaged,
exepte the 2 old ones because i used 5 volts on them  :smiley-mr-green:
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Grumpy_Mike on Oct 08, 2011, 10:09 pm
Quote
but none of my leds were demaged,

No but your arduino was damaged. It might still work for a time but you subjected your output pins to too much current and so you have weakened them and made them more likely to fail. The LEDs too will have a reduced life time.
This is why you need a current limiting device with LEDs.
http://www.thebox.myzen.co.uk/Tutorial/LEDs.html (http://www.thebox.myzen.co.uk/Tutorial/LEDs.html)
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 09, 2011, 08:00 pm
ok, i have another question,

if i connect all leds for on pin, and that i connect only one resistor for all leds on the GROUND,

will it still be working
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Grumpy_Mike on Oct 09, 2011, 08:03 pm
Yes but not very well. The brightness of each LED will depend on how many other LEDs are on at the same time. So the brightness will change depending on the number of LEDs that are on.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 09, 2011, 08:57 pm
i just want to know if it wont affect my arduino.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Grumpy_Mike on Oct 09, 2011, 09:08 pm
If you limit the current from the arduino pin to below 40mA per pin and below 200mA overall then your arduino is safe.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 09, 2011, 09:14 pm
thats what i had to know,

by the way, how much one arduino output pin have like voltage,   1.2 volts?
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Grumpy_Mike on Oct 09, 2011, 09:19 pm
Quote
by the way, how much one arduino output pin have like voltage,


I assume you mean what voltage do you get from an arduino when it outputs a logic one.

The answer is at least 4.2V providing that no more than 20mA are being extracted from the output.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 13, 2011, 02:16 am
so is arduino ATmega is way more better then arduino uno?
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Grumpy_Mike on Oct 13, 2011, 01:11 pm
No it is exactly the same processor but with more output pins.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 13, 2011, 10:53 pm
HMMM, thanks
how to make this code using case switch, or case statement, something like that,
because i got a message on youtube (the guy who disliked my video) THAT ITS MORE BETTER for using
case switch thing
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: saadkhalil123 on Oct 14, 2011, 04:38 pm
Keep it up muneeb..
you from Subcontinent (Indo-Pak)?? as you looks like..??
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Muneeb on Oct 15, 2011, 12:53 am
NO, im from pakistan,
do u have facebook
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: Arrch on Oct 15, 2011, 06:49 am

so is arduino ATmega is way more better then arduino uno?

I assume you mean the Arduino Mega?

ATMega is the chip series that Arduino is based on, which includes the Uno. The Arduino Mega doesn't allow more current through the pins, if that's what you are asking.
Title: Re: my 4th arduino project: randomizing led selection JUST WATCH AND LIKE MY VIDEO!!
Post by: saadkhalil123 on Oct 15, 2011, 02:22 pm
Arduino Mega provides you more I/O ports, and its controller is advance and providing more memory but if you have UNO so no worries, i'm sure that at this level it can do your every job to great extent too..
And i'm from Peshawar, No facebook ID, but yes you can contact me via email
saadkhalil123@gmail.com