- Paperback: 408 pages
- Publisher: Wrox; 1 edition (January 9, 2013)
- Language: English
- ISBN-10: 1118454766
- ISBN-13: 978-1118454763
- Product Dimensions: 7.4 x 0.8 x 9.3 inches
- Shipping Weight: 1.5 pounds (View shipping rates and policies)
- Average Customer Review: 7 customer reviews
- Amazon Best Sellers Rank: #2,508,024 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Professional Android Open Accessory Programming with Arduino 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
From the Back Cover
An innovative approach to using your smartphone for home automation
Android Open Accessory (AOA) is a simple and secure protocol for connecting any microcontroller-empowered device to an Android smartphone or tablet. This unique book shows you how to use AOA with Arduino, the microcontroller platform, in order to automate everyday tasks in your homesuch as lighting, air conditioning, and entertainment systemswith your smartphone. Assuming basic knowledge of the Android framework, this visionary author duo provides you with the tools you need to create powerful, sophisticated projects. Detailed explanations, helpful examples, and accessible prototypes all contribute to empowering you to take full advantage of Android technology.
Professional Android Open Accessory Programming with Arduino:
- Reviews the various options available for connecting an Arduino-based prototype to an Android phone
- Covers the basics of data communication and introduces MQTT
- Guides you through setting up both Android and Arduino
- Demonstrates how to build an Android library and create Android accessory applications
- Describes the processes for building each of the featured projects, using various sensors and indicators/actuators
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
About the Author
Andreas Goransson has created a set of libraries and tools for Arduino ADK boards to communicate easily over USB with Android devices, in collaboration with David Cuartielles Ruiz. He is an active contributor to popular programming communities, where he creates both tools and libraries.
David Cuartielles Ruiz is co-founder of the Arduino prototyping platform and head of the Prototyping Laboratory at K3, Malmo University, Sweden. Together with Andreas Goransson, he has written libraries that enable Arduino to communicate with Android phones over Bluetooth.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Top customer reviews
The most frustrating aspect of this book is that it is rife with typographical errors in the code sections that throw bunches of errors in Eclipse. Most of the errors are fixed, unbeknownst to the reader in later "listings".
The salvation of this book is that the "actually-debugged" code on Github works and in concert with the annotations in the book and the comments in the Github code instruct the non-novice reader on the ins-and-outs of Arduino-Android interfacing.
That said the code on Github is a nice achievement and makes the book worth owning...
Pros: This book covers,in detail, the complete communications design for a data network between Android and Arduino devices. It also discusses creating needed software libraries and even using sophisticated visual recognition tools to automatically track a moving target in a video field. This is quite advanced for a 2013 project and the author should be praised for this groundbreaking effort. The expansion from USB communications to Bluetooth is especially valuable in making the phone detachable from the robot. There is also extensive code in the book that can be analyzed and easily extended for the reader's particular needs.
Cons: There is a host of information that was lost in the design approach and specific design suitability for this project to be transfered into other projects the reader may want to develop. It is a given that the reader will want to apply this information to his own projects. For example, the reader will want to extend this project into developing remote high speed communications between the Arduino and the Android phone. This would require that the MQTT protocol used in the book be put in perspective and adapted for SMS phone messaging or WiFi communications. A suitable design pattern is needed to match the current messaging interface for all three protocols( MQTT, SMS, Bluetooth high speed( 1.3 Mbps )) in order to generalize the use of this design for other needs. If target identification needs to be improved, a reference to another book on say facial recognition or polygonal feature extraction( if you want to enter thee NASA challenge ) be listed to make this book a wonderful stepping stone to even greater things. Imagine if a few of these ideas were mentioned in the book and the reader was given an introduction to remotely guiding or adapting the design to be able to find loose items on the floor and return them to a collection box for lost belongings? Imagine that the reader could use this book to design a roving 'Robbie' security robot that could transfer video evidence to the owner's phone!
This book is a welcome addition to the books supporting IoT designs and it goes a long way toward connecting the dots in making home automation a thing of the present instead of science fiction. To those dreamers out there, who just want a bit more information needed to help them bring your dreams into reality, this is one of the stepping stones you need to make it happen.
Hopefully someone else will come along and write a book on this incredibly interesting and growing topic that isn't terrible.