Welcome to the Companion Website

This is the companion site for the book “Exploring BeagleBone: Tools and Techniques for Building with Embedded Linux” Second Edition by Derek Molloy. It is maintained by the author and it contains supporting digital downloads, video, and source code examples. The website also contains additional materials that are too specific to include in the book. Each chapter in the book links to an individual web page (e.g., /chapter1), which can be accessed using the drop-down menu on the top right-hand side of this page.

Exploring Raspberry Pi WebsiteExploring Raspberry Pi Websiteerpi_tiny_cover Exploring Raspberry Pi

Please also see my other book website on the Raspberry Pi. Exploring Raspberry Pi first covers the basics of the hardware platform, recommended accessories, software, embedded Linux systems, and Linux programming techniques. Then it takes you deeper into interfacing, controlling, and communicating, with detailed information about Raspberry Pi GPIOs, buses, UART devices, and USB peripherals. You will learn to configure a cross-compilation environment in order to build large-scale software applications, as well as how to combine hardware and software to enable the Raspberry Pi to interact effectively with its physical environment. Finally, you’ll discover how to use the Raspberry Pi for advanced interfacing and interaction applications such as the Internet of Things (IoT); wireless communication and control; rich user interfaces; images, video, and audio; and Linux kernel programming.

If you already own Exploring BeagleBone or Exploring Raspberry Pi, please visit the Exploring Raspberry Pi website to see how this book is different.

The Book


Purchase the Book:

Available worldwide in January 2019. Released in the US and Canada in January 2019. Released to the rest of the world in late January/early February 2019. Kindle and eBook versions released in December 2018.

A personal note: Thanks to everyone for taking the time to write such kind reviews on Amazon, this web site, and on other web sites. I really appreciate your support and feedback. Thanks, Derek.  



Rest of the World:

e-Books: (now available)

Full List of Worldwide Locations: Wiley International List


Exploring BeagleBone (Second Edition) is a hands–on guide to bringing gadgets, gizmos, and robots to life using the popular BeagleBone and PocketBeagle embedded Linux platforms. Comprehensive content and deep detail provide more than just a Beagle board instruction manual—you’ll also learn the underlying engineering techniques that will allow you to create your own projects. The book begins with a foundational primer on essential skills, and then gradually moves into communication, control, and advanced applications using C/C++, allowing you to learn at your own pace. In addition, the book’s companion website features instructional videos, source code, discussion forums, and more, to ensure that you have everything you need.

In–depth instruction and practical techniques for building with the BeagleBoard.org embedded Linux platform

The BeagleBone and PocketBeagle’s small size, high performance, low cost, and extreme adaptability have made them a favorite development platform, and the Linux software base allows for complex yet flexible functionality. The Beagle boards have applications in smart buildings, robot control, environmental sensing, to name a few; and, expansion boards and peripherals dramatically increase the possibilities. Exploring BeagleBone provides a reader–friendly  guide to the device, including a crash course in computer engineering. While following step by step, you can:

  • Get up to speed on embedded Linux, electronics, and programming
  • Master interfacing electronic circuits, buses and modules, with practical examples
  • Explore the Internet–connected Beagle board and the Beagle boards with a display
  • Apply the Beagle boards to sensing applications, including video and sound
  • Explore the AM335x Programmable Real–Time Controllers (PRUs)
  • Second edition updated to cover the latest Beagle boards, Linux kernel versions, and Linux software releases.
  • Second edition includes new content on Linux kernel development, the Linux Remote Processor Framework, CAN bus, IoT frameworks, and much more!

Hands–on learning helps ensure that your new skills stay with you, allowing you to design with electronics, modules, or peripherals even beyond the Beagle boards. Insightful guidance and online peer support help you transition from beginner to expert.


Dr. Derek Molloy is an Associate Professor in the School of Electronic Engineering at Dublin City University, Ireland. Derek produces a popular YouTube series on the BeagleBone platform and a wide variety of embedded Linux topics. His videos and personal blog have introduced millions of people to the BeagleBone, embedded Linux, and digital electronics. See the About the Author page for more information.

Technical Editors

Marcia K. Wilbur is a technical communicator consulting in the semiconductor field, focusing on industrial IoT (IIoT). Marcia holds degrees in computer science, technical communication, and information technology. As the Copper Linux User Group interim president, she is heavily involved in the East Valley maker community, leading regular Raspberry Pi, BeagleBone, Banana Pi/Pro, and ESP8266 projects including home automation, gaming consoles, surveillance, network, multimedia and other “pi fun.”

Jason Kridner is the Software Community Development Manager for Sitara ARM processors at Texas Instruments Incorporated (TI). During his over 20‐year tenure with TI, he has become an active leader in TI’s open source initiative and played an integral role in creating open‐source development tools such as BeagleBoard, BeagleBoard‐xM BeagleBone, and now BeagleBone Black.

Robert Zhu is a principal development manager at Microsoft for the Windows Operating System Group. He is an expert in OS leading‐edge development, research, and design in computer engineering such as kernel, device driver, and board support packages.

Source Code

Octocat_small All of the source code that is described in this book is available in a public GitHub repository: Derek Molloy Exploring BeagleBone repository.

You can clone this repository on a Linux desktop computer or your BeagleBone using the command:

You can also install a Windows GitHub desktop application or a Mac OS X GitHub desktop application. Alternatively, you can download a full ZIP archive of the code using the following link: Download Source Code (this is a live link that automatically provides you with the very latest files).

Molloy, D. (2019). Exploring BeagleBone: Tools and Techniques for Building with Embedded Linux, Second Edition, New York: Wiley, 978-1119533160, 740pp.

BibTeX Citation:

Early Reviews

Derek Molloy’s, Exploring BeagleBone, is THE book to go to if you are interested in learning about embedded Linux programming and how to use it to exploit the powerful capabilities of the BeagleBone single board computer. The book clearly presents the essential elements of embedded systems and explains in detail how to interface the BeagleBone to sensors, actuators, and electronic circuits.

I appreciate the author’s approach of not making the book a compilation of recipes or focusing on a grand project, but rather building the reader’s understanding of core concepts in a ‘learn-by-doing’ manner, so that any project suitable for the BeagleBone could be subsequently tackled.

Exploring BeagleBone is the book that I’ve been looking for to demystify embedded Linux and shorten the learning curve regarding how to do more sophisticated projects, such as incorporating vision or interaction over Internet.

… you’ve covered the content from a dozen titles on my bookshelves. What I’ve learned on this topic has taken me a decade of self-study culling through books and release notes and various platforms. Here, you’ve demystified it all in the span of a single (large) volume – I wish I had this Explorer’s guide a decade ago!

… I do think your book is MUCH needed. The conceptual material applies to all these “tiny computers”, and I’m thrilled you’ve tied it to the BBB!

… Your book brings together a great collection of chapter topics. I previously had to piece this together from a small library of books on electronics, physical computing, embedded systems, Linux, software, image processing (OpenCV), and Git. Your one book is enough to get me up and running on all those topics. Additionally, you’ve gathered in one place valuable BBB information that previously was hard to find and only buried deep in the web. Thanks for making my bookshelf a little lighter and deeper.

Loaded with helpful information and coding tutorials, this exploration around the extensive capabilities of BeagleBone Black has me excited to connect everything I encounter to the Internet, simply because I can now.
This wonderful book is at the nexus of so many of the skills that are vital to today’s computer scientists, electrical engineers, and innovators of all stripes as they turn their ideas into transformative creations.

The melding of these skills, which are often taught in a disparate manner, into a synergistic form is a wonderful achievement. This book, which spills beyond the printed page, to a collection of hands-on videos and additional sources of information, will become a mainstay in teaching any members of the next generation of computer scientist and electrical engineers who are eager to turn their ideas into reality.

Please post comments related to the content in the book under the relevant chapter web page (see the top right menu). This section below is for comment/feedback on the book in general. Thanks. Derek.