-26%

Grove – GSR Sensor 測謊器 皮膚電阻感測器 流汗感測器 seeed原廠

NT$433 NT$320 未稅

尚有庫存

貨號: 101020052(D5-6-7) 分類: , 標籤: , , ,
  • 商品說明

商品說明

Grove – GSR Sensor 測謊器 皮膚電阻感測器 流汗感測器

GSR通過測量皮膚電流反應來測量皮膚電導率。強烈的情緒會刺激你的交感神經系統,導致汗腺分泌更多的汗水.Grove – GSR允許您通過簡單地將兩個電極連接到兩個手指來發現這種強烈的情緒,它能夠製作與情感有關的項目(如睡眠質量監視器),是一個很有趣的裝備。

Grove - GSR sensor

注意:此設備不是醫療設備。

特徵

  • 檢測皮膚的電導
  • 電極指帶

規格

  • 輸入電壓:5V/3.3V
  • 可通過電位計調節靈敏度
  • 外部測量指套

範例

接下來我們向您演示如何使用Grove-GSR。將Grove-GSR連接至Grove基礎擴展板的模擬端口A2,Grove蜂鳴器連接之數字端口3。 然後把下面的代碼複製粘貼到一個新建的Arduino文件並載入到Arduino。
Grove - GSR Sensor 測謊器 皮膚電阻感測器 流汗感測器

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

void setup(){
  long sum=0;
  Serial.begin(9600);
  pinMode(BUZZER,OUTPUT);
  digitalWrite(BUZZER,LOW);
  delay(1000);
  
  for(int i=0;i<500;i++)
  {
  sensorValue=analogRead(GSR);
  sum += sensorValue;
  delay(5);
  }
  threshold = sum/500;
   Serial.print("threshold =");
   Serial.println(threshold);
  }

void loop(){
  int temp;
  sensorValue=analogRead(GSR);
  Serial.print("sensorValue=");
  Serial.println(sensorValue);
  temp = threshold - sensorValue;
  if(abs(temp)>50)
  {
    sensorValue=analogRead(GSR);
    temp = threshold - sensorValue;
    if(abs(temp)>50){
    digitalWrite(BUZZER,HIGH);
    Serial.println("YES!");
    delay(3000);
    digitalWrite(BUZZER,LOW);
    delay(1000);}
  }
  }

帶上手指套然後放鬆,打開串口監視器,我們可以看到: 接下來深呼吸,這時蜂鳴器鳴叫,隨後可以觀測到輸出值會有一個明顯的改變。下面是一幅用上述數據繪製的電子表格圖,X坐標代表時間,Y坐標代表GSR值。
GSR Result Data.jpg

Result Chart.jpg

參考數據

這有一些用GSR數據繪製的電子表格圖。您可以打開文件:GSR傳感器數據.xls官產詳細數據。

Reference graphs1.pngReference graphs3.png

Reference graphs2.pngReference graphs4.png

 

 

出貨清單

  • Grove – GSR sensor x1
  • Grove 連接線 x1

 

Documents

 

 

=========================================================

 

Grove – GSR sensor

GSR stands for galvanic skin response and it is a method of measuring the electrical conductance of the skin. Strong emotions 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 simply attaching two electrodes to two fingers on one hand. It is an interesting gear to create emotion related projects like sleep quality monitor.

Note: This device is not a medical device.

Features

  • Detects conductance of skin
  • Finger Straps for electrodes