Phidgets Presentation
Patch files
Sensors are devices that detect input from the environment and respond accordingly.
The output of sensors is the signal that is used for display or for further processing.
Examples of sensors: heat, sound, touch, light, motion sensors,etc…
General Electronic Sensor
Electronic Sensor System
Data received by the sensor and converted to analog or digital is then passed to micro-controller for further processing and usages.
The types of sensors are
Light sensor is a type of device that detects light.
A lot of proximity sensors are used as distance sensors. There are different types of distance sensors, which are: 4)
8)
Motion Sensor detects moving objects.The Electronic Motion Detector converts the detection into an Electric signal that is connected to an alarm.Some applications of motion sensors are burglar alarm,automatic turn on lights,monitor cameras,conference control room.: Motion Detector
The technologies used for motion detection are infrared,optics,radio frequency,sound,vibration,magnetism.
The types of motion sensors are
a) Infrared Sensor
Every object emits infrared radiation.The Infrared Sensor detects the change in the infrared radiation. The change in infrared radiation is the change in temperature between the body surface and the background. The background can be walls,floor, etc. Some applications where infrared sensors are used are burglar alarm,glass breaking detector,entry way light ….
Here is the tutorial showing the infrared sensor connected to arduino: Infrared Sensor Arduino
9)
10)
b) Ultrasonic Sensor
Ultrasonic Detector detects the change in the sound waves. The object in the ultrasonic wave path reflects the ultrasonic waves. The Ultrasonic detector emits the ultrasonic waves and checks whether there is any change in the frequency of the reflected waves. If there is a change, then it detects the motion.The disadvantage of ultrasonic motion detector is that it is less effective in areas of high levels of noise.11)
Microwave sensor detects change in the electromagnetic field to detect motion. It emits microwaves and checks the change in the frequency of the microwaves. If there is change in the frequency,then motion is detected by sensor. It is based on the Doppler effect(change in frequency). It is mainly used in outdoors.
12)
d)Tomographic Motion Detector
Tomographic Motion Detector uses radio waves to detect the change in motion.It detects whether there is a change in the radio frequency in the path. Motion is detected when there is a change in the radio frequency. Tomographic Motion Detector covers a large area and is used in warehouses,factories, etc.Tomographic Motion Detector
Touch Sensors are the transducers that detects human touch.The applications of touch sensors have increased a lot since the launch of iphone with multizooming capabilities that enhance the features of smart phones.13)
14)
The different types of touch sensors are
a) Capacitive Touch Sensor
15)Capacitive Touch sensors consist of sheets of glass with conductive coating on one side and a printed circuit on the other side. When the user touches the screen, current is then drawn from each corner of the electric field. As a result, there is a decrease in the electric charge. This decrease is measured by the circuit. This then enables the touch to be detected. Capacitive sensors are used in smart phones.
16)
b) Resistive Touch Sensors
17)
Resistive Touch Sensors consists of screen of two resistive layers separated by thin spaces. When there is a human touch the two layers come into contact with each other, which results in the change in the electric field. Resistive touch Sensors are cost effective, consistent and ensure a durable performance. Resistive touch
sensors are used in web phones.
c) Surface wave or Acoustic Touch Sensors
In surface wave or acoustic touch sensor, a glass layer is placed over the screen bounded with piezzo electric crystals that produce sound waves.The sound is absorbed which reflect a change due to human touch. This change in the sound wave is detected. SAW Touch Sensor has no coating on the screen, so the brightness of the screen is not affected. These type of sensors are used in ATMs, information kiosks, banking applications…
Here is the tutorial showing the touch sensor connected to the arduino: Touch sensor arduino
Potentiometer is a three terminal resistor with a sliding contact used to vary the resistance. It acts as a voltage divider,used to measure the voltage. The sliding contact is used to vary the resistance. At one end, minimum resistance is provided which results in large current flow in the circuit and at the other end, the maximum electric resistance leads to a small current flow in the circuit. There are two types, linear and rotary potentiometer. In linear potentiometer linear movement is used to change the electric resistance and in rotary potentiometer, rotatory motion of sliding contact changes the electrical resistance.
The Potentiometer can be connected to an Arduino board. One of the three outer pins of the potentiometer is connected to ground, the other pin is connected to 5v and the center pin is connected to the analog output. The centre knob of potentiometer is rotated to change the electrical resistance.18)
22)
The light sensor is used to detect light. In the diagram above the light sensor is used in the Automatic Dark Detector system. When there is light, the sensor switches off the LED switch (transistor). As soon as the sensor detects that there is no more light, it switches on the LED switch (transistor) and the LED lights up.
23)
The infrared proximity (distance) sensor uses infrared rays to detect the distance of an object from itself. The sensor periodically sends a beam of rays and waits to receive a reflection of the signal. If it receives a signal back it then calculates the distance between the object and itself.
24)
PIR stands for Passive Infrared. This type of motion sensor uses infrared rays to detect motion. In the diagram above, when motion is detected by the PIR sensor, the LED is then switched on. This type of motion sensor is sometimes used in security lights.
25)
In the above diagram, motion sensors are used in a room. Different nodes send rays across a room from different directions. When any of the rays is broken (obstructed) by a moving object, an alarm is triggered. Such systems are usually implemented in highly secure places like banks where there is need for extra security in addition to the security guards employed.
Touch sensor is a type of switch that starts operating when it has been touched or after it has been touched by an object. This is a capacitance touch switch that needs one electrode operate function.
The electrode is usually placed behind a non-conductive panel such as: wood, glass or plastic. It works using body capacitance.
When a person touches it, it increases the capacitance and triggers the switch.
The lamp keeps charging and discharging its metal exterior to detect changes in capacitance.
26)
Potentiometer is a type of resistor that can be used to control the volume of devices, voltage, etc…
There are 2 types of potentiometer:
It works more like a voltage divider. This means that it divides the voltage in a circuit into 2 parts depending on the position in which the slider is placed.
29)
A, B is connected across the power supply (potentiometer)
C is the sliding contact which can be adjusted
G is the galvanometer (detecting electric current)
When C is slid all the way to A the resistance is reduced to 0. On the other hand, if C is slid all the way to B the resistance will be at maximum.
1. Brightness Control for LCD screens 30)
Light Sensors are used to control brightness in LCD screens based on the amount of ambient light. Screen brightness intensity is adjusted based on changes in ambient sunlight, room lighting, or other light sources.Screen brightness is controlled by ambient light sensors which maintains screen intensity that is pleasing to human eye.It conserves energy and also ensure appropriate amount of screen brightness.
2. Gesture Detection for Smart phones 31)
The detection of human movement. The Gesture detection is used to enable the smart features in devices such as smart phones. The screen is turned off when the phone is held to the user's ear and is re-illuminated when the user takes the phone away from the ear.This is an energy management system. The IR light emitted from LED emitters gets reflected due to the presence of an object in the path.These reflecter rays falls on proximity sensors which determines the position of user's hand from the screen. On the basis of nearness of object from the mobile device ,the features like turning the screen off are enabled.
3. Light Sensor LED globe light 32)
Light Sensor LED globe light is used for lightning the corridor, wash room lighting, storeroom lighting, architectural lighting, display scene. The major functional features of Light Sensor LED globe light are Sensor function, Light sensor, Hi Lo function.
Sensor Function - Motion Sensors like PIR Infrared Motion Sensor detects human movement.
Light Sensor - Automatically shut off the bulb in day time and turn on in darkness.
HI Lo function - the function that detects human movement and turn on lights when there is motion of an object and turn off when there is no movement.
33) One of the application for Distance Sensor is to help the car in the parking places.
The picture above shows a car that use ultrasonic sensor (a type of Distance Sensor). The sensor uses sound in order to detect objects.
Motion Sensor can be used:
Touch sensor's application is used alot in daily products for example:
Potetiometer is used in many products used in our daily lives. It can be be used to change the volume of the TV, in the air condition system of a car, etc….
38)
39)
The idea of the VVVV patch is to use the output from different sensors to control the movement, the groove, the color of the „Walking Boxes“, the background's color and to „destroy“ the „Walking Boxes“.
The „Walking Boxes“ is adapted from here
The diagram above explains the physical connection for the patch.
When sensors are connected to Phidget board and connect to VVVV, the values of all the sensors start changing between 0 and 1.
The output is connected to Linear Spread > HSL (the value from the light sensor is used as input for HSL in order to change the color) > Dynamic Texture (since the idea is to change the „Walking Boxes“ color or texture, this pin is needed) then from there connect to the texture pin of RigidSkinning.
In this experiment, a torch as the source of light to the sensor in order to see the changes in the color of the „Walking Boxes“. The picture below shows the colour change based on the brightness of the torch light (move closer to the sensor). The final picture shows the cyan colour when the torch is closest to the sensor and the colour is not changing anymore.
The output from the VVVV unzip box is connected to the input of the IO box „Groove Amount“ in order to control the groove of the „Walking Boxes“. When the distance sensor detects any obstacle (for example a hand moved) closer to it, the groove of the „Walking Boxes“ increases and if the obstacle is far away from the sensor, it's groove reduced.
The distance sensor which is used in this project has the maximum value of 0.6 (instead of near 1), for that reason the groove movement is not properly expressed.
For this sensor, the output from the unzip box is connected to HSL (similar to Light sensor, Motion sensor output will be used to send the value to the input of HSL) then connect to a colour IO box (optional) then connect to the background's colour of the Renderer in order to change the color.
When the sensor detects motion, the colour of the background changes depending on the value the Motion sensor sends (the picture below shows the different in the colour of the background).
The output from the VVVV unzip box is connected to the input of the IO box „Walk Amount“ in order to pause the „Walking Boxes“. When the touch sensor connects to the Phidget board, the value of is 0.997 and when touched, the value changes to 0, the „Walking Boxes“ are then paused.
The image above shows the VVVV connection from the output of the unzip box to the input of the Linear Spread which by sliding the Potentiometer to maximum residence, the „Walking Boxes“ are destroyed and vice versa.
1. Light Sensor:
2. Distance Sensor:
3. Motion Sensor:
4. Touch Sensor:
5. Potentiometer: