Interfacing The GSR Sensor to the Arduino to measure Resistance(Emotions).
In this tutorial, I'm going to show you how to Interface the GSR seed Sensor to the Arduino uno.
Items Required
1 x Gsr Seed sensor
1 x Arduino board (I am using An Arduino Uno).
1 x USB cable
1 x Computer with Arduino software installed
1 x Breadboard
Finger Electrodes
Circuit Theory:
GSR stands for galvanic skin response, is a method of measuring the electrical conductance of the skin. Strong emotion can cause stimulus to your sympathetic nervous system, resulting more sweat being secreted by the sweat glands. Grove - GSR allows you to spot such strong emotions by simple attaching two electrodes to two fingers on one hand. It is an interesting to create emotion related projects like sleep quality monitor.
Note:
Grove-GSR Sensor measures the resistance of the people, NOT Conductivity!
Specification:
Operating voltage : 3.3V/5V
Sensitivity : Adjustable via a potentiometer
Input Signal : Resistance, NOT Conductivity
Output Signal : Voltage, analog reading
Finger contact material : Nickel
Step 1:
Connect the circuit as per Circuit diagram
Connect the Grove-GSR to A0 on Base Shield.
Plug the base Shield into Seeeduino-V4.2.
Connect Seeeduino-V4.2 to PC by using a USB cable.
Step 2
Open a new window in the arduino terminal and type the code.
Do not Wear the GSR sensor.
Click the Tools-> Serial Plotter from Arduino IDE
Use the screw driver to adjust resistor until the serial output as 512.
Wear the GSR sensor.
We will see the below graph. Please deep breath and see the trends.
Human Resistance = ((1024+2*Serial_Port_Reading)*10000)/(512-Serial_Port_Reading), unit is ohm, Serial_Port_Reading is the value display on Serial Port(between 0~1023).
Result:
The values vary from person to person ranging from 200 to 500 (digital value).
If the test was done with larger set of people with a stimuli to trigger different emotions a pattern may emerge. If we can measure emotions of people then it can be used in applications like hospitals and schools to understand behavior of individuals.
You can try this experiment on a larger set of people
Stayed tuned for more fun tutorials
Buy Arduino here: https://amzn.to/3f5pMye
Comments