Arduino Lie Detection System

INTRODUCTION ABOUT THIS PROJECT

Who has eaten my chocolate? Did you saw my shoe? Do you really wanna do this? Are you crazy? Where do you live ? When is your birthday? … and lot more.

There are several questions that we ask our friends and strangers but do we really get genuine answers. How do we know that the other isn’t lying?

And the amazing thing is NOW YOU CAN! ๐Ÿ™‚

THINGS YOU NEED TO MAKE THIS PROJECT

  1. ARDUINO UNO/NANO R3 ( I am using a Nano R3)
  2. LED Generic (RED,GREEN,YELLOW)
  3. RESISTOR 2K
  4. CABLES

SOFTWARE NEEDED

  1. ARDUINO IDE ( LATEST VERSION)

LET’S MAKE IT

Hey guys today I want to show you how to make an Arduino-controlled lie detector to see when your friends are lying to you ๐Ÿ˜€ or to measure the different responses that your bodies skin goes 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 theseย things happen in real time in an Arduino graph using an Arduino Plotter function.

 

Step 1:

unnamed.png

How to detect a lie.

 

FMI1LUNIRSB5VTB.LARGE.jpg

This is a simple apparatus considering basic components and schematics.

Step 2:

Our skin is amazing! It provides a medium for us to experience the sense of touch, it keeps infections out and keeps innards in but I bet you didn’t know that our skin changes conductivity depending on many different things one being our mood! It called Electrodermal activity (EDA) and there’s a really interesting Wikipedia page you can read here. The basics are that our skin changes its conductivity depending on how we feel.

We start by connecting our Arduino to the subject and then connect the Arduino to a computer with the graphing software (I’ll go over this in detail later)

We have to start by asking the subject some easy questions we know they will answer truthfully like “what is your name” and “where do you live” to get a baseline and from there we can start asking questions that they may lie about, if they do they would probably feel nervous and then we can read the change in the baseline that is established earlier if they lie ๐Ÿ˜€

 

PART LIST

This slideshow requires JavaScript.

 

STEP 3: WIRING

FLB6AYEIRSB5UNR.LARGE.jpg

The wiring for this is pretty easy, we will start by connecting them in this order:

  • Connect A long piece of cable to Arduino analog pin 0
  • Connect the 2k resistor to ground and the extended analog 0 pin
  • Connect A long piece of cable to Arduino 5 volt pin
  • Connect the anode (long leg) of the green led to pin 2 and the cathode (short leg) to ground
  • Connect the anode of the orange led to pin 3 and the cathode to ground
  • Connect the anode of the red led to pin 4 and the cathode to ground

That’s all the wiring for the Arduino.

SOFTWARE RESPONSE

 

F05W608IRSUEY26.LARGE
NORMAL RESPONSE
FVB06BZIRSUEY29.LARGE
SUDDEN SHIFT

 

The main piece of software we are going use is the newest version on the Arduino IDE. The new update brings a new way to see the data being received from the Arduino, instead of being in text form from the serial monitor, it can now be displayed in a real time graph which will help us identify when the data changes its pattern (when someone lies)

To open the plotter open Arduino and navigate to the tools menu and you should see it there just below the serial monitor.

Now the code for the microcontroller is at in the code section below. copy it and upload it to your board.

Step 5: Making the finger clips

This slideshow requires JavaScript.

 

If all goes well you should have a small portable Arduino lie detector but let me warn you this isn’t the most accurate system, in fact, most real lie detectors use a host of other sensors to determine if someone is lying such as a heart rate monitor and others, what am saying is don’t uses the result of this for serious questions. ๐Ÿ˜€

If you have any questions please either send me a personal message or leave a comment and ill try my best to get back to you.

CODE

void setup()
{
Serial.begin(9600);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
digitalWrite(2, HIGH);
delay(500);
digitalWrite(3, HIGH);
delay(500);
digitalWrite(4, HIGH);
delay(500);
}
void loop()
{
if (analogRead(A0) > 60)
{
digitalWrite(4, HIGH);
}
else
{
digitalWrite(4, LOW);
}
if (analogRead(A0) > 20)
{
digitalWrite(2, HIGH);
}
else
{
digitalWrite(2, LOW);
}
if (analogRead(A0) > 45)
{
digitalWrite(3, HIGH);
}
else
{
digitalWrite(3, LOW);
}
Serial.println(analogRead(A0));
delay(20);
}

YAAAEEYY! YOU MADE IT ๐Ÿ™‚

HAPPY INTERFACING ๐Ÿ™‚

SHUBHAM GUPTA

TECEX

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s