with Pierre Jolivet
also Claire Nidecker / Denise Beck
12 April 2016 / 9:30 am – 4:30 pm
Computer Room / Media Dept. Johns Lane Building
Intro to the Workshop
Modes of sensing can capture data on how people interact with their environment (visual, locative and biometric data) and environmental conditions. How can this information be augmented, visualised and mediated? This workshop will explore the potentials of Quartz Composer and Resolume for live interactive visuals, using the eHealth sensors and Arduino.
This workshop is part of NCAD OpenLab. and the SIVAL project, collaborations with UCD. OpenLab aims to bring together creative and technical skills, to provide an embodied and critical understanding of analog and digital media technologies through practical hands-on workshops, fieldtrips and supported self-directed learning. OpenLab uses a workshop and DIY methodology to support student learning. Openlab provides resources and opportunities for experimentation, prototyping, discussion and collaboration. The SIVAL projects OpenLab is involved in are The Sensed Environment and Eye in the Sky. These are collaborations with UCD School of Architecture and Deptartment of Arcaheology respectively. For more information see this page
E-Health Kit and other Body Sensors
Arduino Boards and Software
To use the E-Health Kit you need the E-Health shield mounted on the Arduino Uno.
The most compatible Arduino software with the E-Health Kit is version 1.0.5. You can run different versions of Ardui
no on your computer at the same time. Go to “Products” page on Arduino website: https://www.arduino.cc/en/Main/Software and choose “Previous versions”, download and install.
Sensors not in the E-Health kit can be mounted on a breadboard and connected to Arduino Uno as per sensor schematic. Eg. Temperature sensor KY-013 – see below
Installing E-Health Kit and Libraries
The Cooking Hacks website (see link below) has detailed information about the E-Health Sensor kit and is the first place to visit when using them.
Photos and diagrams illustrate the process of installing and using. The Arduino code is provided for each sensor.*
* If using sensors to pass data to Quartz Composer – you need to use the stripped code (not the original code found on the Cooking Hacks website) – so that you are just passing numbers to Quartz, not words like ‘temperature’ or ‘bprm’ See Workshop Zip files for the stripped Arduino code.
You also need to install an E-Health Library to use with your sensor code. This has to be copied into your Arduino/libraries/ folder. All the original E-Health Libraries can be found at the above link.
E-Health Sensors
1. Pulse oximeter Pulse oximetry a noninvasive method of indicating the arterial oxygen saturation of functional hemoglobin. A pulse oximeter sensor is useful for assessment of a person’s oxygenation, and determining the effectiveness of or need for supplemental oxygen.
Acceptable normal ranges are from 95 to 99 percent.
Pulse rates http://www.disabled-world.com/calculators-charts/bpm-chart.php
What code to use: E-Health Library v2.3 with Arduino code supplied on Cooking Hacks E-Health webpage. If using with Quartz, use stripped Arduino code supplied at workshop.
Follow the steps online (see Cooking Hacks link https://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-sensor-platform-arduino-raspberry-pi-medical#step3_1) to install and use sensor.
Note: Set Serial Port Baud rate at 115200 to see coherent readings if you are getting gobbledegook in the Serial monitor.
Range of sensor:
bpm: 50 - 200 (The maximum cannot be determined but the average maximum is 200)
pulse: 50 - 200 (The maximum cannot be determined but the average maximum is 200)
2. Temperature Sensor This measures temperature – normal body temperature changes throughout the day but normally ranges from 36.5–37.5 °C. The numerical value given by sensor is in two decimal points. You can see minute body temperature changes second by second. This sensor could be used to measure body or environmental temperature in a range of situations. What code to use: E-Health Library v2.4 with Arduino code supplied on Cooking Hacks E-Health webpage. If using with Quartz, use stripped Arduino code supplied at workshop.
Follow the steps online (see Cooking Hacks link https://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-sensor-platform-arduino-raspberry-pi-medical#step3_1) to install and use sensor.
3. Galvanic Skin Response Skin conductance, also known as galvanic skin response (GSR) is a method of measuring the electrical conductance of the skin, which varies with its moisture (sweat) level. The sweat glands are controlled by the sympathetic nervous system, so moments of strong emotion, change the electrical resistance of the skin. Skin conductance is used as an indication of psychological or physiological arousal, The GalvanicSkin Response Sensor (GSR - Sweating) measures the electrical conductance between 2 points, and is essentially a type of ohmmeter.
The precision of the sensor is enough in most applications. But you can improve this precision by a calibration process. See Cooking Hacks website
What code to use: E-Health Library v2.4 with Arduino code supplied on Cooking Hacks E-Health webpage. If using with Quartz, use stripped Arduino code supplied at workshop.
Follow the steps online (see Cooking Hacks link https://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-sensor-platform-arduino-raspberry-pi-medical#step3_1) to install and use sensor.
4. Patient Position Sensor (Accelerometer)
The PatientPosition Sensor (Accelerometer) monitors five different patient positions (standing/sitting, supine, prone, left and right.)
What code to use: E-Health Library v2.4 with Arduino code supplied on Cooking Hacks E-Health webpage. If using with Quartz, use stripped Arduino code supplied at workshop.
Follow the steps online (see Cooking Hacks link https://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-sensor-platform-arduino-raspberry-pi-medical#step3_1) to install and use sensor.
Other sensors (not E-Health Kit)
LDR sensor: In the darkness the light-dependent resistor (LDR) is quite high. When you shine some light at it, the resistance quickly drops and it becomes a reasonably good conductor of electricity. It is thus a kind of light-activated switch that provides a range of values.
Code and board schematic found here:
https://sites.google.com/site/ncadopenlab/arduino-sensors
Temperature sensor KY-013
The module is based on the thermistor (resistance increases with the ambient temperature changes)
Multi-point temperature measurement Measures temperatures: -55°C / +125°C
Connecting to the Arduino
Sensor pin S connect to Arduino pin A5
Arduino pin 5+ --> Connect middle pin to Arduino 5Volts
Connect third pin to Arduino GND
Code and board schematic found here:
https://tkkrlab.nl/wiki/Arduino_KY-013_Temperature_sensor_module
Heart rate sensor KY-039 This is made from a bright infrared (IR) LED and a phototransistor to detect the pulse of the finger. Pulse monitor works as follows: The finger is inserted between LED and photoresistor.
The phototransistor used to obtain the flux emitted, from the blood pressure pulse in the finger, apon which the resistance of the photo transistor will be slightly changed. This sensor works best away from other lighting.
Connecting to the Arduino
Sensor pin S connect to Arduino pin Analog 0 / A0
Sensor pin + (middle pin) connect to Arduino pin 5Volts
Sensor pin - connect to Arduino pin GND
Code and info on use found on Arduino Forum . Code supplied by Dan Troung (see reply no 28 in forum) http://forum.arduino.cc/index.php?topic=230713.0
OTHER Links
NCAD Open Lab
https://sites.google.com/site/ncadopenlab/
SIVAL projects
https://sites.google.com/site/ncadopenlab/openlab-sival
Video tutorials on using Arduino
http://www.toptechboy.com/arduino-lessons/
Arduino Playground Community pages
http://playground.arduino.cc/