So, I can get 3 LEDs to fade, controlled by unique digital pins. I understand the code behind it. I dont understand the voltage. I thought the Arduino was 5volts. So...each digital bin is delivering 5 volts, how is there enough voltage to do this? Is is wired in parallel...What you can do is look for a tutorial about DC fundamentals involving ohms law to explain the inseparable interrelationship between voltage, current, and resistance. It's not a hard concept to learn and the math is nice and gentle, but it will clearly answer your question better then just memorizing someone facts you might read here. As one gains experience in electronics one just starts thinking in ohms law without any need to reference the theory.I want to connect 9 LEDs and fade them, I want to group them in 3. I want to provide an external power source so I dont need my computer. I want to run a motor off of my Arudino and control the speed. How can this simply be done? Id like it to be a 5volt motor.There are examples in the arduino playground section on controlling motors using PWM signals via the analogWrite() command and using a switching transistor to control a simple DC motor. It's not difficult.THANKS SO MUCH, IM LOVING LEARNING THIS STUFF Yes, an arduino board is a very good way to enter into the world of electronics as a hobby.Good luck on your journeyLefty
thanks lefty. Yes, I understand ohms law. its very helpful.WHat I want to know is if I plug in a 9 volt battery into the Arduino and I have a variety of LEDs and resistors, will the resistors absorb all the voltage that the 2-3 volts each LED does not. thanks
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16