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

Building the LeScratch smart house


Imagine that you are still half awake on your sweet bed early in the morning. It's time to wake up but you expect something more interesting to replace the ringing of your alarm clock. What about this situation: you wake up to the singing of a gentle bird rather than the alarm clock, which might make you panic. Then, you touch a button on the wall and your favorite kind of music starts to play. Brushing your teeth, you glance at the LCD screen, showing the weather report and timetable; it gives you suggestions on what to wear and reminds you of your schedule for the day. After you get ready and head to the garage, the doors open by themselves when you get closer to them; lights in corridors turn on when there's a slight sound and switch off in intervals.

The LeScratch handler program is very simple to use and flexible when adding new extensions; apart from current realized sensor modules, it's easy to add more new modules as well. To implement all these...