Book Image

Beaglebone Media Center

By : David Lewin
Book Image

Beaglebone Media Center

By: David Lewin

Overview of this book

Table of Contents (15 chapters)
BeagleBone Media Center
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Ideas to Improve Your Server
Index

Preface

The still young market of embedded boards is growing each day, owing to the Raspberry Pi effect. These single-board computers help you solve common problems, such as analyzing a network, programming without a PC, and others. The BeagleBone Black has all of these features, but at the same time, you can broaden your horizons to perform interesting tasks using the expansion capability of the board. Whether you use the basic version of the board or improve it with different accessories available in the market, this board will come in handy to help you decide and create the various tasks you want to perform with it. This book is designed to provide you with the knowledge to explore the world of BeagleBone Black.

Welcome aboard!

What this book covers

Chapter 1, Transforming Your BeagleBone Black into a Media Server, begins with an introduction to help you better understand why it is in your interest to have your own personal server. This chapter then describes the steps required for the installation of an improved multimedia server on steroids.

Chapter 2, Media Management, Shares, and Social Activities, gives indications to use your new server in a connected world. It begins with an explanation of the workflow that needs to be followed; there are also indications to understand what an administrator should do. The chapter ends with social sharing to let you share your contents with your friends or members of your family.

Chapter 3, Examples of Real-world Situations, deals with security because a connected server also needs to safely manage your publications. This chapter introduces you to the security role followed by two scenarios based on real-life experiences: one for a house, and another for professional activities.

Chapter 4, Getting Your Own Video and Feeds, discusses how to improve the existing server by giving you the opportunity to provide your own personal video streams. This chapter gives you the keys for hardware detection. It also presents a different topic that is still based on multimedia: configuring the server for RSS feeds.

Chapter 5, Building Your Media Player, describes the real USP of the BeagleBone Black: capes. Thus, it gives you a way to extend your board in order to create funnier and useful projects. In addition, with this exciting chapter, you will be able to build a device that can display movies and play music without making your imagination compromise because you can also extend this extension board through connectors and additional networks.

Chapter 6, Illuminate Your Imagination with Your Own Projects, lets you enter into the software part of the book using "Matrix Revolution," a fun project with funny tools: you'll use the 8 x 8 bicolor LEDs matrix from Adafruit connected to the BeagleBone Black. After a good introduction to the hardware of the board, the remaining part of this chapter is then split into three examples, starting with a simple example that allows beginners to start smoothly in Python and understand the main programming concepts related to a server and a client. This is followed by an improved version of the first example with a GUI as a laboratory for your experiments. It finally ends with a totally different example written in C++, which is a pattern generator, so you'll be able to display every disco pattern you like.

Appendix A, Troubleshooting and Tricks to Improve Your Server, covers the topics that will help you resolve issues that you might face while working with your servers, including some useful tools and troubleshooting steps.

Appendix B, Ideas to Improve Your Server, introduces some ideas to improve your server functionality.

What you need for this book

To run the book's examples, you will need a running Python environment, including the virtualenv package. The source code will be available from the dedicated GitHub repository and website as well. In all cases, Chapter 5, Building Your Media Player, and Chapter 6, Illuminate Your Imagination with Your Own Projects, will discuss how to install, compile, and run the examples.

Who this book is for

This book is intended for those who want to overcome the limitations of standard projects by learning electronics and programming and by using their imagination, knowledge, and passion.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

grid = ColorEightByEight(address=0x70)

Any command-line input or output is written as follows:

debian@arm:~$ Install v4l-utils

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Clicking the Next button moves you to the next screen."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.