Hey guys. I did a search and couldn’t find anything, and I’m new so I really hope I put this in the right forum. For a little background info, I’ve just started programming with Arduino and I have, more or less, beginner (intro college classes) experience with java and electronics.
Looking under the product information for the Arduino Uno board or various chips like the ATMega328, it’s mentioned that operating voltage is around 1.8v - 5.0V. Current projects I’ve been working on building are dealing with between 5 and 10 LEDs. I guess what I’m asking for is kind of a “dummies guide” approach to an answer. I’m understanding that the Uno or chips take a max voltage of 5V, correct? The reason I ask this is basically for this reason… let’s say that I’m wanting to hook up 10 LEDs that require 2V each. If those are in series, you’re looking at 20V needed to power the LEDs. I guess most people would be hooking them up like Christmas lights that don’t require the microcontroller, but if I’m blinking the lights to a random blink, fade, or flicker pattern, I’d need the chip. So how do you operate 20V worth of LEDs with a microcontroller that is supposed to take 5V max input voltage and (I assume) outputs a max of 5V on each of its pins?
When I look at the kinds of projects people come up with, various robots, an Arducopter, etc, it seems impossible that these projects are running off of 5V of power. It seems like there has to be a higher input voltage for these projects to work. I’ve seen wall warts that output 9V or 12V, but if you put that into the arduino circuit isn’t it going to blow the microcontroller? And if you’re having to use a 5V regulator to shrink the input voltage down from 12V to 5V, why not just buy the 5V wall wart power supply in the first place?
I know this is probably a really basic answer that most everyone knows and understands, but it seems when you’re looking for beginner guides to this kind of information all you get is “oh just plug in this LED, upload this blink program, and viola!” I haven’t been able to find solid conclusive answers about this from my searching. Some help and understanding on this would be greatly appreciated! I’d really hate to plug in a 9V battery or a 12V wall wart into my microcontroller LED circuit only to end up blowing up the microcontroller :shock: