The MagPi - July 2018

(Steven Felgate) #1
raspberrypi.org/magpi July 2018 25

RUN ANDROID ON RASPBERRY PI Feature


THINGS RESOURCES


Android Things
documentation
The basic information for
Android Things is a good place
to look for all your Android Things
needs – it also covers other
devices, which may be of use to
you if you’re planning to branch
out with what your Things app
will work on.

magpi.cc/BraebS

Hackster.io
Android Things projects
Many people use Hackster.io to post
and document their builds, and there
are plenty of projects to find on here
for both beginners and advanced
users alike. There’s even a special
Android Things tag for those kinds of
projects, and you can further filter it by
Raspberry Pi projects.

magpi.cc/gpmLrZ

Raspberry Pi
Forums
Need some help with your
Pi project? The Raspberry Pi
forums are the best place to
go to ask questions about
what you’re doing – you may
even be lucky enough to find
an existing thread that solves
your specific issue!

raspberrypi.org/forums

GREAT


STARTER


PROJECTS


Not sure what
to make with
Android Things?
Turn the page for
some inspiration...

LED blinker


This beginner’s tutorial shows you how to blink an
LED using Android Things. While it’s much more
complex than using GPIO Zero, you’ll be using Android
Things for more than just controlling electronics via
the GPIO. It’s well explained and gives you a nice basic
tour of the Android Studio work area.

magpi.cc/cKFQQw LED with a button


A follow-up tutorial to the LED blinker, this adds
input command code to the already present output
code for the LED. From here you can begin to see how
the code reacts to events, and you can start building
slightly more complex circuits as well.

magpi.cc/FKSVLp


Using Bluetooth


Jumping ahead, this tutorial teaches you how to make
use of Bluetooth communication on your Raspberry
Pi with Android Things, which is slightly more robust
than the available Python libraries you might use in
Raspbian. From here you can start truly developing an
interesting project for yourself.

magpi.cc/QbDjXY

Free download pdf