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

WLAN


Banana Pro features a WLAN chip called AP6210 (http://linux-sunxi.org/Cubietruck/AP6210), providing a wireless LAN. Additionally, this chip can be set to the access point mode. In this mode, Banana Pro can act as a wireless hotspot. This section describes the principal usage of the WLAN chip connecting to a hotspot. Moreover, the setup of a Banana Pro access point is described. In this mode, Banana Pro will be connected to the internal net by Ethernet and will offer this connection over the Pro's Wi-Fi adapter.

Setting up WLAN

The kernel module communicating with the AP6210 WLAN chip is called ap6210. Make sure that /etc/modules (sudo nano /etc/modules) contains a contains a line loading the ap6210 kernel module:

ap6210

Without a network manager, WLAN connection can be set in the /etc/network/interfaces file. My interfaces file is provided as follows:

# Wired adapter #1
auto eth0
  iface eth0 inet dhcp
#  iface eth0 inet static
#  address 192.168.178.86 
#  netmask 255.255.0.0
#  gateway...