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

Playing the Banana Pro arcade cabinet


After we have finished setting up the arcade cabinet, we need to perform some configurations so that we can play games using a joystick and LCD display.

Configuring output to an LCD

In the preceding software configurations, the display output mode is HDMI, so we need to first change the display output to an LCD. We used a 10.1 inch LCD here, so we need to adjust the parameters to accommodate it.

Power on Banana Pro again, and try to connect it through SSH or just use HDMI. In order to use the LCD as the display output, we need to change the parameters in the script.bin file. To do so, we need will install the sunxi-tools to edit the script.bin file:

cd ~
git clone https://github.com/linux-sunxi/sunxi-tools.git
sudo apt-get install libusb-1.0-0-dev
cd sunxi-tools/
make

We then need to compile script.bin file to a .fex format file:

sudo mount  /dev/mm cblk0p1 /mnt
cd /mnt
sudo cp script.bin script.bin.bak
sudo ~/sunxi-tools/bin2fex scritp.bin script.fex

Next...