Project tutorial
Arduino Based Lie Detector

Arduino Based Lie Detector

Hey everyone today I want to show you how to make an Arduino-controlled lie detector we can see all of theses happen in real time in graph.

  • 2,424 views
  • 1 comment
  • 13 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

Hey everyone today I want to show you how to make an Arduino-controlled lie detector.To measure the different responses that your bodies skingoes through depending on the situation you are in or the emotions you are feeling and the coolest thing of all is that we can see all of theses things happen in real time in an Arduino graph.

Code

arduino_code.inoC/C++
void setup(){
  Serial.begin(9600);
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(4, OUTPUT);
  digitalWrite(2, HIGH);
  delay(500);
   digitalWrite(3, HIGH);
  delay(1000);
  digitalWrite(4, HIGH);
  delay(1500);
}

void loop()
{
  if (analogRead(A0) > 15){ //15
    digitalWrite(4, HIGH); //red
  }
  else{
    digitalWrite(4, LOW); //red
   }
   
  if (analogRead(A0) > 4) //4
  {
    digitalWrite(2, HIGH); //green
  }
  else{
    digitalWrite(2, LOW); //green
  }
  
  if (analogRead(A0) > 8) //8
  {
    digitalWrite(3, HIGH); //yellow
  }
  else{
    digitalWrite(3, LOW); //yellow
  }
 
  int sensorValue = analogRead(A0);
  Serial.println(sensorValue);
  delay(20);
}
  

Schematics

Circuit Diagram
Flb6ayeirsb5unr large 1fvjipb73i rkg008rumc

Comments

Similar projects you might like

Arduino EMF Detector A.K.A Ghost Detector

Project showcase by Patel Darshil

  • 8,060 views
  • 9 comments
  • 18 respects

Arduino Lie Detector

Project tutorial by Dante Roumega

  • 42,386 views
  • 31 comments
  • 109 respects

Motion Detector Clock

Project in progress by Frazer Reid

  • 1,893 views
  • 0 comments
  • 3 respects

Arduino Based Security Project Using Cayenne

Project tutorial by ScottC

  • 9,169 views
  • 3 comments
  • 19 respects

Arduino Based Security System

Project tutorial by Abishek Bhalaaji

  • 4,454 views
  • 5 comments
  • 18 respects

RFID Based Automatic Door System

Project showcase by Robodia Technology

  • 35,756 views
  • 20 comments
  • 97 respects
Add projectSign up / Login