Skip to content

Commit 228cfc2

Browse files
committed
Update tutorial content
1 parent 3f9fdf0 commit 228cfc2

File tree

1 file changed

+133
-69
lines changed

1 file changed

+133
-69
lines changed

content/learn/04.electronics/10.power-pins/power-pins.md

Lines changed: 133 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,22 @@ Arduino boards can be powered in several ways; we can use dedicated **connectors
1717
## Powering Alternatives
1818

1919

20-
Arduino boards have **four** ways in which they can be powered:
20+
Arduino boards have **five** options in which they can be powered:
2121

2222
1. Powering via USB connector
2323

24-
2. Powering via a barrel jack connector / JST connector if available on the board
24+
2. Powering via the barrel jack connector (if available on the board)
25+
26+
3. Powering via the onboard battery connector (if available on the board)
2527

26-
3. Powering via the VIN (Voltage In) pin
28+
4. Powering via the VIN (Voltage In) pin
2729

28-
4. Powering via the 3V3/5V pin*
30+
5. Powering via the 3V3/5V pin*
2931

3032
***\*Powering your board via the 3V3/5V pins is not recommended, as it can damage your board's voltage regulator. Read more [here](#3v35v-pin).***
3133

3234

33-
In this article, we will examine the alternatives to power your Arduino more in-depth.
35+
This article will examine the alternatives to power your Arduino more in-depth.
3436

3537

3638
## USB Connector
@@ -65,14 +67,37 @@ Some Arduino boards have an **onboard barrel jack connector** that is used to co
6567
The voltage line from the barrel jack connector is regulated in Arduino boards using their onboard voltage regulator; usually, it is first regulated to 5V and then regulated again to 3V3 in most Arduino boards. The recommended voltage and current ratings for external regulated power supplies connected to the barrel jack connector are summarized in the table below:
6668

6769

68-
| Board | External Power Supply Voltage (V) | External Power Supply Current (A) |
69-
|:----------------------:|:---------------------------------:|:---------------------------------:|
70-
| Arduino UNO Rev3 | 7-12 | 1 |
71-
| Arduino UNO WiFi Rev2 | 4.5-21 | 1.5 |
72-
| Arduino Leonardo | 7-12 | 1 |
73-
| Arduino Mega 2560 Rev3 | 7-12 | 1 |
74-
| Arduino Due | 4.5-21 | 1.5 |
75-
| Arduino Zero | 3-20 | 1 |
70+
| **Board** | **External Power Supply Voltage (V)** | **External Power Supply Current (A)** |
71+
|:----------------------:|:-------------------------------------:|:-------------------------------------:|
72+
| Arduino UNO Rev3 | 7-12 | 1 |
73+
| Arduino UNO WiFi Rev2 | 4.5-21 | 1.5 |
74+
| Arduino Leonardo | 7-12 | 1 |
75+
| Arduino Mega 2560 Rev3 | 7-12 | 1 |
76+
| Arduino Due | 4.5-21 | 1.5 |
77+
| Arduino Zero | 3-20 | 1 |
78+
79+
80+
## Battery Connector
81+
82+
83+
Some Arduino boards also have an **onboard battery connector** to connect a battery to the board and use it as its primary or secondary power supply. The Arduino boards with an onboard battery connector are the following:
84+
85+
86+
- [Arduino Portenta H7](https://store.arduino.cc/collections/boards/products/portenta-h7)
87+
- [Arduino Nicla Sense ME](https://store.arduino.cc/collections/boards/products/nicla-sense-me)
88+
- [Arduino Nicla Vision](https://store.arduino.cc/collections/boards/products/nicla-vision)
89+
- [Arduino MKR NB 1500](https://store.arduino.cc/collections/boards/products/arduino-mkr-nb-1500)
90+
- [Arduino MKR Vidor 4000](https://store.arduino.cc/collections/boards/products/arduino-mkr-vidor-4000)
91+
- [Arduino MKR WiFi 1010](https://store.arduino.cc/collections/boards/products/arduino-mkr-wifi-1010)
92+
- [Arduino MKR ZERO](https://store.arduino.cc/collections/boards/products/arduino-mkr-zero-i2s-bus-sd-for-sound-music-digital-audio-data)
93+
- [Arduino MKR WAN 1310](https://store.arduino.cc/collections/boards/products/arduino-mkr-wan-1310)
94+
- [Arduino MKR GSM 1400](https://store.arduino.cc/collections/boards/products/arduino-mkr-gsm-1400)
95+
96+
97+
***Pro family boards use a 3-pin, 1.2mm SMD ACH battery connector, and MKR family boards use a 2-pin, 2mm SMD PH battery connector.***
98+
99+
100+
The boards mentioned before have an **onboard integrated battery charge management circuit**. This circuit integrates the most common battery and power management functions, like a battery charger, a voltage regulator, and a load switch. **Boards can work with single cell 3V7 Li-Ion and Li-polymer batteries**.
76101

77102

78103
## VIN Pin
@@ -87,31 +112,33 @@ The VIN pin in Arduino boards is a power pin with a dual function. This pin can
87112
The **minimum and maximum voltages** that can be applied to the VIN pin are determined by the onboard voltage regulator on Arduino boards, varying from board to board. Those voltages are summarized in the table below:
88113

89114

90-
| **Board** | **VIN Minimum Voltage (V)** | **VIN Maximum Voltage (V)** |
91-
|:-------------------:|:---------------------------:|:---------------------------:|
92-
| UNO Mini | 4.5 | 21 |
93-
| UNO Rev3 | 7 | 12 |
94-
| UNO WiFi Rev2 | 7 | 12 |
95-
| UNO Rev3 SMD | 7 | 12 |
96-
| Leonardo | 7 | 12 |
97-
| Mega 2560 Rev3 | 7 | 12 |
98-
| Micro | 7 | 12 |
99-
| Zero | 3 | 20 |
100-
| Portenta H7 | 4.1 | 6 |
101-
| Nicla Sense ME | 3.4 | 5.5 |
102-
| Nano RP2040 Connect | 3 | 22 |
103-
| MKR NB 1500 | 3.9 | 17 |
104-
| MKR Vidor 4000 | 3.9 | 17 |
105-
| MKR WiFi 1010 | 3.9 | 17 |
106-
| MKR Zero | 3.3 | 5.5 |
107-
| MKR1000 WIFI | 4.5 | 21 |
108-
| MKR WAN 1300 | 3.3 | 5.5 |
109-
| MKR WAN 1310 | 3.3 | 5.5 |
110-
| Nano | 7 | 12 |
111-
| Nano Every | 4.5 | 21 |
112-
| Nano 33 IoT | 4.5 | 21 |
113-
| Nano 33 BLE | 4.5 | 21 |
114-
| Nano 33 BLE Sense | 4.5 | 21 |
115+
| **Board** | **VIN Voltage (V)** |
116+
|:-------------------:|:-------------------:|
117+
| UNO Mini | 5-18 |
118+
| UNO Rev3 | 7-12 |
119+
| UNO WiFi Rev2 | 7-12 |
120+
| UNO Rev3 SMD | 7-12 |
121+
| Leonardo | 7-12 |
122+
| Mega 2560 Rev3 | 7-12 |
123+
| Due | 7-12 |
124+
| Micro | 7-12 |
125+
| Zero | 5-18 |
126+
| Portenta H7 | 5 |
127+
| Nicla Sense ME | 5 |
128+
| Nano RP2040 Connect | 5-18 |
129+
| MKR NB 1500 | 5-7 |
130+
| MKR GSM 1400 | 5-7 |
131+
| MKR Vidor 4000 | 5-7 |
132+
| MKR WiFi 1010 | 5-7 |
133+
| MKR Zero | 5-5.5 |
134+
| MKR1000 WIFI | 5-5.5 |
135+
| MKR WAN 1300 | 5-5.5 |
136+
| MKR WAN 1310 | 5-7 |
137+
| Nano | 7-12 |
138+
| Nano Every | 7-18 |
139+
| Nano 33 IoT | 5-18 |
140+
| Nano 33 BLE | 5-18 |
141+
| Nano 33 BLE Sense | 5-18 |
115142

116143

117144
## 3V3/5V Pin
@@ -126,34 +153,71 @@ The **minimum and maximum voltages** that can be applied to the VIN pin are dete
126153
Although 3V3 and 5V pins can be used as power inputs, **it is not recommended** if no power supply is connected through the USB port, the barrel jack connector, or the VIN pin. 3V3 and 5V pins are connected directly to the onboard voltage regulator's output pin. Suppose the voltage in the voltage regulator output pin becomes higher than the input voltage of the voltage regulator. In that case, a large current may flow into the voltage regulator from its output pin to its input pin. That large current can permanently damage your board's voltage regulator.
127154

128155

129-
***It is safe but not recommended to apply a voltage to the 3V3 or 5V pins that are not higher than the input voltage of the voltage regulators.***
130-
131-
132-
The **maximum current** drawn from the 3V3 and 5V pins are summarized below. Notice that this current can be provided by the 3V3 and 5V onboard voltage regulators or from the power source connected to the board:
133-
134-
135-
| **Board** | **Vin Minimum Voltage (V)** | **Vin Maximum Voltage (V)** |
136-
|:-------------------:|:---------------------------:|:---------------------------:|
137-
| UNO Mini | 4.5 | 21 |
138-
| UNO Rev3 | 7 | 12 |
139-
| UNO WiFi Rev2 | 7 | 12 |
140-
| UNO Rev3 SMD | 7 | 12 |
141-
| Leonardo | 7 | 12 |
142-
| Mega 2560 Rev3 | 7 | 12 |
143-
| Micro | 7 | 12 |
144-
| Zero | 3 | 20 |
145-
| Portenta H7 | 4.1 | 6 |
146-
| Nicla Sense ME* | 3.4 | 5.5 |
147-
| Nano RP2040 Connect | 3 | 22 |
148-
| MKR NB 1500 | 3.9 | 17 |
149-
| MKR Vidor 4000 | 3.9 | 17 |
150-
| MKR WiFi 1010 | 3.9 | 17 |
151-
| MKR Zero | 3.3 | 5.5 |
152-
| MKR1000 WIFI | 4.5 | 21 |
153-
| MKR WAN 1300 | 3.3 | 5.5 |
154-
| MKR WAN 1310 | 3.3 | 5.5 |
155-
| Nano | 7 | 12 |
156-
| Nano Every | 4.5 | 21 |
157-
| Nano 33 IoT | 4.5 | 21 |
158-
| Nano 33 BLE | 4.5 | 21 |
159-
| Nano 33 BLE Sense | 4.5 | 21 |
156+
***It is safe **but not recommended** to apply a voltage to the 3V3 or 5V pins that are not higher than the input voltage of the voltage regulators.***
157+
158+
159+
The **maximum current** that can be drawn from the 3V3 and 5V pins when working as power outputs are summarized below. Notice that these currents can be provided by the 3V3 and 5V onboard voltage regulators, or from the power source connected to the board:
160+
161+
162+
| **Board** | **5V Pin Output Current (A)** | **3V3 Pin Output Current (A)** |
163+
|:-------------------:|:-----------------------------:|:------------------------------:|
164+
| UNO Mini | | |
165+
| UNO Rev3 | | |
166+
| UNO WiFi Rev2 | | |
167+
| UNO Rev3 SMD | | |
168+
| Leonardo | | |
169+
| Mega 2560 Rev3 | | |
170+
| Micro | | |
171+
| Zero | | |
172+
| Portenta H7 | | |
173+
| Nicla Sense ME* | | |
174+
| Nano RP2040 Connect | | |
175+
| MKR NB 1500 | | |
176+
| MKR Vidor 4000 | | |
177+
| MKR WiFi 1010 | | |
178+
| MKR Zero | | |
179+
| MKR1000 WIFI | | |
180+
| MKR WAN 1300 | | |
181+
| MKR WAN 1310 | | |
182+
| Nano | | |
183+
| Nano Every | | |
184+
| Nano 33 IoT | | |
185+
| Nano 33 BLE | | |
186+
| Nano 33 BLE Sense | | |
187+
188+
189+
## Choosing a Power Input
190+
191+
192+
Now that we know more about the powering alternatives of Arduino boards, we can answer that question we made at the beginning of this article about what power connector or pin we should use. When choosing a power connector or pin for a specific application or project, we should consider the **available power source** and the **power budget** of our application or project.
193+
194+
***A power budget analyzes how much power our application or project requires for its correct working.***
195+
196+
Let's talk about when it is recommended to use each of the **options** ways in which Arduino boards can be powered:
197+
198+
### USB Connector
199+
200+
This option is often recommended when experimenting with small loads that requires 5V, current would be constrained by USB host device where the board is connected.
201+
202+
203+
### Barrel Jack Connector
204+
205+
206+
This option is recommended when a regulated power supply with a barrel jack connector is available. Current is constrained by the regulated power supply and the onboard voltage regulator.
207+
208+
209+
### Battery Connector
210+
211+
212+
This option is recommended for portable projects, or projects that need a secondary o backup power supply. Currently, 3V7 Li-Ion and Li-polymer batteries are supported in
213+
214+
215+
### VIN Pin
216+
217+
This option is recommended when a regulated power supply with out a barrel jack connector is available. Take into account that using VIN pin should be made carefully since this pin does not have reverse polarity protection.
218+
219+
220+
## 3V3/5V Pin
221+
222+
223+
This option is not recommended since the risk of damaging the onboard voltage regulator is high. It can be done safely, just remember to not

0 commit comments

Comments
 (0)