![Mastering Arduino](https://wfqqreader-1252317822.image.myqcloud.com/cover/383/36699383/b_36699383.jpg)
上QQ阅读APP看书,第一时间看更新
Using the DC supply input to power the Arduino
The DC supply input connector can be used with an AC-to-DC power adapter or a battery to power the Arduino. The connector has a female 2.1 mm center-positive plug. While the Arduino operates at 5 volts a maximum input of 20 volts can be used; however, as was stated earlier, it is recommended to not use more than 12V.
We can use an AC-to-DC adjustable power adapter like the one shown in the following photograph to power the Arduino using the DC supply input connector:
![](https://epubservercos.yuewen.com/A0C119/19470388101535306/epubprivate/OEBPS/Images/974d7f0c-4f37-4022-ad01-d4b71072adcf.png?sign=1738834458-5CKmyrikaVXFZYuATXFGrgAHL0mb4AA6-0-438d341b12aba5ba1b6f5da5c667290a)
With this adapter, you can adjust the output power to the desired voltage. You can find power supplies similar to this online or at most stores that sell electronic items.