Академический Документы
Профессиональный Документы
Культура Документы
It has 14 digital
input/output pins (o !hich " can be used as #$% outputs)& " analog inputs& a 1" %'( cr)stal oscillator& a
U*+ connection& a po!er ,ac-& an I.*# header& and a reset button. It contains e/er)thing needed to
support the microcontroller0 simpl) connect it to a computer !ith a U*+ cable or po!er it !ith a A.1to12.
adapter or batter) to get started. The Uno diers rom all preceding boards in that it does not use the 3T2I
U*+1to1serial dri/er chip. Instead& it eatures the Atmega8U2 programmed as a U*+1to1serial con/erter.
4Uno4 means one in Italian and is named to mar- the upcoming release o Arduino 1.5. The Uno and /ersion
1.5 !ill be the reerence /ersions o Arduno& mo/ing or!ard. The Uno is the latest in a series o U*+
Arduino boards& and the reerence model or the Arduino platorm0 or a comparison !ith pre/ious /ersions&
see the inde6 o Arduino boards.
7A897 iles: arduino-duemilanove-uno-design.zip *chematic: arduino-uno-schematic.pdf
%icrocontroller ATmega328
;perating <oltage =<
Input <oltage (recommended) >112<
Input <oltage (limits) "125<
2igital I/; #ins 14 (o !hich " pro/ide #$% output)
Analog Input #ins "
2. .urrent per I/; #in 45 mA
2. .urrent or 3.3< #in =5 mA
3lash %emor)
32 ?+ o !hich 5.= ?+ used b)
bootloader
*@A% 2 ?+
77#@;% 1 ?+
.loc- *peed 1" %'(
The Arduino Uno can be po!ered /ia the U*+ connection or !ith an e6ternal po!er suppl). The po!er
source is selected automaticall).
76ternal (non1U*+) po!er can come either rom an A.1to12. adapter (!all1!art) or batter). The adapter
can be connected b) plugging a 2.1mm center1positi/e plug into the boardAs po!er ,ac-. 9eads rom a
batter) can be inserted in the 8nd and <in pin headers o the #;$7@ connector.
The board can operate on an e6ternal suppl) o " to 25 /olts. I supplied !ith less than ><& ho!e/er& the =<
pin ma) suppl) less than i/e /olts and the board ma) be unstable. I using more than 12<& the /oltage
regulator ma) o/erheat and damage the board. The recommended range is > to 12 /olts.
The po!er pins are as ollo!s:
VIN. The input /oltage to the Arduino board !hen itAs using an e6ternal po!er source (as opposed to
= /olts rom the U*+ connection or other regulated po!er source). Bou can suppl) /oltage through
this pin& or& i suppl)ing /oltage /ia the po!er ,ac-& access it through this pin.
5V. The regulated po!er suppl) used to po!er the microcontroller and other components on the
board. This can come either rom <IC /ia an on1board regulator& or be supplied b) U*+ or another
regulated =< suppl).
3V3. A 3.3 /olt suppl) generated b) the on1board regulator. %a6imum current dra! is =5 mA.
GND. 8round pins.
The Atmega328 has 32 ?+ o lash memor) or storing code (o !hich 5&= ?+ is used or the bootloader)0 It
has also 2 ?+ o *@A% and 1 ?+ o 77#@;% (!hich can be read and !ritten !ith the 77#@;% librar)).
7ach o the 14 digital pins on the Uno can be used as an input or output& using pin%ode()& digital$rite()& and
digital@ead() unctions. The) operate at = /olts. 7ach pin can pro/ide or recei/e a ma6imum o 45 mA and
has an internal pull1up resistor (disconnected b) deault) o 251=5 -;hms. In addition& some pins ha/e
speciali(ed unctions:
Serial: 0 (RX) and 1 (TX). Used to recei/e (@D) and transmit (TD) TT9 serial data. TThese pins are
connected to the corresponding pins o the ATmega8U2 U*+1to1TT9 *erial chip .
External Interrupts: and 3. These pins can be conigured to trigger an interrupt on a lo! /alue& a
rising or alling edge& or a change in /alue. *ee the attachInterrupt() unction or details.
!"#: 3$ 5$ %$ &$ 10$ and 11. #ro/ide 81bit #$% output !ith the analog$rite() unction.
S!I: 10 (SS)$ 11 (#'SI)$ 1 (#IS')$ 13 (S()). These pins support *#I communication& !hich&
although pro/ided b) the underl)ing hard!are& is not currentl) included in the Arduino language.
*ED: 13. There is a built1in 972 connected to digital pin 13. $hen the pin is 'I8' /alue& the 972 is
on& !hen the pin is 9;$& itAs o.
The Uno has " analog inputs& each o !hich pro/ide 15 bits o resolution (i.e. 1524 dierent /alues). +)
deault the) measure rom ground to = /olts& though is it possible to change the upper end o their range
using the A@73 pin and the analog@eerence() unction. Additionall)& some pins ha/e speciali(ed
unctionalit):
I