Grove - GSR Sensor


3.3V 5.0V Digital

GSR, standing 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, an interesting gear to create emotion related projects, like sleep quality monitor.


  • Input Voltage: 5V/3.3V
  • Sensitivity adjustable via a potentiometer
  • External measuring finger cots


More details about Grove modules please refer to Grove System

Platforms Supported


In the following we are showing you how to use the Grove - GSR. Connect Grove - GSR Sensor to the analog port A2 of Grove-Basic Shield and Grove - Buzzer to digital port 3.


If you don’t have a Grove - Base Shield, don’t worry, the sensor can be connected to your Arduino directly. There are 4 pins in the grove connector: GND, VCC, NC and SIG. Obviously GND and VCC should be connected to GND and 5v pin of Arduino. NC means “No connection” so you can leave it disconnected. SIG should be connected to A0~A5 pin of Arduino.

Copy and paste the code below to a new Arduino sketch and upload it to Arduino.

const int BUZZER=3;
const int GSR=A2;
int threshold=0;
int sensorValue;

void setup(){
  long sum=0;

  for(int i=0;i<500;i++)
  sum += sensorValue;
  threshold = sum/500;
   Serial.print("threshold =");

void loop(){
  int temp;
  temp = threshold - sensorValue;
    temp = threshold - sensorValue;

Wear the finger sheath and relax, Now open serial monitor, we can see:

Then take a deep breath. The buzzer should buzz now. And an obvious change in the output value should be observed. The below is a graphs which is created in Excel using the data above. X axis represents time. and Y axis GSR data.


There are several graphs which are created in excel using GSR data.You can open the GSR sensor data.xls to see the detail data.


ArduinoWioBeagleBoneRaspberry PiLinkIt ONE


The platforms mentioned above as supported is/are an indication of the module's hardware or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking