I am adding ardunio projects to a Model Railroad. I am first connecting the Digital output to a terminal block. My questions are this.
- If two flickering LED's have the same script can they be connected to one terminal?
- If I connect two LED's to one terminal do I need two resistors?
- Instead of two resistor can a go to a larger resistor such as 1k?
- Am I correct that I can connect all LED Cathodes to one Ground terminal?
Stay Safe
Harold
It is generally best to think of the arduino (uC) as a logic component and not a power source. Aarg has answered your questions but if you don't make the mental divide between the logic and the 'doing work' part of your circuits you are likely to get into trouble at some point. Generally a few leds here and there for prototyping on a breadboard are ok but as soon as you want to make a real world project you are normally better separating the uC from the things that need power. Your power supply can often be used to power the arduino and the various other parts of your circuit although sometimes you need to step it down for the uC. Look at things like logic level transistors for switching larger loads. These act as switches. The arduino controls the switches which allow the power to go to your loads.