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
- Set up a mobile phone to send accelerometer data to a computer using UDP over a wireless network.
- 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
- Use GUI to visualize this maginude and it history
- Calculate the descrete derivative of this magnitude to find its rate of change; visualize the result in PD
- Use testing objects in PureData (e.g. >, <, ==, ...) to trigger an event based on the magnitude of the accelerometer data
Comments and Challenges
- Devise a way to trigger three different descrete events using the accelerometer sensors on a mobile phone
Other Files
- a-little-calculus.pd