Search this site
Embedded Files
Galvanic Skin Response

GSR

by Michael Gasperi

Introduction
Radio Shack Biofeedback and Lie Detector
Simple GSR Electrodes
GSR Experiments
EXPERIMENT 2 – Muscle Tension
EXPERIMENT 3 – The Effect of Temperature on the Galvanic Skin Response
EXPERIMENT 4 – Position of the Electrodes
EXPERIMENT 5 – Experiments With More Than One Person
EXPERIMENT 6 – The Effects of Relaxation
EXPERIMENT 7 – The Effects of Pain
EXPERIMENT 8 – The Startle Response
EXPERIMENT 9 – Adaptation and Recovery
EXPERIMENT 10 – Word Association Tests
EXPERIMENT 11 – Apprehension
EXPERIMENT 12 – The Effect of Touch
EXPERIMENT 13 – Mental Effort
EXPERIMENT 14 – A Game
EXPERIMENT 15 – A Lie Detector
EXPERIMENT 16 – Conditioning
EXPERIMENT 17 – Extinction of a Conditioned Response
EXPERIMENT 18 – Spontaneous Recovery
The GSR2
LEGO Mindstorms

Introduction

Galvanic Skin Response GSR or Electrodermal Activity is the study of the change in human skin conductivity (resistance) under different psychological conditions. Used in lie detectors (polygraph) and biofeedback devices, the measurement is actually quite simple but frequently associated with expensive equipment. Some interesting information about GSR can also be found at the iMotions website, but I present a number of inexpensive alternatives for measuring skin resistance openly available for researchers and hobbyists.

Over the last 15 years I’ve had many webpages dedicated to building homebrew LEGO sensors. The one that always got the most hits was the one on Galvanic Skin Response or GSR. I’ve fielded many emails for more information about GSR and how to build the sensor with something other than the LEGO Mindstorms kit. I wonder how many sets LEGO sold to people only interested in using it to measure GSR. It seemed to me that I should provide another more relevant way to homebrew a GSR sensor using a smartphone.

Radio Shack Biofeedback and Lie Detector

Radio Shack sold a Lie Detector Kit that used dry electrodes. The great thing about the instruction manual for this product is that it included 18 Physiological and Psychological Experiments and are repeated elsewhere on this blog. All of these experiments could be carried out using the Smartphone, LEGO, or GSR2 versions. I think this same basic product was also sold for Biofeedback (right) and you can still get the instructions for that product from the Radio Shack support page.

Radio Shack Lie Detector

The schematic for the kit version is typical for this kind of “resistance to frequency” converter. RBody is not really a resistor but is actually the resistance between your fingers through the electrodes. Two transistors (Q2 and Q3) are used has a high gain non-inverting amplifier which oscillates due to a capacitor C1 connected for positive feedback. You can find schematics for simple oscillators like this all over the place. A third transistor Q1 is used to alter the frequency of the oscillator by messing with the bias of Q2. Q2 was originally a germanium, but I’ve found that a silicon PNP works about as well.

Circuit Diagram for Radio Shack Lie Detector

Other versions of the Radio Shack product:

Radio Shack Biofeedback Monitor

Micronta Biofeedback Monitor

Simple GSR Electrodes

The magazine Electronics Now had an nice article on building a Biofeedback Monitor in the December 1996 issue. I have modified their plans for finger probes slightly. You use “Sticky Back Velcro” and Aluminum Foil to make them. An assembly diagram and photo of the finished product are shown below. I used the Loop side of the Velcro (looks like carpet) for the part that wraps around the finger, and small square of the Hook side (stiffer plastic) to act as a catch. The stripped and frayed end of the connector wire is sandwiched between the Loop sticky side and the Aluminum Foil that covers the rest of the probe. These are known as a dry type electrodes. Professional electrodes would employ a conductive paste that would make the readings more stable and repeatable.

GSR Experiments

Experiments from the Science Fair Electronic Lie Detector Project Kit copyright 1970 by Radio Shack and reprinted here with permission. However, they can be used with any GSR measuring device.

EXPERIMENT 1 – Breathing

Ask the subject to take a very deep breath. You will observe the sound increases in pitch. This indicates his skin resistance has dropped due to the activity of the sweat glands. The slight muscular effort of taking a deep breath causes the sympathetic nervous system to send impulses to the sweat glands which in turn reduces the skin resistance. The change in skin resistance is called a GALVANIC SKIN RESPONSE. It is usually abbreviated to GSR by psychologists. If you are acting as the subject, can you detect your normal breathing cycles? There are great individual differences which will be observed in these experiments. Some people produce large responses just by talking. Conversely, others will produce only a slight response even it they are kicked in the shins.

EXPERIMENT 2 – Muscle Tension

Direct the subject to squeeze a rubber ball hard for several seconds, or curl his toes and release them. Next, tense the stomach muscles, or same similar activity requiring muscular exertion. Which activity produces the most response? In doing these experiments the subject should keep the hand with the electrodes very still if possible. Allow at least 15 to 20 seconds for rest between tests

EXPERIMENT 3 – The Effect of Temperature on the Galvanic Skin Response

Request the subject to stand outside for a few minutes if it is cold and repeat experiment 1. What results do you get? Give him a few minutes to warm up and try the experiment again. Are the results any different? If possible have the subject remain in a very warm place for a while and try Experiment 1 on him. Have him hold some ice cubes for a short interval; re-test him.

EXPERIMENT 4 – Position of the Electrodes

By now you have probably discovered that a deep breath will usually give a good galvanic response. Try placing one electrode on one hand and one electrode on the other hand. Do you notice any difference? If you are careful, you can try holding the electrodes firmly to other places of the skin. Can you still get good results? As a result of this experiment, what conclusions con you draw about the distribution of sweat glands in the skin?

EXPERIMENT 5 – Experiments With More Than One Person

Put one electrode on one person and the other electrode on another person. Have the two people hold each others hands which are not connected to the electrodes. Try any of the previous experiments on each person separately and on both together. Or place several persons in a chain with the electrodes at the end of the chain, and try experiments on these subjects tied together in series like batteries or other electric elements.

EXPERIMENT 6 – The Effects of Relaxation

Place the electrodes on a subject as previously described. Instruct him to relax as much as possible. Have him shut his eyes and sit or lie quietly. What happens? When a person relaxes his skin resistance increases The instrument reflects this change. Perhaps you can see how a device might be made which would wake a person up whenever he fell asleep.

EXPERIMENT 7 – The Effects of Pain

Ask the subject to pinch himself or bite his lip or finger. Any painful stimulus will produce large galvanic skin responses. In general the instrument will indicate strong, pleasant or unpleasant emotions. It will also react when a subject is startled, under tension, nervous, or exerting unusual mental effort. The experiments outlined below are just some of the many possible ones that can be tried

EXPERIMENT 8 – The Startle Response

When the electrodes have been placed on a subject and he has remained quiet for 30 seconds, suddenly clap your hands loudly together, or strike your fist on the table. You will observe a large galvanic skin response. You will notice that the instrument does not respond until some time after the strong stimulus. This time delay is typical with the galvanic skin response and is designated as the LATENCY of the response. It may vary from one to three seconds. Part of the reason for the time delay or latency of response is the addition of a chemical reaction with the electrical reaction. A chemical reaction is usually slower in response than electrical reactions. Try different methods of startling the subject, such as a flash of light, a slight electric shock. etc. A pronounced reaction may result from a very mild stimulus.

EXPERIMENT 9 – Adaptation and Recovery

Select a standard method of startling the subject which can be regulated and repeated at approximately the same strength every time. Repeat this stimulus at intervals of not less than 30 seconds. What happens to the galvanic skin response? You will note that they rapidly decrease until practically no response can be observed. This reaction is called ADAPTATION by psychologists Next, do not startle the subject for several minutes. It is advisable to loosen or remove the electrodes occasionally to allow the blood to flow and the skin to breathe. Suddenly repeat the startle stimulus to the subject. You will probably observe a large galvanic skin response. This is called RECOVERY. How many trials does it take for adaptation to re-occur now as compared with the first time?

EXPERIMENT 10 – Word Association Tests

Most sensory stimuli so far considered have acted directly, or nearly so, on the nervous system to produce a galvanic skin response. If abstract stimuli such as words are presented to the subject, the effect on the nervous system is usually indirect and due to the meanings associated with the words. Pictures or music may also produce galvanic skin response. Psychologists have often tested the effect of words on subjects by presenting them one at a time and noting their reactions. There ore some words which nearly all people will react to and others which will produce no noticeable reaction. Below is a list of words which you con read to a subject and observe his galvanic skin responses. Read the words slowly and clearly. Pause at least three seconds between each word to allow time for a reaction to occur; otherwise you will not be able to tell which words are associated with large responses. The words with the asterisk have been found to produce galvanic skin responses in most subjects. You can make up your own:

carrot kiss* can white give ball gross subject’s name*

paper woman* sand mother* pencil love* read afraid*

walk proud* flower fry pond marry*

You can easily observe an adaptation effect by repeating those words to which the subject gave large responses.

EXPERIMENT 11 – Apprehension

Most subjects will give a galvanic skin response if they are apprehensive or if they expect that something is about to happen to them. You may startle a subject by a loud noise or a sudden light blow, or you may pinch him but all this is not necessary. Merely remark casually to on onlooker – “Let’s see what a good pinch will do.” and reach out a hand toward the subject. This will often give nearly as large o response as on actual pinch. You may pretend to touch electric wires to the subject to give him a shock and also obtain a galvanic skin response. These results depend on many factors, such as your personality, the subject’s personality, how well the subject knows you, how many people are present and how many of them are strangers to the subject. It is difficult to control all these factors and you should not be surprised if you do not obtain consistent results.

EXPERIMENT 12 – The Effect of Touch

It is possible to use very weak stimuli with a subject who is apprehensive or otherwise a bit frightened of this instrument. Merely reach out and touch the subject lightly on the hand. You may after, obtain a large galvanic skin response with this very slight stimulus. How do you account for this?

EXPERIMENT 13 – Mental Effort

Any difficult mental task will often produce a galvanic skin response. Ask a subject to solve an arithmetic problem in his head such as, what does 6+3-5 x 4+7+836 = ? You may also try asking him to solve a difficult problem, define a hard word, spell a difficult word, read small print at a great distance, etc.

EXPERIMENT 14 – A Game

Ask the subject to write a number from 0 to 10 on a piece of paper. No one should watch him or look at the number. Then make repeated guesses of the number. When you guess the correct number, the instrument should show it. The subject may try to fool the device by laughing, tensing, coughing, or relaxing as much as possible, You may try other variations of this by using playing cords or by having the subject hide an abject while others are out of the room. The subject may either deny everything or may say nothing

EXPERIMENT 15 – A Lie Detector

Ask the subject a few simple questions for which you know the correct answer, and observe his response. A lie will be indicated by a galvanic skin response – a lowering of skin resistance. This will occur from one to four seconds after the answer has been given. For this reason, it is important to space the questions at least ten seconds apart. A simple question such as “how tall are you?” will usually produce a large response it the person lies about it Sometimes a response will be observed before the question is actually asked. This is a result of the emotional activity which the person undergoes when he anticipates a revealing question. One simple procedure is to show the subject a playing card and ask him to name it. After a few preliminary trials where he tells the truth (by request) he may then be permitted to lie. The first lie will probably be clearly indicated. After catching a subject once in a lie, drop this method because most people quickly became practiced at lying about such a simple thing. A similar technique can be attempted by using a coin and asking the subject to name it after it is flipped and shown to him Note: People vary greatly in their responses. Some are very practiced liars, and a simple, non-emotional or unimportant lie can readily be told without being detected by this device. Also, nearly everyone can learn, in the process described above, to lie in a relaxed manner. These factors require that the operator be both skilled and practiced in the measurement of the galvanic skin response

EXPERIMENT 16 – Conditioning

This is a difficult experiment to do, even for professional psychologists, so do not be concerned if you do not obtain good results. Some subjects are better for this experiment than others and you may have to try two or three. Instruct the subject to assume a relaxed position. Get two stimuli ready for presentation to the subject. One of the stimuli should be very weak so that by itself it will not produce a galvanic skin response. This may be a small light, a quiet doorbell, or a spoken word. The second stimulus should be strong enough to definitely produce a good galvanic skin response. It may be a very loud sound, such as that made by a hammer on a pan, or it may be a light blow on the arm or a pinch. etc. First demonstrate that the weak stimulus alone produces no galvanic skin response. Then present both stimuli at nearly the same time to the subject. (You may need two people to do this.) For best results the second, strong stimulus should be given about one-half second after the weak stimulus. Repeat this at intervals of about thirty seconds for three to six times. Then, without forewarning the subject, do not give him the second, strong stimulus. Do you observe that he gives a good galvanic skin response anyway? If he does, he is said to be CONDITIONED. He has responded to the weak stimulus as if it were the strong stimulus. He is apparently unable to distinguish the two stimuli. The response resulting from the weak stimulus which formerly did not produce a response is said to be a CONDITIONED RESPONSE.

EXPERIMENT 17 – Extinction of a Conditioned Response

Repeat Experiment 16 to obtain a strong conditioned response. His conditioned response will probably be less. Repeat the weak stimulus again at intervals and you will observe that his galvanic skin response will gradually decrease and soon became unobservable. (This is similar to the adaptation experiment.) This process is called EXTINCTION.

EXPERIMENT 18 – Spontaneous Recovery

Repeat Experiment 17. Give the subject a ten or fifteen minute rest and then attach the electrodes to him again. Do not tell him what you are going to do, and present to him the first weak stimulus again. You may observe that he again gives a conditioned response. This is called SPONTANEOUS RECOVERY. The initial weak stimulus has again recovered its power to produce a strong response. You can again extinguish this spontaneous recovery and after a further rest observe a second recovery. You can recondition him at any time by presenting both stimuli together as in Experiment 16. Try variations of this experiment and others described in this manual and see what you can discover Psychology is still an open science.

The GSR2

The GSR2 by Thought Technologies is one of the most common GSR devices you are likely to find in the market. It has a computer mouse like appearance with the finger electrodes on the surface. It works by producing an audio tone proportional to skin resistance. Based on the number of these you find listed on EBay, there must be a lot of them out there.

GSR2 by Thought Technologies

The guts of the GSR2 are amazingly simple. I “reverse engineered” one to see how it worked. The manufacturer mischievously scratched off the label of the integrated circuit in a feeble effort to hide its value. After a little analysis I figured out that it is actually a CD4046 CMOS phase locked loop IC. With only a handful of other components, it makes a very successful GSR meter.

GSR2 PCB

Below is basically the schematic diagram for the GSR2. I’ve left out a few things they did for an earphone connection. They are only using the Voltage Controlled Oscillator VCO part of the 4046 IC. By selecting the VCO center frequency (f0) to be around 30kHz, they get a lot of frequency variation around 400Hz with only a little change in voltage. That saves having a preamplifier to boost the relatively small GSR signal.

GSR2 Basic Circuit DIagram

LEGO Mindstorms

Over 15 years ago LEGO introduced a product known as Mindstorms. Basically it was a programmable computer and some sensors and motors. Combined with the LEGO Technic style construction pieces, people could easily create rather complex inventions like robots. Unfortunately it was originally provided with an impossibly simple programming language. Almost immediately, a hacker community sprung up to reverse engineer both the software and hardware to improve the system.

I primarily worked on the hardware by developing sensors for sound and color as well as ways to connect more inputs. The flurry of activity attracted the attention of the folks at MIT who had been involved with Mindstorms prototypes. The word Mindstorms is actually borrowed from the work of MIT professor Seymour Papert (See: Mindstorms: Children, Computers, And Powerful Ideas) who pioneered the use of computers in education.

An event called Mindfest was hosted at MIT in October 1999 to physically bring together the innovative individuals who had been collaborating across the internet. I was asked to be a member of a discussion panel and to also lead some homebrew sensor workshops. These experiences lead to my writing several books (See: Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level, Second Edition (Technology in Action) on enhancing the stock Mindstorms product. While I was at Mindfest, I heard an interesting discussion by students Karen Wilkinson and Mike Petrich (See: The Art of Tinkering) who were using a number of sensors to monitor humans. One of the sensors basically measured the subject’s skin resistance which varies with emotion among other things. This idea turns out to be quite an old concept. Even the earliest electrical experimenters over 100 years ago noticed that skin resistance varied over time. The effect is actually utilized as one of the many, hence the poly in polygraph, measurements combined in a lie detector. Turns out it is an easy thing for the LEGO Mindstorms computer to measure as well.

You can’t get more simple than the LEGO NXT Galvanic Skin Response GSR sensor. It is just a cut 9V LEGO motor wire and some aluminum foil wrapped around your fingers with tape. The Media Lab at MIT has a program called the Affective Computing Research Project that also uses this type sensor.

NXT Conversion Cable

Below is a very simple NXT program that produces a tone whose frequency corresponds to skin resistance. The greater the skin resistance, the greater the RAW sensor value. Higher skin resistance indicates a more relaxed condition, so this produces a lower frequency tone. Sweating lowers the skin resistance and in turn produces a lower RAW sensor value. This then produces a higher frequency tone. If the electrodes are not connected, the RAW value is 1023 which results in a negative frequency and the NXT produces no sound. Click HERE to download a more complex version that displays the RAW sensor value and allows you to turn the sound on and off

Simple NXT GSR program

I also wrote a simple data logging program that just records the RAW sensor value every 10 seconds into a file. The file is then uploaded from the NXT to the PC and plotted using Excel. Below is a graph of my GSR while playing an intense video game. Lower values indicate lower skin resistance and hence higher stress. Near the end I was trapped in a dark room and was being munched to death by aliens. The rapid drop in skin resistance reflects the increased tension of being killed. I kept recording for a few minutes after the game to capture the emotional recovery.

Plot

Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse