Skip to content

Sensors

Introduction

Most Android devices come with sensors for reporting movement, temperature, direction, location, etc. In this module, we'll talk about some sensor concepts and implement a simple moving puck on the screen using accelerometer input that translates tilt of the phone into movement of the puck.

Videos

Total video time for this module: 23:03

Sensors: Lecture and Examples (Summer 2021) (23:03)

Example Source

Sample Code: https://gitlab.com/605-686/fall-2023-refresh/modules/sensors