UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

GSR Class

Module: gsr
  • ID: gsr
  • Name: Galvanic Skin Response ( GSR ) Sensor
  • Category: electric
  • Manufacturer: seeed
  • Connection: analog

Measures the electrical conductance of skin to measure strong emotional reactions. In other words, it measures sweat on your fingers as an indicator of strong emotional reactions.
gsr.jpg

Item Index

Methods

Methods

GSR

(
  • pin
)
Number

Grove GSR sensor constructor

Parameters:

  • pin Number

    Analog pin to use

Returns:

Number:

calibrate

()

Calibrates the Grove GSR sensor

value

() Number

Gets the electrical conductance of the skin from the sensor

Returns:

Number:

Electrical conductance of the skin