EasyManuals Logo

Arduino uno User Manual

Arduino uno
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #40 background imageLoading...
Page #40 background image
After you have chosen the right serial port, click the Verify button, and you
should see the following output in the IDEs message area (the Arduino IDE
calls programs sketches):
Build options changed, rebuilding all
Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for
local variables. Maximum is 2,048 bytes.
This means the IDE has successfully compiled the source code into 1,030
bytes of machine code that we can upload to the Arduino. If you see an error
message instead, check whether you have typed in the program correctly.
(When in doubt, download the code from the books website.)
16
Depending on
the Arduino board youre using, the byte maximum may differ. On an Arduino
Duemilanove, its usually 14336, for example. Also, the size of the sketch
might be slightly different depending on the version of the Arduino IDE.
Now click the Upload button, and after a few seconds, you should see the
following output in the message area:
Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for
local variables. Maximum is 2,048 bytes.
This is exactly the same message we got after compiling the program, and it
tells us that the 1,030 bytes of machine code were transferred successfully
to the Arduino. In case of any errors, check whether you have selected the
correct Arduino type and the correct serial port in the Tools menu.
During the upload process, the TX and RX LEDs will flicker for a few seconds.
This is normal, and it happens whenever the Arduino and your computer
communicate via the serial port. When the Arduino sends information, it
turns on the TX LED. When it gets some bits, it turns on the RX LED. Because
the communication is pretty fast, the LEDs start to flicker, and you cannot
identify the transmission of a single byte. (If you can, youre probably an
alien.)
As soon as the code has been transmitted completely, the Arduino executes
it. In our case, this means the status LED starts to blink. It turns on for half
a second, then it turns off for half a second, and so on.
16.
http://www.pragprog.com/titles/msard2
Chapter 1. Welcome to the Arduino 20
report erratum discuss
www.it-ebooks.info

Table of Contents

Other manuals for Arduino uno

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino uno and is the answer not in the manual?

Arduino uno Specifications

General IconGeneral
Form factorArduino
CertificationRoHS, FC, CE
Processor model-
Processor frequency- MHz
Microcontroller modelATmega328
Microcontroller frequency16 MHz
DC input voltage7-12 V
Operating voltage5 V
DC current per I/O pin40 mA
Flash memory0.032 MB
Maximum internal memory- GB
SRAM (Static Random Access Memory)2 KB
EEPROM (Electrically Erasable Programmable Read-Only Memory)1 KB
Wi-FiNo
Number of analog I/O pins6
Number of digital I/O pins14
Weight and Dimensions IconWeight and Dimensions
Board dimensions53.4 x 68.6 mm

Related product manuals