Getting Started with UDOO
eBook - ePub

Getting Started with UDOO

Emanuele Palazzetti

Compartir libro
  1. 206 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Getting Started with UDOO

Emanuele Palazzetti

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Getting Started with UDOO un PDF/ePUB en línea?
Sí, puedes acceder a Getting Started with UDOO de Emanuele Palazzetti en formato PDF o ePUB, así como a otros libros populares de Informatik y Hardware. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781784391942
Categoría
Informatik
Categoría
Hardware

Getting Started with UDOO


Table of Contents

Getting Started with UDOO
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Turn On the Engines
Introducing the UDOO platform
Downloading and installing Android
Installing from Windows
Installing from Mac OS X
Installing from Linux
Our first run
Setting up the development environment
Installing and using Arduino IDE
Installing in Windows
Installing in Mac OS X
Installing in Linux
First launch
Installing and using Android Studio
Running your first Android application
Summary
2. Know Your Tools
Introducing Arduino Due capabilities
Uploading the first program
Interacting with the real world
Communicating with Arduino
Writing an Android application controller
Android Accessory Development Kit
Fast prototyping a circuit
Using a breadboard
Interacting with external circuits
Sending commands from Android
Summary
3. Testing Your Physical Application
Building a testable circuit
Developing a diagnostic mode
Writing the first test
Summary
4. Using Sensors to Listen to the Environment
Working with environment sensors
Building a heartbeat monitor
Creating a circuit with a light sensor
Collecting data from the sketch
Android for data visualization
Setting up the ADKToolkit
Continuous data readings from Android
Enhancing the prototype
Summary
5. Managing Interactions with Physical Components
Managing user interactions
Building a web radio with physical interaction
Normalizing collected data before sending
Sending multiple data with Arduino
Streaming audio from Android applications
Designing the Android user interface
Setting up the ADK Toolkit
Changing web radio stations
Reading input from physical devices
Managing audio volume
Improving the prototype
Summary
6. Building a Chronotherm for Home Automation
Home automation
Building a chronotherm circuit
Sending data and receiving commands
Managing the chronotherm through Android
Setting up the ADK Toolkit
Designing the Android user interface
Writing the Overview activity
Creating a custom UI component
Finishing the Overview activity
Writing the Settings activity
Managing user's setpoints
Reading setpoints from the Overview activity
Writing setpoints from the Settings activity
Interacting with Arduino
Improving the prototype
Summary
7. Using Android APIs for Human Interaction
Extending prototypes with Android APIs
Improving user settings
Storing preset configurations
Using presets among activities
Implementing voice recognition
Using voice recognition to add or edit presets
Using voice recognition to change active presets
Improving user interaction with voice synthesis
Providing feedback to users
Summary
8. Adding Network Capabilities
Extending Chronotherm with network capabilities
Connecting to REST APIs
Extending the Android user interface
Collecting weather forecast data
Improving the boiler with an antifreeze check
Summary
Index

Getting Started with UDOO

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: February 2015
Production reference: 1170215
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-194-2
www.packtpub.com

Credits

Author
Emanuele Palazzetti
Reviewers
Maurizio Caporali
Bill Gatliff
Christian Gil González
Edward Jahn Sayadian
Primiano Tucci
Commissioning Editor
Amit Ghodke
Acquisition Editor
Reshma Raman
Content Development Editor
Ruchita Bhansali
Technical Editor
Abhishek R. Kotian
Copy Editor
Laxmi Subramanian
Project Coordinator
Krani Berde
Proofreaders
Ameesha Green
Stephen Copestake
Cathy Cumberlidge
Indexer
Mariammal Chettiyar
Graphics
Valentina D'silva
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa

Foreword

This book addresses two very important topics: "Programming" and "Programming with Android".
Programming nowadays is indeed more and more tied to interactions with physical space—you can no longer think about programming only pixels of a screen. Thanks to the evolution of mobile devices, application design and development has encountered a vision change. Today, accelerations and physical rotations of devices are managed by software; information changes depending on the geographic location and on common activities such as walking, driving, travelling, and so on. The next step is programming physical objects connected to the Internet, making our houses, cars, and clothes interactive. This book has the merit to introduce this new vision, showing how simple it is to program real objects, creating new smart ones this way. And it fulfils this goal with an UDOO board, Arduino and Android, starting with a simple Android application that lets you control sensor lights, temperature range, LED lights, and lots more.
UDOO, in fact, allows rapid prototyping of projects based on Arduino: the advantage is a tiny computer that is integrated to the Arduino microcontroller, running Android and Linux. The first few chapters highlight how to realize the connection between Android and Arduino, a very simple task due to the Android Accessory Development Kit (ADK) communication protocol, which is UDOO-compatible. The author, to further simplify the implementation of the protocol, introduces an external library, which allows you, with few lines of code, to connect Android to the real world.
After this first introductory part, you are pushed into the DIY philosophy: start getting your hands dirty, which is the most interesting part. There are several examples and no need for great tools. With just a wooden peg and a light sensor, you can build a heartbeat monitor with the added possibility of visualizing and managing data.
Going forward, in the book, you will see more complex projects, but you will also discover how simple it is to realize the interaction between software and...

Índice