Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arduino Essentials
Arduino Essentials

Arduino Essentials: Enter the world of Arduino and its peripherals and start creating interesting projects

eBook
€13.98 €19.99
Paperback
€24.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Arduino Essentials

Chapter 1. Meeting the Arduino Family

In this first chapter, we are going to take a look at the microcontroller scene before the Arduino platform was presented. We'll see the changes it underwent that have made it a great success and that have led to it being widely adopted by hobbyists and technology lovers all around the world.

We will also meet some of the more popular Arduino models and compare their characteristics and features so that you can decide which model can be used in your next project.

A game changer

The introduction, in 2005, of the Arduino platform brought a totally new panorama to the microcontroller scene of the moment.

By that time, working with microcontrollers implied to pay quite a big price just for the microcontroller-integrated circuit itself and all necessary components and circuitry needed to make it work, and even to pay a much bigger price for the development tools needed to program it.

These development tools were rarely made publicly available and in most cases, they were mostly based on proprietary languages or, in the best of cases, in the assembly language, none of which were especially easy to learn for nonadvanced users. On the other hand, the user support was normally restricted and limited only to the manufacturer's microcontroller.

The Arduino platform changed every one of these aspects.

To begin with, it is an open hardware platform that is not only limited to the microcontroller integrated circuit, but it also provides a full board with all the necessary elements to power it, make it work, and connect it to a computer at a fraction of the price of most other microcontrollers available in the market at the moment.

On the other hand, the development environment was made freely available from the first moment as an open source project, consisting of a very simple and intuitive editor with its integrated compiler, based on a subset of the standard, well-known, and documented C language, widely available for many other platforms and architectures. We could say that the Arduino Integrated Development Environment (IDE) is just C with a friendly wrapper around it.

Last but not least, the Arduino online community was born: it allows thousands of users to share their ideas, projects, and philosophy, which makes them all support each other.

We are going to introduce some of the more popular Arduino models and compare their features and technical characteristics so that you can decide which model best suits the needs of your project.

Common features

The whole Arduino family, except Arduino Due, is based on 8-bit Atmel AVR microcontrollers, specifically those in the megaAVR series, ranging from the basic ATmega168 series used in the first Diecimila and Duemilanove models to the powerful ATmega2560 series of the latest Mega 2560 boards.

Apart from the ATmega series, the Arduino board incorporates every other electronic component necessary to make the microcontroller operate, including a crystal oscillator to set the working frequency that makes it run at up to 16 MHz.

Most models come with a USB port that enables you to connect the board directly to your computer so that you can program the microcontroller. The smaller models replace the USB connector with a direct RS-232 connection, which forces you to use a special USB-to-serial cable to connect the board to your computer.

Talking about powering, almost every model offers a power regulator that allows you to power the board directly from the USB port or through the jack connector, to power the board from an external power source such as a battery pack or a wall cube.

Finally, let's see a characteristic that also was an innovation when it was first introduced. The Arduino boards expose the microcontroller pins to the user through the use of two rows of female 0.1 inch headers, which makes it very convenient to connect the external components of your project, usually mounted on a breadboard, to your Arduino board with the simple use of jumper wires.

This distribution of external pin headers has made it possible to develop quite a bunch of different shields, which we will talk about later, that allow subassemblies to be easily connected to the main Arduino board.

A good number of models share the external footprint that has made the Arduino board so easily recognizable, including Arduino Diecimila, Duemilanove, Uno, Ethernet, and Yún.

For me as a programmer, one of the most important features is the fact that all members of the family share the same integrated development environment and language. This is the real common feature for all families.

Given the open hardware conception of the Arduino platform, the Arduino team has made publicly available the schematics, reference documentation, and even the EAGLE CAD files of all their boards.

For a full comparison of all Arduino boards' features and technical characteristics, you can visit the Arduino site at http://arduino.cc/en/Products.Compare.

Let's now take a closer look at the most popular board models and their specific features and configurations.

Arduino Uno

The Arduino Uno model is the evolution of the first Arduino board through the Arduino Diecimila and Duemilanove models.

A small footprint and a good pack of devices and available pins has made it the favorite board for beginners and advanced users who don't need great specifications to prototype and develop micro-controlled projects.

It is the most basic and cheapest model and is, in some way, the board that has made the Arduino platform what it is today.

Arduino Uno

Arduino Uno

It is based on the ATmega328 series, the descendant of the first ATmega168 series used in its older brothers, the Diecimila and the Duemilanove models. It works at a frequency of 16 MHz thanks to the use of a ceramic resonator, and offers a total of 32 KB of flash memory available to store your programs.

The Arduino Uno model exposes a total of 20 pins, 14 of which are digital input/output pins and 6 are analog inputs. Of the 14 digital pins, 6 can be used as analog output thanks to the included Pulse Width Modulation (PWM) mechanism, but we will talk in more detail about this in Chapter 4, Controlling Outputs Softly with Analog Outputs.

Some other peripherals offered by the board include serial and SPI communication ports, two external interrupts, an integrated LED (connected to pin 13), and an external Reset button.

The board comes with a type B USB connector that makes it very convenient to connect to your computer or even power it from any USB output, including your own PC or any wall cube designed to serve as a USB charger.

As mentioned in the preceding section, it also comes with a jack connector that allows it to be powered from an external power source, such as a battery or an AC/DC adapter.

In any case, an input voltage between 7V and 12V is recommended to power the board, even though 6V to 20V can be accepted.

For a more detailed specification of its characteristics and available peripherals, you can visit the Arduino site and take a look at its product page at http://arduino.cc/en/Main/ArduinoBoardUno.

It is the perfect board to get introduced to the Arduino platform—available through a lot of different providers, some of which could be really close to you—or through the new Arduino Store at http://store.arduino.cc. Its price is around $25, which is quite a cheap price for the brain of your next project.

Arduino Mega 2560

Traditionally, the Arduino Mega 2560 model has been the offer the Arduino team made for those who need a more powerful board with a wider number of pins than Diecimila or Duemilanove.

Its footprint differs from that of Arduino Uno, making it a little longer than its little brother.

Arduino Mega 2560

Arduino Mega 2560

The Mega 2560 model is based on the super powerful ATmega2560 microcontroller, just like Arduino Uno, which works at a clock frequency of 16 MHz. However, unlike its little brother, it comes equipped with a vast number of peripherals.

One of the biggest advantages of the Mega 2560 model is the size of its flash memory, which goes up to 256 KB, equivalent to eight times the memory space offered by Arduino Uno, making the Arduino Mega 2560 model the target platform for those projects that need complex software to manage them.

On the other side, it has no less than 54 digital input/output pins, of which you can use 15 for analog output through the use of PWM and 16 analog input pins.

Related to its other characteristics, the Mega model comes with four serial communication ports, an SPI communication port, and a total of six different hardware interrupts.

Just like the Uno model, the Mega model implements one integrated LED and external Reset button.

When talking about powering the board, the Mega model can be powered just like the Uno model, that is, through the USB connector or through the external jack, supporting the same input voltage ranges as the Uno model (7V-12V recommended but 6V-20V accepted).

You can find its detailed specifications, schematics, and some more reference documentation about its product page on the Arduino site at http://arduino.cc/en/Main/ArduinoBoardMega2560.

This board is ideal for those who have to deal with projects that have wider requirements, in particular, those related to the number of input/output pins to interact with external devices and to the flash memory size needed to store the programs, allowing for much more complex programs than the Arduino Uno model.

Arduino Ethernet

On the lines of the Internet of Things, the Arduino team presented the Arduino Ethernet board, which included an Ethernet interface, making it able to develop projects that were connected to an Ethernet network or to the Internet itself.

Arduino Ethernet

Arduino Ethernet

The board is developed around the same ATmega328 microcontroller that is present in the Arduino Uno model, so the memory size and other characteristics are the same as in the Uno model.

The inclusion of the Ethernet module, however, forced some restrictions on the Arduino Ethernet model.

On one hand—and although the number of digital input/output pins is still 14 just like in the Uno board—some of them are reserved to interface with the Ethernet module, allowing only the use of nine of them for your project. On the other hand, the Arduino Ethernet board doesn't include a USB port. So, you have to use a dedicated six-male pin connector to upload your programs to the microcontroller through the use of a special USB-to-serial converter, usually known as an FTDI cable, due to the use of the FT232RQ chip around which the converter is normally built.

The Arduino Ethernet model comes with an integrated Micro SD card reader that allows you to store files and resources of a bigger size that are going to be served over the network. To get access to the SD card, the use of an external library is needed.

The full characteristics list of the Arduino Ethernet is on its product page on the Arduino site at http://arduino.cc/en/Main/ArduinoBoardEthernet.

Given that there is no USB port on the Arduino Ethernet board, the possibilities for powering the board are a little different. You can power your board through the external jack from an external power source by the use of the previously mentioned FTDI cable from a USB port or by the additional Power over Ethernet (PoE) module, which allows the board to draw current from the Ethernet connection itself, requiring your project to only be connected to the Ethernet network in order to start working.

The PoE module is not available as an add-on or as a shield, but it has to be ordered with your Arduino Ethernet board when you buy it. You can take a closer look at its product page in the Arduino Store at http://store.arduino.cc/product/A000061.

LilyPad Arduino

Apart from the previously mentioned Internet of Things, currently there is another line of product development called wearables, consisting of products you can wear as part of your clothing and that constantly interact with you and your environment as if they were an enhancement of your own body.

In this line of wearable technologies, the Arduino family incorporated a design by Leah Buechley, the LilyPad Arduino board, which is a little, round microcontroller device aimed at projects where it could be sewn to textile with conductive thread acting like normal wires.

LilyPad Arduino

Arduino LilyPad subfamily

The LilyPad Arduino board is a little subfamily of boards by itself with four different models and specifications:

  • LilyPad Arduino
  • LilyPad Arduino USB
  • LilyPad Arduino Simple
  • LilyPad Arduino SimpleSnap

All of them come with different microcontrollers, ranging from the ATmega168V series to the new Atmega32u4 series with flash memory sizes between 16 KB and 32 KB.

They all are able to work under low voltages to reduce power consumption, and that is why they all work at a clock frequency of 8 MHz, which is half the frequency of its bigger brothers.

One thing to consider when choosing one of these models for your project is that none of them come with a serial communication port in case you need it.

The small dimension of the LilyPad Arduino board (approximately 50 mm in diameter) considerably reduces the number of pins and features it can offer. Only the LilyPad Arduino board has the same specifications as the Arduino Uno board with respect to the number of available pins, that is, 14 digital input/output pins with six PWM and six analog inputs. The rest of the LilyPad boards offer only nine digital input/output pins, of which four can be used as the analog output with PWM and four others that can be used as analog inputs.

In the case of the LilyPad subfamily, the available pins are not offered via a female header as is the case with other Arduino boards; in this case, they offer a number of silver-plated holes that allow you to sew the conductive thread to them. In the case of the LilyPad Arduino SimpleSnap board, the holes are replaced by snaps that easily allow you to connect and disconnect the external devices to and from the main Arduino board.

With respect to the connection to your computer, they also have to restrict the USB port and change it for a six-male pin header, having to connect the board to the computer through the FTDI cable mentioned previously. Only the LilyPad Arduino USB offers a micro USB port.

As a unique case, the LilyPad Arduino SimpleSnap board also incorporates a lithium polymer battery and all the circuitry required to charge it.

All of them can be hand washed except for the LilyPad Arduino SimpleSnap board, due to its battery, but in this case, disconnecting it from the textile should be easy, thanks to the integrated snaps.

You can find a complete list of features of every model on its own product page on the Arduino site at http://arduino.cc/en/Main/ArduinoBoardLilyPad for the LilyPad board, http://arduino.cc/en/Main/ArduinoBoardLilyPadUSB for the LilyPad USB board, http://arduino.cc/en/Main/ArduinoBoardLilyPadSimple for the LilyPad Simple board, and http://arduino.cc/en/Main/ArduinoLilyPadSimpleSnap for the LilyPad SimpleSnap board.

In definite terms, the small dimensions and reduced power consumption of this Arduino board make it ideal to develop wearable projects, where they can be directly integrated with clothes and are going to be running for long periods of time.

Arduino Yún

One of the latest incorporations to the family has been the Arduino Yún board, bringing a slightly different approach to the concept of the Internet of Things.

In this case, the board incorporates two different interconnected sections. On one hand, it has a usual Arduino board with its external pins and all the devices that we have already seen, but on the other hand, it is a totally operative Linux device with Ethernet and Wi-Fi support.

This way, you can build projects that benefit from both parts: the Arduino ease of use to interact with the real world and the power and connectivity options of a Linux device in which you can develop your own shell scripts or small programs with languages such as Python.

Arduino Yún

Arduino Yún

Taking a more detailed look at the technical specifications of this new board, we can realize the power we get to develop real Internet of Things projects.

With respect to the Arduino side, it comes equipped with an ATmega32u4 board running at 16 MHz, exposing 20 digital input/output pins (seven of which can allow PWM to be used as analog outputs) and no less than 12 analog inputs.

On the Linux side, it runs on an Atheros AR9331 chip at a clock frequency of 400 MHz with an internal flash memory that acts as its main hard disk with a total size of 16 MB of which around 9 MB is dedicated to store OpenWrt, the Linux operating system inside the Yún. If you need more space to store resources needed by your projects, Arduino Yún is also equipped with a micro SD card slot that you can use as additional storage.

The whole device can be powered through a micro USB connector, but not having a voltage regulator makes it difficult, but not impossible, to power it from an external battery pack.

You can visit its product page so that you can get a full picture of this model board at http://arduino.cc/en/Main/ArduinoBoardYun.

The Arduino Yún board is, no doubt, a perfect device to develop not only physical projects, but also to connect them to the network.

Arduino Mini, Micro, and Nano

Another very popular subfamily inside the bigger Arduino family is the one formed by the Arduino Micro, the Arduino Mini, and the Arduino Nano boards; the following screenshot follows the same order as the one mentioned:

Arduino Mini, Micro, and Nano

Arduino Micro, Mini, and Nano

These little boards, not much bigger than a postal stamp (approximately 2 inch by 0.75 inch), get, in most cases, very similar characteristics to that of their bigger brothers. They are just packaged in such a way that makes them ideal to connect directly to the breadboard or in projects where space is a must and the controller has to be small enough to be embedded in the general assembly.

To be more specific with its technical specifications, the Arduino Micro board comes with an ATmega32u4 microcontroller and both the Mini and Nano boards come with an ATmega328 chip; all of them run at a clock frequency of 16 MHz and come equipped with a flash memory of 32 KB to store your sketches.

With respect to the available pins, both the Mini and the Nano boards offer just the same number of pins as the Uno board but with two more analog inputs, making a total of eight. The Arduino Micro board goes even further with 20 digital input/output pins, seven of which can use PWM to act as analog outputs, and a total of 12 analog inputs.

Talking about how to power the boards, the Arduino Mini board simply doesn't have any facility, as it's your responsibility to provide a regulated power supply to allow the board to run. Both the Arduino Micro and Arduino Nano boards come with an integrated USB port with mini and micro USB connectors that you can use to power the board or even the final project from a typical USB phone charger.

Finally, except for the Mini board, the Micro and Nano boards come with a serial port that you can use to communicate your project with other serial capable devices.

They all share the same philosophy: to develop just the core of the microcontroller so that the size of the board can be reduced at a maximum, allowing for smaller boards suitable to be incorporated in your projects without using as much space as other bigger boards of the family.

Other Arduino family members

If all the boards shown at the moment don't seem enough to you or you still haven't found the model that best suits the needs of your next project, don't worry. The Arduino team has also developed some other models with very different characteristics and orientations, but for the purpose of this book, they are all similar to the models already shown. They share the same general philosophy and, perhaps more importantly, can be programmed in just the same way with just the same tool.

In any case, we will just show them briefly without entering into too much detail and just revealing some of their more remarkable features and uses.

Esplora

The Esplora board is the all-in-one board of the family. The main difference between this board and the rest of its brothers is that this board is not only a microcontroller board, but also a good selection of different sensors and input devices, such as a temperature sensor, accelerometer, microphone, or a joystick and some outputs, such as sound and light.

It is designed for those who have little or no previous electronic knowledge but want to start working with the Arduino platform from the very first moment.

Esplora

Arduino Esplora

The Esplora product page contains its full characteristics' list and information at http://arduino.cc/en/Main/ArduinoBoardEsplora.

Arduino Robot

Robotics is one of the disciplines that is constantly pushing forward and demanding for richer and more powerful advances in the microcontrollers arena, because as the microcontroller has more features, it is easier to build a robot with it.

As it is a very attractive discipline for kids and students, it is the perfect introduction to electronics and their microcontrollers.

This is why the Arduino team developed the Arduino Robot model, a fully featured, totally operable robot that shares the microcontroller it is based on with the other boards and, of course, the language it will be programmed in and the tool we will use to program it.

Arduino Robot

Arduino Robot

To be precise, the Arduino Robot model is really composed of two interconnected boards, a motor and a control board, each with its own microcontroller and dedicated to very different tasks.

Among others, it is equipped with LCD, compass, speaker, a bunch of LEDs, five buttons in the control board, IR sensors, motor drivers, motors, and wheels in the motor board.

You might be interested in taking a look at the Arduino Robot product page at http://arduino.cc/en/Main/Robot.

As discussed, Arduino Robot is a totally operative robot that you can program just the same way you do with your other Arduino boards by squeezing a little more off your budget.

Arduino Due

The last board that I will show you is the Arduino Due board, which in some way, is the evolution of the Arduino Mega board but with an Atmel SAM3X8E ARM Cortex-M3 CPU, making it the only family member capable of 32-bit operation.

It runs at a clock frequency of 84 MHz and has an astonishing list of features among which the standout is its 512 KB of flash memory, 54 digital input/output pins, or four serial ports.

Another remarkable characteristic of the Due board is that it operates at 3.3V, being the only member of the family that operates at this voltage. From the point of view of powering the board, you shouldn't care because it comes with a voltage regulator that allows you to power the board from the USB port from an external battery or power source, but it can be a serious problem if you plan to use a shield designed for another member of the family that operates at 5V.

Arduino Due

Arduino Due

Unofficial boards

Given the open hardware nature of the Arduino project, there are now a lot of different boards. All of them are compatible with the original Arduino board, and some of them even extend the characteristics of its predecessor.

In some cases, they can even be found at just a fraction of the price of the original Arduino board, and, sadly, also at a fraction of the quality in other cases, so be especially careful when choosing your provider.

For a complete list of some of these Arduino clones, you can take a look at this list at Wikipedia: http://en.wikipedia.org/wiki/List_of_Arduino_boards_and_compatible_systems

Shields

There is a group of boards that, not being Arduino boards, are directly related to Arduino. They are called shields and are small add-ons that you can directly plug onto your Arduino board and that have all the necessary electronic components and circuitry to accomplish the mission they have been designed for.

There are hundreds of shields for Arduino out there. Just perform a simple search on Google and the number of results will amaze you: the results range from a GPS shield that allows our project to be location-aware to shields that link two Arduino boards via radiofrequency, passing by GSM/GPRS shields that make our project able to establish radio connections.

Shields

Some official Arduino shields

Furthermore, when most users finish the development of a project, they opt to create this shield to transfer the complementary components out of the breadboard.

The Arduino team has developed some official shields for Arduino, among which there is the Arduino GSM Shield that allows GPRS communications, the Arduino Wi-Fi shield that enables Wi-Fi connections, or the Arduino Motor shield that eases the operation of external motors.

The Arduino platform has grown so much that today, there is a whole market around it, with providers developing shields for unimaginable purposes.

Among the biggest shield developers are Adafruit (http://www.adafruit.com/category/17_21), SparkFun (https://www.sparkfun.com/categories/240?page=all), and Cooking Hacks (http://www.cooking-hacks.com/shop/™Arduino/shields).

Just one to rule them all

I have already shown you all the significant Arduino models you might need to develop your project. As they are so different from each other, they all share a very important characteristic. They can all be programmed using the same language and the same tool.

This is a wonderful thing, because it allows you to program all models once you know how to program just one, making the selection of the board your unique concern.

In the next chapter, we will prepare our developing environments so that we can directly begin to program our boards and test our first assemblies.

Users teaching users

I told you previously that Arduino was not just a board and a compiler. One of the things that I personally think has made Arduino become such a big platform is its online community.

On the Arduino site, you can find not only a traditional forum (http://forum.arduino.cc) where lots of users share their projects and troubles and help others, but also one of the sections I like the most: the Arduino Playground section.

The Arduino Playground section (http://playground.arduino.cc) is a section of the Arduino website where users publish information about ways to connect Arduino to other devices of all kinds, linking to their own websites in most cases filled with information about the project they have worked on. It is some kind of collaborative showroom.

For me, the Playground section is, perhaps, the most valuable site you can go to whenever you are beginning to work on your own project. There are plenty of possibilities that you can find in that piece of information that can serve you as a starting point.

Summary

In this chapter, we took a look at the microcontroller context before and after the introduction of the Arduino platform. We met some of the family members and we came to know about their most significant features so that you can decide which one of them best matches the requirements of the project that you are thinking about.

We also learned about the Arduino extensions, called shields, and saw some of the official shields developed by the Arduino team.

In the next chapter, we will download, install, and take a tour of the Arduino IDE, and we will finish by uploading our first sketch to our board, so roll up your sleeves as we begin to enjoy working with our favorite microcontroller.

Left arrow icon Right arrow icon

Description

If you are a hobbyist who wants to develop projects based on Arduino as the main microcontroller platform or an engineer interested in finding out what the Arduino platform offers, then this book is ideal for you. Some prior knowledge of the C programming language is required.

Who is this book for?

If you are a hobbyist who wants to develop projects based on Arduino as the main microcontroller platform or an engineer interested in finding out what the Arduino platform offers, then this book is ideal for you. Some prior knowledge of the C programming language is required.

What you will learn

  • Select the correct Arduino board to meet the prerequisites of your project
  • Set up a working Arduino development environment and get to grips with all of its inner workings
  • Work with digital and analog outputs to act on external devices
  • Sense your environment in a digital or analog way by using different types of sensors such as potentiometers, photocells, or thermistors
  • Develop timebased projects that will manage the time in a precise manner
  • Make your project interact with other devices via serial communications
  • Use interrupts to deal with unexpected events
  • Get familiar with a complete realworld project that summarizes all the concepts learned throughout the book
Estimated delivery fee Deliver to Spain

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 24, 2015
Length: 206 pages
Edition : 1st
Language : English
ISBN-13 : 9781784398569
Category :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Spain

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Publication date : Feb 24, 2015
Length: 206 pages
Edition : 1st
Language : English
ISBN-13 : 9781784398569
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 103.97
Python Programming for Arduino
€41.99
Arduino Essentials
€24.99
Arduino Development Cookbook
€36.99
Total 103.97 Stars icon

Table of Contents

11 Chapters
1. Meeting the Arduino Family Chevron down icon Chevron up icon
2. The Arduino Development Environment Chevron down icon Chevron up icon
3. Interacting with the Environment the Digital Way Chevron down icon Chevron up icon
4. Controlling Outputs Softly with Analog Outputs Chevron down icon Chevron up icon
5. Sensing the Real World through Digital Inputs Chevron down icon Chevron up icon
6. Analog Inputs to Feel Between All and Nothing Chevron down icon Chevron up icon
7. Managing the Time Domain Chevron down icon Chevron up icon
8. Communicating with Others Chevron down icon Chevron up icon
9. Dealing with Interrupts Chevron down icon Chevron up icon
10. Arduino in a Real Case – Greenhouse Control Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(5 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Miguel Bueno Cobos May 06, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Arduino is not a new kid in the block, and many things are written about it, but you can be sure that not everything written is useful. With this book Francis Perea will help you if you are new to microcontrolers or you just want to have a nice reference around. The autor knows how to focus on the procedure and the key facts that you have to understand to keep you improving your skills about Arduino. He will guide you in a series of step-by-step assemblies using most common components and with a very well design path to Arduino Knowledge. Definitely a must read and a must have reference book about Arduino.
Amazon Verified review Amazon
Rocío Criado Díaz Apr 22, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Arduino es un mundo nuevo para mi. He llegado a este libro por la experiencia de sus conocidos autores en la materia con el fin de formarme desde cero. Tengo un mundo de posibilidades que puedo practicar gracias a los claros ejemplos de todas y cada una de sus posibilidades. Estoy consiguiendo resultados interesantes en la docencia con los alumnos de mi clase. Es una referencia práctica para completar y adquirir un buen conocimiento sobre la electrónica y su aplicación inmediata. Lectura y compra recomendada.
Amazon Verified review Amazon
Jose Checa Apr 22, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
For a long time I've been reading books as a beginner / advanced Arduino , especially to meet the training needs of people who are new , including very early levels . It is not easy to have a good guide to all the possibilities of Arduino while it easy to assimilate by readers. In this book I found all this and more. All kinds of examples that introduce from the simplest to the most complicated work , easy to digest and implement that cover all needs. A global version of all well explained possibilities. I highly recommend it .
Amazon Verified review Amazon
Amazon Customer Jan 29, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great read about the current Arduino boards out there .. Great reference for those who want to learn about these cool boards and how to hook up hard devices and parts to them . Great place to kick start using the Arduino boards.
Amazon Verified review Amazon
Rocío Criado Díaz Apr 22, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Arduino is a new world for me !! I came to this book through the experience of their well-known authors in the field and to learn from scratch. I have a world of possibilities that can go through the clear examples of each and every one of its possibilities . I am getting interesting results in teaching with students in my class. It is a handy reference to complete and acquire a good knowledge of electronics and immediate implementation. Reading and recommended purchase .
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela