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 #48 background imageLoading...
Page #48 background image
The Arduino Programming Language
People sometimes get irritated when it comes to the language the Arduino gets pro-
grammed in. Thats mainly because the typical sample sketches look as if they were
written in a language that was exclusively designed for programming the Arduino.
But thats not the caseit is plain old C++ (which implies that it supports C, too).
Most Arduino boards use an AVR microcontroller designed by a company named
Atmel. (Atmel says that the name AVR doesnt stand for anything.) These microcon-
trollers are very popular, and many hardware projects use them. One reason for their
popularity is the excellent tool chain that comes with them. Based on the GNU C++
compiler tools, it is optimized for generating code for AVR microcontrollers.
That means you feed C++ code to the compiler that is not translated into machine
code for your computer, but for an AVR microcontroller. This technique is called
cross-compiling and is the usual way to program embedded devices.
Using Serial Ports
Arduino makes many stand-alone applicationsprojects that do not involve
any additional computerspossible. In such cases you need to connect the
Arduino to a computer once to upload the software, and after that, it needs
only a power supply. More often, people use the Arduino to enhance the
capabilities of a computer using sensors or by giving access to additional
hardware. Usually, you control external hardware via a serial port, so it is a
good idea to learn how to communicate serially with the Arduino.
Although the standards for serial communication have changed over the past
years (for example, we use USB today, and our computers no longer have
RS232 connectors), the basic working principles remain the same. In the
simplest case, we can connect two devices using only three wires: a common
ground, a line for transmitting data (TX), and one for receiving data (RX).
Device #1
GND
TX
RX
Device #2
GND
TX
RX
Serial communication might sound old-school, but its still the preferred way
for hardware devices to communicate. The S in USB stands for serial”—and
when was the last time you saw a parallel port? (Perhaps this is a good time
to clean up the garage and throw out that old PC you wanted to turn into a
media center someday.)
Chapter 2. Creating Bigger Projects with the Arduino 28
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