Getting Started with UDOO
eBook - ePub

Getting Started with UDOO

Emanuele Palazzetti

Partager le livre
  1. 206 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Getting Started with UDOO

Emanuele Palazzetti

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Getting Started with UDOO est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Getting Started with UDOO par Emanuele Palazzetti en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatik et Hardware. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781784391942
Sous-sujet
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...

Table des matiĂšres