Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use GSR Sensor: Examples, Pinouts, and Specs

Image of GSR SensorDesign with GSR Sensor in Cirkit Designer

Introduction

Explore Projects Built with GSR Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino UNO Based Health Monitoring System with GSM Reporting: A project utilizing GSR Sensor in a practical application
Arduino UNO Based Health Monitoring System with GSM Reporting

This circuit is designed for a health monitoring system that measures temperature, heart rate, galvanic skin response (GSR), and muscle activity (EMG). It uses an Arduino UNO as the central processing unit, interfacing with a DHT22 temperature and humidity sensor, an AD8232 heart rate monitor, a GSR sensor, a Myoware muscle sensor, and a SIM800L GSM module for communication. The system can control a relay for a steam generator, sound a buzzer, and display data on an I2C LCD screen, with the ability to send SMS alerts based on sensor readings.

Open Project in Cirkit Designer
Image of Arduino UNO R4 WiFi-Based Health Monitoring System with OLED Display: A project utilizing GSR Sensor in a practical application
Arduino UNO R4 WiFi-Based Health Monitoring System with OLED Display

This circuit is designed for a health monitoring device that measures temperature, heart rate, and galvanic skin response (GSR). It uses an Arduino UNO R4 WiFi as the central microcontroller, interfacing with a BME/BMP280 sensor for temperature, a MAX30100 sensor for heart rate and oxygen saturation, and a GSR sensor for skin conductivity. The circuit includes a 0.96" OLED display for output, a TP4056 module for battery charging, a toggle switch for power control, and a polymer lithium-ion battery for power supply.

Open Project in Cirkit Designer

Technical Specifications

Pin Configuration and Descriptions

Pin Name Type Description
VCC Power Input Connect to 3.3V or 5V DC power supply.
GND Ground Connect to the ground of the power supply.
SIG Analog Output Outputs an analog voltage proportional to the skin's electrical conductance.

Usage Instructions

  1. Connecting the GSR Sensor:

    • Connect the VCC pin to a 3.3V or 5V power source.
    • Connect the GND pin to the ground of your circuit.
    • Connect the SIG pin to an analog input pin of a microcontroller (e.g., Arduino UNO).
  2. Using the GSR Sensor in a Circuit:

    • Place the sensor electrodes on the skin (commonly on fingers or palms) to measure skin conductance.
    • Ensure the electrodes are clean and make good contact with the skin for accurate readings.
    • Avoid excessive movement during measurements to reduce noise in the signal.
  3. Arduino UNO Example Code: Below is an example of how to use the GSR sensor with an Arduino UNO to read and display the sensor's output:

    // Define the analog pin connected to the GSR sensor's SIG pin
    const int GSR_PIN = A0;
    
    void setup() {
      Serial.begin(9600); // Initialize serial communication at 9600 baud
      pinMode(GSR_PIN, INPUT); // Set the GSR pin as an input
    }
    
    void loop() {
      int sensorValue = analogRead(GSR_PIN); // Read the analog value from the sensor
    
      // Convert the analog value to voltage (assuming 5V reference)
      float voltage = sensorValue * (5.0 / 1023.0);
    
      // Print the raw sensor value and voltage to the Serial Monitor
      Serial.print("Raw Value: ");
      Serial.print(sensorValue);
      Serial.print(" | Voltage: ");
      Serial.println(voltage);
    
      delay(500); // Wait for 500ms before the next reading
    }
    
    • Note: Adjust the reference voltage in the code if using a 3.3V system.
  4. Best Practices:

    • Ensure the sensor is calibrated for the specific application to improve accuracy.
    • Avoid using the sensor in environments with high humidity or extreme temperatures.
    • Clean the electrodes regularly to maintain consistent performance.

Troubleshooting and FAQs

Common Issues

  1. No Output or Constant Readings:

    • Cause: Poor connection between the sensor and the skin.
    • Solution: Ensure the electrodes are securely placed on the skin and making good contact.
  2. Fluctuating or Noisy Readings:

    • Cause: Excessive movement or environmental interference.
    • Solution: Minimize movement during measurements and ensure the sensor is used in a stable environment.
  3. Low Sensitivity:

    • Cause: Dirty or worn-out electrodes.
    • Solution: Clean the electrodes with a soft cloth and ensure they are free of dirt or oils.
  4. Incorrect Voltage Readings:

    • Cause: Incorrect reference voltage in the code.
    • Solution: Verify the power supply voltage and update the code accordingly.

FAQs