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

Controlling the LeScratch peripherals

We can now run the LeScratch Python program and Scratch 1.4 to try all the sensor modules one by one. In this section, we're going to parse the details of each extension. Then, we're going to introduce you to the demonstration which will be explained in the Building the LeScratch smart house section that uses most of our extension block: the LeScratch smart house. You can also create your own new applications and share them with LeScratch users in the LeMaker Forum at

General Purpose Input Output (GPIO)

GPIO is a generic pin on an integrated circuit whose behavior can be controlled by a user at runtime, regardless of whether it is an input or output pin.


GPIO pins have no special purpose defined and go unused by default. A number out of the list defined by RPi.BCM [4, 5, 6, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27] is usually available for GPIO controls. The GPIO board has 40 LEDs and 15...