O'Reilly logo

Learning Banana Pi by Daniel Blair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using IR receivers

The Banana Pi has a built-in IR receiver. This is a sensor that listens for an IR signal that is sent from a device such as a remote, as shown in the following image:

Using IR receivers

This allows you to turn your Banana Pi into something like an HTPC for your TV. In order to get this to work, though, you will need some software. We will install LIRC, which will read the signal and allow us to perform different actions. If you don't install this and set the receiver as a keyboard input, you can actually write a bunch of gibberish just by using a remote.

To get started, we are going to install LIRC. We will do this via the command line, as follows: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required