2015年3月5日 星期四

The documentation and demo video

https://drive.google.com/file/d/0B5oKuybedo_GVVN2czlVY3c0YU0/view?usp=sharing


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:

Non-contact detection
Non-contact detection eliminates damage either to the target or sensor head, ensuring long service life and maintenance-free operation.

Detection of targets of virtually any material
Detection is based on the quantity of light received, or the change in the quantity of reflected light. This method allows detection of targets of such diverse materials as glass, metal, plastics, wood, and liquid.

Long-detecting distance
The diffuse-reflective photoelectric sensor has a detecting distance of up to 1 m 3.3', and the thrubeam has a detecting distance of up to 10 m 32.8'.


High response speed
The photoelectric sensor is capable of a response speed as high as 20 µs.

Color differentiation possible
The sensor has the ability to detect light from an object based on the reflectance and absorption of its color, thus permitting color detection and differentiation.

Highly accurate detection
A unique optical system and a precision electronic circuit allows highly accurate positioning and detection of minute objects.

From SensorCentral.com





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.