Hello, I'm new to Arduino and just recently started using the Arduino starter kit. I've been having trouble with getting parallel circuit to work. I followed the model shown in the book and I made sure that my computer is plugged to the Arduino, but when I push either button the light does not turn on like it's supposed to. Does anyone have an idea on why it doesn't work?
Edit: I added some pictures for my problem, they should be in the reply section. Sorry, this is my first time using forums.
You have not provided enough real information for us to be able to give any intelligent help. Please read the forum guidelines to see what information that we need.
There are a large number of starter kits. There is no way for us to know the content of the tutorial that is giving you trouble.
At a minimum we need to see the code that you are using and a diagram of the wiring. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Please post a schematic. Written descriptions are always more ambiguous than a drawing. Hand drawn, photographed and posted is fine. Include all pin names/numbers, components, their part numbers and/or values and power supplies.
Clear photos of the wiring is also sometimes very helpful.
Try turning the LED 180 degreees. LEDs are polarity sensitive so will only work one way. There are usually 2 ways to tell the polarity. Generally the longer leg will go to the more positive side. And, if you look closely, the LED body will have a flat on one side just above a leg. That side is the negative side.
The LED doesn't seem to be the problem. I tried switching it like you recommended, but it still doesn't work. I also tried to swap the LED I'm using with another one in case it was broken, but still nothing.
What is the value of the current limit resistor on your breadboard? It looks to be 10K (brown, black, orange) which is too high a value. The instruction photo shows a 220 Ohm (red, red, brown) resistor. Try a lower value current limit for the LED and make sure of the correct LED polarity.
I think I see a 10k resistor, which is probably not what the example asked for.
I think I see the flat part of the LED towards the 5volt supply, which is wrong.
Leo..
My kit doesn't seem to have a 220 resistor, but I used a 560 resistor and it looks like it's working better. I'll see if I can find some 220 resistors online. Thanks for the help.