Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying BeagleBone Black Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
BeagleBone Black Cookbook

BeagleBone Black Cookbook

2 (1)
close
close
BeagleBone Black Cookbook

BeagleBone Black Cookbook

2 (1)

Overview of this book

There are many single-board controllers and computers such as Arduino, Udoo, or Raspberry Pi, which can be used to create electronic prototypes on circuit boards. However, when it comes to creating more advanced projects, BeagleBone Black provides a sophisticated alternative. Mastering the BeagleBone Black enables you to combine it with sensors and LEDs, add buttons, and marry it to a variety of add-on boards. You can transform this tiny device into the brain for an embedded application or an endless variety of electronic inventions and prototypes. With dozens of how-tos, this book kicks off with the basic steps for setting up and running the BeagleBone Black for the first time, from connecting the necessary hardware and using the command line with Linux commands to installing new software and controlling your system remotely. Following these recipes, more advanced examples take you through scripting, debugging, and working with software source files, eventually working with the Linux kernel. Subsequently, you will learn how to exploit the board's real-time functions. We will then discover exciting methods for using sound and video with the system before marching forward into an exploration of recipes for building Internet of Things projects. Finally, the book finishes with a dramatic arc upward into outer space, when you explore ways to build projects for tracking and monitoring satellites.
Table of Contents (11 chapters)
close
close

What this book covers

This book explores a range of recipes for the novice user, gaining in complexity as the material progresses. In a nutshell, these are the chapters and their topics:

Chapter 1, Setting Up for the First Time, starts by booting up your board out of the box, getting it connected online, teaching how to control it remotely, and then diving into the essential Linux command-line commands.

Chapter 2, Basic Programming Recipes, moves briskly along to scenarios using several flavors of programming ingredients on BeagleBone Black, including BoneScript (an easy JavaScript variant for BeagleBone), Node.js, Python, and Johnny Five.

Chapter 3, Physical Computing Recipes Using JavaScript, the BoneScript Library, and Python, tells it like it is as we will take the recipes discussed in Chapter 2, Basic Programming Recipes and apply them to the use of buttons, sensors, LEDs, and motors.

Chapter 4, Exploring GNU/Linux Recipes Using Bash, Autotools, Debugger, and systemd, looks at some foundational Linux tools that you will need to bend the board to your will, tools that come in handy for a wide variety of use cases.

Chapter 5, Basic Programming Recipes with the Linux Kernel, helps you start putting your arms around the system kernel by installing the latest version and then building a custom kernel. We will also will cook up some mischief with one of the hallmarks of all ARM devices, Device Tree, which makes it easier to add peripherals and daughterboards to your system. We will finish using the universal cape overlay, a toolset that makes manipulating GPIO pins and Device Tree infinitely simpler.

Chapter 6, Run Faster, Run Real Time, enables you to get more advanced in your skills; you will learn how to modify the Linux kernel (yikes!) and then dive into the realm of real-time computing, looking at recipes to use the RT-PREEMPT patch, Xenomai, and the unique subsystem features of BeagleBone Black—the programmable real-time units (PRUs).

Chapter 7, Applied Recipes – Sound, Picture, and Video, looks at some ways to use sound, display, and video in your projects. We will begin by wiring up a mini sound amplifier and speakers and then take this lesson to creating a high-quality audio platform using the open source music platform, Volumio. Then, we will cook up a variety of recipes to utilize video and different types of displays in projects, including an OLED and a mini LCD. This chapter ends by building a video chat client from source.

Chapter 8, The Internet of Things, plunges into a sampling of things for the Internet of Things; things such as looking at ways to use sensors with middleware systems, setting up location-based devices to interact with BeagleBone Black, and mix a recipe for making a smarter object, specifically a cloud-driven digital picture frame.

Chapter 9, The Black in Outer Space, concludes the book by heading into more distant regions: outer space (or near space, to be more exact), delving into recipes to track satellites and craft, such as the International Space Station. We will discuss how to use the very low-cost but powerful and exciting Software Define Radio chip RTL-SDR.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
BeagleBone Black Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon