Alright, I want to control four LEDs individually through my Arduino. I assume I'll have to use the breadboard, but I simply cannot find a tutorial on blinking multiple LEDs, let alone controlling it.
The code, I feel, will be fairly simple. I am lost on the circuitry and schematic and wiring and all that.
I am a bit puzzled about what you don't understand. You get wire, strip a bit of insulation off the end and push it in the hole. Do the same for the other end and make a connection.
I'm sorry, I'm really new to Arduino and I don't understand a lot (obviously).
I mean that I only have a limited number of places to connect a ground wire to. I don't really understand how to connect three to four LEDs to a ground wire...
Wire all the pins together on the bread board and then take one wire from the bread board and connect it to the ground on the arduino. All are at the same potential.
No as long as they are connected together and not connected to any other signal the it physically doesn't matter where they are. It is only important where the electricity can flow.
You just have to do pinMode(LED, OUTPUT), right?
Because I did that
An LED plugged directly into the board is very bright. The first LED plugged into the BreadBoard is half lit. The second into the breadboard is so low that I have to cup my hands to see if it's lit. I'm assuming this is a resistance problem then. So, get smaller resistors?
You need a resistor in line with each LED. What value are you using?
You need to connect each LED to a different output pin and program up each one separately.
lwa223:
You just have to do pinMode(LED, OUTPUT), right?
Because I did that
An LED plugged directly into the board is very bright. The first LED plugged into the BreadBoard is half lit. The second into the breadboard is so low that I have to cup my hands to see if it's lit. I'm assuming this is a resistance problem then. So, get smaller resistors?
Well it's pinMode(PinNumber, OUTPUT); so you have to have declared the pin number correctly for the output pins you are wiring to. Post your code if you want us to see if you did everything correctly. What size resistors are you using, just anyone you grab doesn't work well? 220 to 1,000 should be fine to make it work without burning up an output pin. Higher then that and they can work but will be dimmer.