Pages: [1]   Go Down
Author Topic: Grounding Multiple LEDs  (Read 1254 times)
0 Members and 1 Guest are viewing this topic.
Liverpool, England
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Physics and Computing Student
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I'm new to Arduino and new to Electronics and circuit building, and I'm planning as one of my first projects to connect a few, probably three, LEDs to my Arduino, and trigger them to blink at different times. I know how to handle the programming side of things, but I just need some help on how to connect the LEDs.

I'm going to connect each LED to its own output pin, perhaps 10, 11 and 12 for example, and place a 1kΩ resistor between each LEDs anode and its assigned output pin. However, I'm a little confused about where to ground each LED. Is it okay to connect all three of the LED's cathodes to a single wire, going into a single ground pin, or will I have to make use of three ground pins?

Thanks in advance,

Sean. smiley
« Last Edit: December 26, 2011, 05:55:38 pm by Sean Duffy » Logged

Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is it okay to connect all three of the LED's cathodes to a single wire, going into a single ground pin, or will I have to make use of three ground pins?
Yes, connect the three cathodes together and use one wire to ground. All the arduino's ground pins are connected to one Gnd connection of the power supply, so it makes no difference how many wires it goes through to get there.

Quote
and place a 1kΩ resistor between each LEDs anode and its assigned output pin
Good to see you remembered the resistors! If the LEDs are too dim, try a 330 ohm resistor.

Onions.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Liverpool, England
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Physics and Computing Student
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the reply, I'll bear that in mind!
Logged

Pages: [1]   Go Up
Jump to: