Skip to main content

BeagleBone For Dummies

BeagleBone For Dummies

Rui Santos, Luís Miguel Costa Perestrelo

ISBN: 978-1-118-99292-0 January 2015 432 Pages




The definitive, easy-to-use guide to the popular BeagleBone board

BeagleBone For Dummies is the definitive beginner's guide to using the popular BeagleBone board to learn electronics and programming. Unlike other books that require previous knowledge of electronics, Linux, and Python, this one assumes you know nothing at all, and guides you step-by-step throughout the process of getting acquainted with your BeagleBone Original or BeagleBone Black. You'll learn how to get set up, use the software, build the hardware, and code your projects, with plenty of examples to walk you through the process. You'll move carefully through your first BeagleBone project, then get ideas for branching out from there to create even better, more advanced programs.

The BeagleBone is a tiny computer board – about the size of a credit card – that has all the capability of a desktop. Its affordability and ease of use has made it popular among hobbyists, hardware enthusiasts, and programmers alike, and it's time for you to join their ranks as you officially dive into the world of microcomputers. This book removes the guesswork from using the popular BeagleBone board and shows you how to get up and running in no time.

  • Download the operating system and connect your BeagleBone
  • Learn to navigate the desktop environment
  • Start programming with Python and Bonescript
  • Build your first project, and find plans for many more

To learn BeagleBone, you could spend hours on the Internet and still never find the information you need, or you can get everything you need here. This book appeals to all new and inexperienced hobbyists, tinkerers, electronics gurus, hackers, budding programmers, engineers, and hardware geeks who want to learn how to get the most out of their powerful BeagleBone.

Introduction 1

Part I: Getting Started with the BeagleBone 5

Chapter 1: Introducing the BeagleBone 7

Chapter 2: Installing the Operating System 17

Chapter 3: Connecting Your BeagleBone 29

Part II: Covering the Basics 47

Chapter 4: Introducing the Linux Shell 49

Chapter 5: Designing Circuits 89

Chapter 6: Introducing Digital Electronics with the BeagleBone 107

Part III: Programming with BoneScript 133

Chapter 7: Introducing BoneScript 135

Chapter 8: Experimenting with BoneScript 153

Part IV: Programming with Python 179

Chapter 9: Introducing Py thon 181

Chapter 10: Experimenting with Py thon 197

Chapter 11: Mastering the Ar t of Coding 237

Part V: Turning Your BeagleBone into a Desktop Computer 253

Chapter 12: Using Your BeagleBone Black as a Desktop Computer 255

Chapter 13: Building Your Website 287

Part VI: Playing with the BeagleBone 311

Chapter 14: Building Your First Project 313

Chapter 15: Running Your Home Automation Web Server 337

Part VII: The Part of Tens 361

Chapter 16: Ten Amazing Projects for the BeagleBone 363

Chapter 17: Ten Resources and Tips for BeagleBone Users 371

Appendix A: Troubleshooting 377

Appendix B: Controlling BeagleBone's GPIOs 385

Appendix C: Guide to the BeagleBone's GPIOs 389

Index 393

Chapter 07 code
Chapter 08 code
Chapter 09 code
Chapter 10 code
Chapter 13 files
Chapter 14 code
Chapter 15 code