logochip with ultrasonic sensor
[[logochip_with_ultrasonic_sensor]] last edit on
Mar 1, 2006
3:40 AM
by tasd
Tech Art and Sound class notes: Feb 28
- group project
- assignment for thursday: use blogs
- review syllabus
- art reviews?
- Muaz wins the guru prize
- workshop class on Thursday
The Concept of sensors
- introducing terms: bits, bytes, binary, hexadecimal, ports, shifts
- something happens, and we observe
- proximity: infrared vs. ultrasonic
- other techniques for proximity: capacitive, pyroelectric (?), others?
Logochip with infrared sensor
- Introducing the Sharp GP2D120
- theory of operation
- reading the analog output
- connecting to speaker
- exploring the code
- using LM386. Diagram of op-amp circuit courtesy Joe Paradiso MIT Media Lab
Logochip with Ultrasonic sensor
interfacing with the DEVANTECH SRF05:
- Introducing the Devantech SRF05
- theory of operation
- the capture/control module
connecting the ribbon cable:
yellow: +5Vorange: echo output
red: Trigger input
brown: ground
configuring the Capture/Compare module
- capture: wait for event on C2 and read timer values
- compare: wait a specific amount of time based on timers
See sections 14 and 15 of the 18F2320 spec sheet.
file:srf_demo.txt
file:srf_demo_easy.txt this code does not work very well. Not recommended.
file:pd film.pd Interface Pd with the Logochip and ultrasonic sensor to control a film
file:asolene.mov The apple snail opens and closes its mouth. Used in the pd file above. Or use your own film.
Logochip with 3 digit LED readout
Muaz- The concept of PWM
Reading sensor values in Pd
- The comport external
- Gem help and tutorials