Unit 1A: Basic Circuits

Objective:

Analyse incoming sensor data from a mobile phone using calculus--the study of change.

Learn how to calculate the rate of change of a stream of numbers in PureData with descrete derivatives.

Learn how to employ graphic user interfaces effectively to see variation in data streams.

Steps and observations

  1. Set up a mobile phone to send accelerometer data to a computer using UDP over a wireless network.
  2. Consider the x and y elements of the 3-dimentional accelerometer data sent from the phone as a 2-dimensional vector. Learn how to calculate the magintude of a two dimensional vector
  3. Use GUI to visualize this maginude and it history
  4. Calculate the descrete derivative of this magnitude to find its rate of change; visualize the result in PD
  5. Use testing objects in PureData (e.g. >, <, ==, ...) to trigger an event based on the magnitude of the accelerometer data

Comments and Challenges

Other Files

  1. a-little-calculus.pd