Now, there’s a lot of details here I am going over rather quickly. But just in case you accidentally use a center negative plug and reverse the polarity – the circuit has a diode that protects against that. It important that the plug you use is center positive. The DC jack is 2.1mm center-positive plug. The sweet spot is more like 7-12 volts, if your power supply is much higher than that, you’re wasting a lot of power on that 5V regulator in the form of heat dissipation. The 5V regulator requires a min input voltage of 6.2 volts and can take a maximum input voltage of 20V – so the power supply you hook up to your DC jack needs to be in that range for voltage. What’s so special about 5V? Well 5V is right in the range the microcontrollers on the Arduino board need in order to operate. Let’s say you hook up a wall wort power supply, or a battery pack to that DC jack – what happens? Per the diagram you can see it powers the 5V regulator on the board. Let’s start with powering an Arduino with the DC jack. In between we have some components that I’ll explain shortly. On the right side we have the 5V and 3.3V pins. And for the “VIN PIN”, that just the hole marked Vin on the power rail of an Arduino Board. When you see “USB PORT”, just imagine that’s where you plug your USB cable in, for “DC JACK” – imagine that where you plug your DC Jack in. It seems like a lot going on – to simplify this a bit further we’ll reduce it down to this block diagram. We are going to use the Arduino UNO schematic to inform our discussion – we’ll be looking at the power section. In our discussion here, we are going to use an Arduino UNO as the base example – much of what we cover can be extended to other common Arduino boards, but in each case you’ll need to double check for your specific model. In this lesson we are going to talk about three ways to power Arduino boards, namely the…Įach method has some quirks and limits you should be aware of, and we’ll do our best to highlight each!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |