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
- ARDUINO UNO/NANO R3 ( I am using a Nano R3)
- LED Generic (RED,GREEN,YELLOW)
- RESISTOR 2K
- 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.
How to detect a lie.
This is a simple apparatus considering basic components and schematics.
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 😀
STEP 3: WIRING
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.
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
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.
if (analogRead(A0) > 60)
if (analogRead(A0) > 20)
if (analogRead(A0) > 45)