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
About the Authors
About the Reviewers

Configuring LeScratch

The Scratch 1.4 education software runs in cooperation with LeScratch to let people earn easy access to the principles of microcomputers. Before starting, system configurations should be set to support the LeScratch functionalities in order to send and receive messages among peripherals. In this chapter, we'll use the Raspbian for BananaPro v1412 system image version, which can be downloaded at Now, let's declare the my_LeScratch project directory under the home directory: all the operations in the following sections are based on this directory:

cd ~
mkdir my_LeScratch

Installing the prerequisites

LeScratch needs to preinstall some packages, such as python-dev, python-setuptools, i2c-tools, and python-smbus:

sudo apt-get install python-dev
sudo apt-get install python-setuptools python-smbus i2c-tools

Since the I2C driver is installed and enabled by default, you only have to install the SPI drivers; now open the...