Class Notes (839,574)
Canada (511,407)
IAT 267 (14)

IAT267_Week 8.docx

8 Pages

Interactive Arts & Tech
Course Code
IAT 267
Helmine Serban

This preview shows pages 1,2 and half of page 3. Sign up to view the full 8 pages of the document.
Data from Multiple Sensors Two sensors on analog pins 0 and 1: light sensors, and slider sensors Code can be extended for more than two sensors Sending Data through the Serial Port For Processing to be able to distinguish the data from the light sensor from the data coming from the slider sensor, values are packaged in different ways -all data goes through the serial port in the form of a train of bits Data from the light sensor Data from the slider sensor End of data character Parsing the Data Packing in Processing Variable to hold all values received from the serial port: Use the splitTokens() method to look for certain characters in the string of values Outcome Sensing Movement-Assessing the Problem How much you need to know about the motion of objects Position-where the object is within space Orientation-rotation around an axis (which way the object is facing) Velocity-how fast the object is moving and in which direction Absolute-the exact position in space Relative-the change in previous position of the object Identity-discernment between multiple objects Degrees of Freedom Related to position and orientation -few degrees of freedom, the easier to work with Position: three degrees of freedom -left to right (x axis) -up and down (y axis) -front to back (z axis) Orientation/Rotation -pitch or tilt (x axis) -pan or yaw (y axis) -roll (y axis) Sensitivity for Ranging Sensors Ranging sensors -senses distance of a body from the sensor -senses movement in front of the sensor Range: max, min -most sensors range under 9 ft -video tracking range is adjustable depending on the zoom of the lens Constrainants Apply constrainants to movement -limit number of people -entrances/exits Constrain the space rather than applying more complex technology Ranging Sensors-Operating Principles Reads the distance from a target Works by sending out some reference signal -light -megatism -sound Measure the amount of energy that reflects off the target and compare it with the energy that went out -difference is converted into an electrical signal that can be read by a microcontroller Detecting Presence Binary output: present or not Simple digital sensor switches -foot -photoelectric -magnetic Motion dectors Foot Swithes Work well within a small area Long strings of metal tape separated at intervals by foam tape -when someone steps on the sensor, the foam tape compresses and the metal strings touch each other -need to be robust which depends on weight of people Photoelectric Switches A light beam hits a target sensor When the beam is broken by a body passing between the sensor and the light source, the switch is activiated Magnetic Switches Consist of a very thin pair of contacts in a protective housing When they are exposed to a magnet, they are drawn together closing the switch E.g. Reed switches Motion Detectors Responds to changes in infrared light in the space Only reacts to change-will not respond if someone is in the room and standing still Determinining Position Where the person is in space Having position and motion info means that you can determine velo
More Less
Unlock Document

Only pages 1,2 and half of page 3 are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

Log In


Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.