Banana Pro Blueprints
eBook - ePub

Banana Pro Blueprints

Ruediger Follmann, Tony Zhang

Share book
  1. 366 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Banana Pro Blueprints

Ruediger Follmann, Tony Zhang

Book details
Book preview
Table of contents
Citations

About This Book

Leverage the capability of Banana Pi with exciting real-world projects

About This Book

  • Delve into the expanse of Banana Pi's self-managing functionalities and develop real-world projects
  • Gain hands-on experience of developing various wireless, multimedia, robotic, and sensor-based applications with Banana Pi
  • Develop your applications using Banana Pi through a project-based approach

Who This Book Is For

This book is designed for those who are interested in exploring the capabilities of Banana Pro. Basic know-how of Linux and embedded systems would be an added advantage.

What You Will Learn

  • Remotely connect to Banana Pro and program the embedded board
  • Use Banana Pro as a hotspot or provide an AirPlay server for wireless audio transmission
  • Find out about the different programming languages that can be used with Banana Pro
  • Build and program your own multimedia centre in order to watch television and movies
  • Connect peripherals such as a camera, LCD, or hard disk to Banana Pro
  • Manage and regulate your Linux system with Banana Pro
  • Stream music wirelessly from your mobile phone to Banana Pro

In Detail

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.

Style and approach

This book follows a project-based approach that covers the most important features of Banana Pro. Every chapter dives into the practical side of the implementation.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Banana Pro Blueprints an online PDF/ePUB?
Yes, you can access Banana Pro Blueprints by Ruediger Follmann, Tony Zhang in PDF and/or ePUB format, as well as other popular books in Computer Science & Hardware. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781783552382
Edition
1

Banana Pro Blueprints


Table of Contents

Banana Pro Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Introduction to Banana Pro
Banana Pro
Specifications of Banana Pro
Banana Pro onboard LEDs
Getting started
The first boot
Available operating systems for Banana Pro
Android
Linux
The FEX file
Transferring an OS to a hard disk
Add-ons
The LCD module
The 7-inch LCD step-by-step guide
The camera module
A step-by-step guide to the camera module
Cases
GPIO add-ons
An onboard microphone
Summary
2. Programming Languages
Basic principles
Remote connections
Secure Shell
Using xrdp for remote desktop connection
Basic requirements for programming Banana Pro
Editors
Shell programming
Checking the Banana Pro temperature
Controlling Banana Pro's LEDs from SSH
Programming GPIOs from SSH
Another shell example
WiringBP
Python
The basics
A simple web server
Using Python for GPIO
Setting LEDs in Python
A Python window example
C/C++
The WiringBP C code example
C access to onboard LEDs
Debugger
Scratch
Hello world – example for Scratch
Using LN Digital with Scratch
New kernels
Compiling on Banana Pro
Cross-compilation
Summary
3. Wireless Projects
OpenVPN
Connecting from Android
WLAN
Setting up WLAN
Setting up an access point mode
On air
The AirPlay protocol
Using an external USB SPDIF soundcard
AirPrint
Configuring CUPS
Printing from Android and iOS
Serving web pages
Installing PHP and MySQL
Installing contao
A measurement server
The FTDI/SPI control of devices
A web server
Explanations
The Python web server
The Python/C interface
C programming
Summary
4. An Arcade Cabinet
Implementing hardware accelerations
Installing dependencies
Installing modules
Installing packages
Installing a directory
Installing libdri2
Installing libump
Installing the sunxi-mali driver
The X11 version of the sunxi-mali driver
The framebuffer version of the sunxi-mali driver
Installing xf86-video-fbturbo
Getting device permission
Testing hardware acceleration
Implementing libretro emulators
Installing dependent packages
Installing libretro frontend - RetroArch
The X11 version of RetroArch
The framebuffer version of RetroArch
Installing libretro cores
Installing iMAM4ALL libretro core
Installing the SNES libretro core
Configuration
Playing games
Playing a game directly with a command line
iMAM4ALL games
For SNES
Playing a game from the RetroArch menu interface
Testing games
Building PCSX
Installing dependent packages
Installing PCSX
Downloading PCSX ReARMed
Patching
Compiling and installing
Playing PCSX games
Configuration
Testing PCSX games
Making an arcade cabinet for Banana Pro
Preparing the materials
A suitcase
A joystick
A micro USB extended line
A USB hub
An LCD display
An audio extended line
A mini keyboard
Designing a frame
Assembling
Assembling a base frame
Assembling Banana Pro and a joystick
Mounting an LCD
Assembling a top frame
Playing the Banana Pro arcade cabinet
Configuring output to an LCD
Configuring a joystick controller
Playing the game on the arcade cabinet
Summary
5. A Multimedia Center
Kernel preparation
Adding the I2S audio device
Setting the graphics memory to maximum
Deactivating display driver kernel logging
Activating IR driver key repetition
Activating the sunxi lirc driver
Correcting display driver brightness
Adding the DVB-SKY S960 USB box
Installing the accelerated mali ...

Table of contents