Book Image

Banana Pro Blueprints

By : Tony Zhang
Book Image

Banana Pro Blueprints

By: Tony Zhang

Overview of this book

This book follows a tactical plan that will guide you through the implementation of Banana Pro and its configurations. You will then learn the various programming languages used with Banana Pi with the help of examples. In no time at all, you’ll be working on a wireless project that implements AirPlay servers, hotspots, and so on. Following this, you’ll develop a retro-style arcade kiosk game. Then we’ll move on to explore the multimedia features of Banana Pro by designing and building an enclosure for it. After this, you’ll learn to build a remote-controlled smart car and we’ll examine how to control a robotic arm. The book will conclude with the creation of a home sensor system that has the ability to expand or shrink to suit any home.
Table of Contents (15 chapters)
Banana Pro Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing the IP camera


First, download and install the Raspbian_For_BananaPro image from http://www.lemaker.org/product-bananapro-download-16.html.

At the time of writing this chapter, I've used the Raspbian_For_BananaPro_v1412 version as the base kernel image.

After installing Raspbian for the Banana Pro image, we'd better use the bpi-config tools to expand the root filesystem:

sudo bpi-config

Select the first item to expand the filesystem. Then, finish rebooting the system.

Make sure that your Banana Pro can connect to your router network, regardless of whether it's via Ethernet or the wireless connection.

We create a directory as the workspace for this project:

cd ~
mkdir remote_monitor_car

So, remote_monitor_car would be the workspace for all the source code.

Installing ffmpeg

The ffmpeg is the leading multimedia framework, and it is able to decode, encode, transcode, mux, demux, stream, filter, and plays pretty much anything that humans and machines have created. It supports all kinds...