ebook img

The Internet of things: do-it-yourself projects with Arduino, Raspberry Pi, and BeagleBone Black PDF

582 Pages·2015·21.57 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview The Internet of things: do-it-yourself projects with Arduino, Raspberry Pi, and BeagleBone Black

Copyright © 2015 by McGraw-Hill Education. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher, with the exception that the program listings may be entered, stored, and executed in a computer system, but they may not be reproduced for publication. ISBN: 978-0-07-183521-3 MHID: 0-07-183521-0 The material in this eBook also appears in the print version of this title: ISBN: 978-0- 07-183520-6, MHID: 0-07-183520-2. eBook conversion by codeMantra Version 1.0 All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill Education eBooks are available at special quantity discounts to use as premiums and sales promotions or for use in corporate training programs. To contact a representative, please visit the Contact Us page at www.mhprofessional.com. Information has been obtained by McGraw-Hill Education from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, McGraw-Hill Education, or others, McGraw-Hill Education does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from the use of such information. TERMS OF USE This is a copyrighted work and McGraw-Hill Education and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill Education’s prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms. THE WORK IS PROVIDED “AS IS.” McGRAW-HILL EDUCATION AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill Education and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill Education nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill Education has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill Education and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise. This book is dedicated to my wonderful parents, Harry and Esther Norris, who provided the love and support to enable me to become the person that I am today. I would also like to dedicate the book to my inspiring high school physics teacher, Mr. Bluhm, who instilled in me a love for science, especially physics, that still burns within me. About the Author Donald Norris has a degree in electrical engineering and an MBA with a specialization in production management. He is currently teaching both undergraduate and graduate IT courses at Southern New Hampshire University. He has also created and taught several robotics courses there. He has over 30 years of teaching experience as an adjunct professor at a variety of colleges and universities. Mr. Norris retired from civilian government service with the U.S. Navy, where he specialized in acoustics related to nuclear submarines and associated advanced digital signal processing. Since then, he has spent more than 20 years as a professional software developer using C, C#, C++, Python, and Java, as well as 5 years as a certified IT security consultant. Mr. Norris started a consultancy, Norris Embedded Software Solutions (dba NESS LLC, www.nessllc.net), that specializes in developing application solutions using microprocessors and microcontrollers. He likes to think of himself as a perpetual hobbyist and geek and is always trying out new approaches and out-of-the-box experiments. He is a licensed private pilot, active member of the Civil Air Patrol, photography buff, amateur radio operator, and avid runner. He is also the author of two other McGraw-Hill Tab books Raspberry Pi Projects for the Evil Genius and Build Your Own Quadcopter. Contents at a Glance 1 Introduction to the Internet of Things 2 Home Temperature Monitoring System 3 Introduction to Object Orientation Programming (OOP) with Java 4 Home Weather Station 5 Webcam and Raspberry Pi Camera Projects 6 Internet-Enabled, Arduino Powered Garage Door Opener 7 Arduino Irrigation Control System 8 Arduino Lighting Controller 9 BeagleBone Black Message Controller 10 BeagleBone Black with Cloud Service 11 Machine-to-Machine (M2M) Communications Index Contents Acknowledgments Introduction 1 Introduction to the Internet of Things Raspberry Pi Platform Raspberry Pi GPIO Establishing a Raspberry Pi Development Station Standalone Setup Headless Setup Setting Up the Raspberry Pi Software Setting Up the Raspberry Pi OS Using an Image File Updating and Upgrading the Raspbian Image Headless Configuration Headless Operation with Graphics The LAMP Project Apache Web Server and the PHP Scripting Language MySQL Database Installation Adding a New User to a MySQL Database Summary 2 Home Temperature Monitoring System Temperature Sensor Network TMP36 Temperature Sensor Analog to Digital Conversion Serial Peripheral Interface Connecting and Testing the MCP3008 with the Raspberry Pi Initial Test Multiple Sensor System Multiple Sensor Software Temperature Database Python Database Connection Inserting Data into a MySQL Database Using a Program Database Access Using a Web Browser Narrowing the Database Reports Flask Summary 3 Introduction to Object Orientation Programming (OOP) with Java Java Software Development Kit (SDK)

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.