Introduction: Arduino Polygraph Making
Is it possible to polygraph with the Arduino?First, let's talk about how the polygraph works work Mantgum. When you tell people lie deep in the electrical conductivity varies depending on the excitement. We will form the basis of our machine utilizing the conductivity changes in the skin. Galvanic Skin Response from medical sensors for this (GSR) will use the measurement sensor.
More information: http://www.robimek.com/arduino-ile-yalan-makinesi-yapimi/
Step 1: Materials:
- Arduino
- Galvanic Skin Response (GSR)Measurement Sensor
- buzzer
Step 2: Electronic Circuit Connections
- The sensor supply voltage: 3.3V – 5V
- The sensor signal pin: Analog 1 pin
- GND: GND pins to
- Buzzer plus 4. Digital Pune
- Buzzer gnd: Gnd
Step 3: Software Part:
const int buzzer_pin=4; //Buzzer pin
const int gsr_sensor=A1; // sensör sinyal pini
int ortalama_deger=0; // ortalama değeri
int sensor_degeri; // sensör değeri
void setup(){
long toplam=0;
Serial.begin(9600);
pinMode(buzzer_pin,OUTPUT);
digitalWrite(buzzer_pin,LOW);
delay(1000);
for(int i=0;i<500;i++)
{
sensor_degeri=analogRead(gsr_sensor);
toplam += sensor_degeri; delay(5);
}
ortalama_deger = toplam/500;
Serial.print("ortalama_deger =");
Serial.println(ortalama_deger);
}
void loop()
{
int temp;
sensor_degeri=analogRead(gsr_sensor);
Serial.print("sensor_degeri=");
Serial.println(sensor_degeri);
temp = ortalama_deger - sensor_degeri;
if(abs(temp)>50)
{
sensor_degeri=analogRead(gsr_sensor);
temp = ortalama_deger - sensor_degeri;
if(abs(temp)>50)
{
digitalWrite(buzzer_pin,HIGH);
delay(3000);
digitalWrite(buzzer_pin,LOW);
delay(1000);
}
}
}
Step 4: Description
The sensitivity of the sensor can be adjusted.These values will vary from person to person based on the person’s reference to the measured value in the event of a quiet excitement, hunger, fear as compared with the situation in these values can understand the status of the person accordingly.This difference will give buzzer alarm is activated when greater than 50 and people will be understood that lying is a difference between value and values of residents in a lie.
The following excel calm person, hunger, excitement shown changes in circumstances.
More information: http://make.robimek.com/polygraph-made-with-arduino/