2015年3月5日 星期四
Tone generation from light sensor and pitches.h
The full name of this light sensor is Ambient Light Sensor. This light sensor seems as the Ping Sensor. But, this sensor is using the light to be the only condition and detect the light to measure the distance of the object. If the object distance is changed, the data of the sensor will be also changed. In this workshop, we use the speaker to be the obvious reaction of this light sensor. We found out that if the object is closed to the sensor, the sound of speaker will be lower and quieter.
The features of this light sensor:
|
Ping Sensor/ Tilt Sensor, LCD Screen
This Ping Sensor provides an easy method of distance measurement. In this lab workshop, we used speaker to be the output device to reflect the reaction of Ping Sensor.
The key features of this sensor are:
- Provides precise, non-contact distance measurements within a 2 cm to 3 m range
- Ultrasonic measurements work in any lighting condition, making this a good choice to supplement infrared object detectors
- Simple pulse in/pulse out communication requires just one I/O pin
- Burst indicator LED shows measurement in progress
- 3-pin header makes it easy to connect to a development board, directly or with an extension cable, no soldering required
by http://www.parallax.com/ - Parallax.com
Also, we used LCD screen to be the output of this reaction of this Ping Sensor.
It is really fun that can use the distance of the object to have a connection with this sensor. I think this sensor can apply in daily life to improve our life. I think this sensor can use in some exhibition for the security to avoid or warn someone that do not try to step inside more in one specific area.
訂閱:
文章 (Atom)