
BeagleBone Robotic Projects Second Edition Create complex and exciting robotic projects with the BeagleBone Blue Dr. Richard Grimmett BIRMINGHAM - MUMBAI BeagleBone Robotic Projects Second Edition Copyright © 2017 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: December 2013 Second edition: June 2017 Production reference: 1090617 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78829-313-6 www.packtpub.com Credits Author Copy Editor Dr. Richard Grimmett Stuti Srivastava Reviewers Project Coordinator Shantanu Bhadoria Virginia Dias Marcelo Boá Jason Kridner Commissioning Editor Proofreader Vijin Boricha Safis Editing Acquisition Editor Indexer Heramb Bhavsar Rekha Nair Content Development Editor Graphics Sharon Raj Kirk D'Penha Technical Editor Production Coordinator Prashant Chaudhari Aparna Bhagat Foreword 10 years ago now, Gerald and I envisioned the original BeagleBoard, which would democratize access to computers that were small enough, low-power enough, capable enough, open enough, understandable enough, and affordable enough to encourage hundreds of thousands of new developers to build electronics systems that they controlled, rather than simply creating an application that merely runs on someone else’s platform. From open hardware DNA-analysis machines to advanced transportation systems and prototypes of Mars rovers, over a million BeagleBoards and BeagleBones have now gone into developers’ projects, and often, units built around the open source hardware designs have gone into production systems, enabling entrepreneurs and visionaries to realize their dreams. Enabling the h t t p ://b e a g l e b o a r d . o r g / community has remained my passion, and I support it everyday. Traveling to trade shows, chatting on the live IRC channel, maintaining the website, answering technical queries on the mailing list, updating documentation, supporting innovations with our suppliers and distributors, and ultimately creating new designs all pay off when I see individuals succeeding in learning about and creating with programming and electronics. Robotics has always been a popular application of the BeagleBoard, but the new BeagleBone Blue provides a unique set of features, taking the exploration and implementation of robotics to another level of simplicity, completeness, and community activity. Robotics provides a compelling opportunity to build and go beyond a basic understanding of mechanics, electronics, programming, and networking technologies that impact nearly all of our daily lives. Moving beyond the initial experience, the open nature enables you to collaborate, build understanding from history, and eliminate any barriers to where you can take your learning, all the way to making your own product--and that makes you part of a compelling community. Richard has already written the book on BeagleBone robotics with his titles BeagleBone Robotic Projects and Mastering BeagleBone Robotics. These are excellent books, providing practical introductions to rewarding creations. With the introduction of the BeagleBone Blue, it was natural for me to reach out to Richard with early access to the board. In this edition, Richard fast-tracks you into robotics and the BeagleBoard.org community with a practical set of hands-on experiences that get you started, and he further gives you the tools to help bring in others to this amazing world. I hope you’ll join us as we make this world a better place by mastering robotics and sharing the joy of creation and creativity it offers. Jason Kridner Co-founder of BeagleBoard.org About the Author Dr. Richard Grimmett has been fascinated by computers and electronics from his very first programming project, which used Fortran on punch cards. He has bachelor's and master's degrees in electrical engineering and a PhD in leadership studies. He also has 26 years of experience in the radar and telecommunications industries, and even has one of the original brick phones. He now teaches computer science and electrical engineering at Brigham Young University, Idaho, where his office is filled with his many robotics projects. I would certainly like to thank my wife, Jeanne, and family for providing me a wonderful, supportive environment that encourages me to take on projects like this one. I would also like to thank my students; they show me that amazing things can be accomplished by those who are unaware of the barriers. About the Reviewers Shantanu Bhadoria is an avid traveler and an author of several popular open source projects in Perl, Python, Golang, and NodeJS, including many IoT projects. When in Singapore, he works on paging and building control systems for skyscrapers and large campuses in Singapore, Hong Kong, and Macau. He has authored and contributed to public projects dealing with control over gyroscopes, accelerometers, magnetometers, altimeters, PWM generators, and other sensors and controllers, as well as sensor fusion algorithms such as Kalman filters. His work in IoT and other fields can be accessed from his GitHub account at h t t p s ://g i t h u b . c o m /s h a n t a n u b h a d o r i a . He is also the author of Device::SMBus, a popular Perl library used to control devices over the I2C bus. Marcelo Boá is an electronics technician who has a bachelor's degree in information systems. He has worked for 10 years in the field of electronic maintenance. He has also worked in Java development, Oracle PL/SQL, PHP, ZK framework, shell scripts, HTML, JavaScript, Ajax, NodeJS, AngularJS, Linux, Arduino, and BeagleBone. He started as a PL/SQL trainee at the Federal Technological University of Paraná, Brazil. He worked for several companies on many different kinds of electronic circuits and hardware, gaining technical experience at Sony, Aiwa, and Gradiente. 10 years later, he returned to Java development with the ZK framework, developing software for call centers in Curitiba's Software Park. He worked as a systems analyst in the warehouse management systems and industrial automation department at SSI SCHAEFER and provided support to large companies in the distribution sector, such as Boticário, Posigraf, Sadia BRF, GTFoods, Cotriguaçú, Unifrango, and Cocari. He also reviewed Mastering Beaglebone Robotics. I would like to thank my wife, Marcela Contador, for giving me all her support. Jason Kridner has over 25 years of experience in developing embedded electronics, from digital circuits and digital signal processing to high-level systems integration around RTOS environments and Linux. As an applications engineer at Texas Instruments, Jason has taken joy in helping others solve both simple and complex embedded systems problems. Seeking to share his passion with others, he co-founded h t t p ://b e a g l e b o a r d . o r g / in 2008, creating platforms that hundreds of thousands of users have now enjoyed using, advancing their programming and electronics skills. He has co-authored two books on BeagleBone, Bad to the Bone and BeagleBone Cookbook. www.PacktPub.com For support files and downloads related to your book, please visit www.PacktPub.com. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. h t t p s ://w w w . p a c k t p u b . c o m /m a p t Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career. Why subscribe? Fully searchable across every book published by Packt Copy and paste, print, and bookmark content On demand and accessible via a web browser Customer Feedback Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial process. To help us improve, please leave us an honest review on this book's Amazon page at h t t p s ://w w w . a m a z o n . c o m /d p /1788293134. If you'd like to join our team of regular reviewers, you can e-mail us at [email protected]. We award our regular reviewers with free eBooks and videos in exchange for their valuable feedback. Help us be relentless in improving our products! Table of Contents Preface 1 Chapter 1: Getting Started with the BeagleBone Blue 8 Powering up and connecting to the BeagleBone
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages221 Page
-
File Size-