About

This lesson is going to show you how to interact with the Android Things Peripheral IO APIs to understand and communicate with a UART peripheral. In this case a ZX Gesture and Motion Sensor. Using this peripheral to code an IoT android app.

We will learn about the Universal Asynchronous Receiver/Transmitter protocol and how to read and use the technical documentation to help us code a UART peripheral. We will discuss the UART API's, how to deal with IOExceptions in your app, how to manage hardware resources and how Android Things works with the Android lifecycle. Coding an android application to communicate with the the ZX Gesture Sensor to detect swipe events. Swiping left or right to toggle lighting up the LEDs in different colours.

When complete, you will have learnt the basics of UART peripheral communication and also written an Android Things application that will be able to communicate using the ZX Gesture reading it's packets of bytes, to detecting a hand swiping left or right.

Something went wrong

Lesson added to
playlist

Create new playlist

We've got you covered

At Caster.IO we provide the best hyper focused & bite-sized development training available. Our goal is to
not waste your time, but to give more of it to you. From implementing a new pattern to learning a new technology,
we've got you covered.