Arduino Detects Pants on Fire

Hard as it is to imagine, lie detectors have been sold as children’s toys for a number of years. A simple battery-operated device clipped to your fingers and would show the conductivity of your skin. The concept — which is probably not very reliable — observers that lying causes you to imperceptibly sweat which causes a sudden increase in your skin’s conductivity. These cheap toys would have a meter and you’d note the meter deflection to determine if the subject was lying.

You can debate the amusement value of interrogating your friends, perhaps, but they were pretty common and still exist (including some that shock you if they detect you are lying). Seventeen-year-old [BuildIt] has his own modern take on this classic device using — what else? — an Arduino. You can see a video of the device below.

fvb06bzirsuey29-largeOf interest is how he used the latest version of the Arduino IDE to visualize the data graphically (see right). This is easier than interpreting a bunch of numbers scrolling by on the serial terminal or having to import the data into a spreadsheet. You can find the graph under the Tools menu listed as Serial Plotter.

You don’t need a lot of external parts for this project, although the finger clips and the cardboard box will take a little mechanical skill to complete.

We’ve looked at galvanic skin response and other biosignal processing before. You can do a lot more if you build a little more hardware.

34 thoughts on “Arduino Detects Pants on Fire

    1. Adam Conover is always too generalisttic with his many claims on his TV show. The Polygraph is only as good as the technician operating it and analyzing the results. It’s not meant to detect lies. It was meant to detect stress during simple binary questions AFTER establishing a baseline for the target. It is only detecting deception or evasiveness to the questions. Everybody can’t do the tests only highly trained technician/analysts. There are ways like VSA and EEG/Tomography (which is much more reliable). The later one measures the different temperatures and EEG signals coming from your brain. You are shown several photographs and if you show a major difference than your baseline measurement then you are very familiar with the content of the photo. Also it depends on which part of the brain is reacting too.

      1. Nah, the polygraph is bullshit. It’s been tested. The way to pass one is to suck up to the “technician” giving the test. If he thinks you’re guilty, you fail. He might not know it, but that’s the biggest influence on his “interpretation”. They’re usually independent operators who hire their services out to gullible businesses. They’d be better off with graphology.

        Talking of graphology, is that why some places want hand written application letters? There’s a ton of money in selling nonsense to businessmen, apparently. If I had no shame I’d make a fortune doing it.

        As it is, I’ll probably just modify this design slightly and start a bogus religion. Everyone knows that’s where the real money is.

        1. Greenaum – Well I guess you are correct if the PG box was in the wrong hands like amateurs of local police departments. However, a Certain Important Agency in USA uses the “box” to screen new employees and existing employees every 5-years just to keep them honest. When I say “stress” I mean your body exhibits galvanic skin conductance, change in respiration, and your heart beat changes when your under stress and body loaded up with coritsol and adrenaline. The box detects these abnormalities when after baseline is established with control questions. The operator watches these 3-4 conditions on a graph. He/she marks off where “changes” occurs during binary YES or NO questions are asked.

          The operator must be trained in how to interpret the readings. As just any local yokel cop is not that skilled. Some times a person with a psychology degree is required. So yes its granted that in MOST scenarios the bog is bogus. But when used by skilled professionals who’s job is to root out liars, it’s very effective.

          Imagine every 5-years your company employer makes you take one of these probing tests. You wouldn’t be able to hide anything – not even your seemingly innocent alternative lifestyle. That may explain why this particular US federal agency above has a very high turnover in employment and then they go out and write a book.

          Yes you can BEAT the box. But you need to be trained on how to do it. You could bribe the operator but that will only last for so long as he/she is also tested every 5-years. And when things start going sideways at the company they up the period to once every year to make things much more interesting.

          I like graphology, I use it a lot. I also like body language. You don’t depend on these things. You just use them to give you a clue what your dealing with initially. Then you use the OTHER data to fill in the blanks later.

          I know I’m preaching to the choir…

          1. it has been proven to be bullshit no matter which company or outfit runs them, the basic concept is bullshit and will always be, it is too general and based around unknown factors, that “stress” you are talking aboput is so general it hurts how anyone could think it useful for anything.

          2. https://antipolygraph.org/faq.shtml

            Is good on this. It’s not reassuring you’re a fan of graphology, I meant that as an example of something ridiculous, which it is, completely. Phrenology has more credibility (am I making the same mistake twice?).

            The Certain I Agency use polygraphs because it gives them a sense of authority and credibility. It makes the sucker think you know the truth (or “truth”) when you don’t. It helps create the right atmosphere for interrogation. As a theatrical prop, it has decades of public credulousness behind it.

            Police use it when they’re fishing. On the grounds that if it comes back “lie”, that’s more pressure on the interogatee, if it comes back “truth”, they can just ignore it. Which is, of course, cherry-picking.

            All “credible” lie detectors are operated by professionals who’ve had training in it’s use. After a while, though, consciously or not, they learn to just go with their gut feeling. It’s the same as psychics, some people believe they have psychic powers, and rely on intuition. The successful psychics, however, learn cold reading and manipulation techniques. They get “better” results.

            The whole thing’s nonsense, a scam. It’s never shown success in actual tests. It’s only fortunate that courts still won’t use them, despite a gullible public who’ve seen films and those awful lie-detector based Roman circus shows on TV believing in them completely.

            I’d seriously sooner have my innocence tested by tarot cards. Please tell me you don’t believe in THOSE!

          3. Greenaum – “It’s not reassuring you’re a fan of graphology”

            Oops! I think I screwed up there. Not a fan of graphology. I meant “handwriting analysis” which is quite revealing about someone at the moment of writing. It’s a great tool.

            The AGENCY in question actually doesn’t use a classic PG – per se (nor fMRI). They invariably use a “squid” which is far more reliable as it detects cerebral temperatures and EEG electrical activity. It is a small helmet on your head with a bunch of bundled wires (hence the squid metaphor). Also use VSA. The PG may be employed as a theater prop as you say. They then ask probing questions like: “Yes or No. Have you ever met this foreign national?”. “Are you presently sleeping with this person?”. It helps to show a photograph too. You’d be surprised how the TRUTH is found every 5-years. Yes it is intimidating and many people just resign before the testing – or so I’m told.

            I agree with you about local police dept’s are just abusing the PG system. As you say it can be used effectively by highly trained organizations but it should only be used for gathering human intelligence (humint) NOT in a court of law.

            I do not believe PHYSICS or SOOTHSAYERS are ALL con-artists. However, I would NEVER depend on their data like certain agencies depend on SRI International foolishness like Ingo Swan and Harold Puthoff. They should have never contracted with those fools. They heard the Russians were using it effectively so we had to copy them as actionable intel has high (or damn lucky at best).

            Unlike you I am not a atheist nor agnostic. Just like the now famous Hollywood actor and former-shadow-warrior, Bazzel Baz, I too openly believe in the metaphysical (aka M.P.) world for valid quasi-scientific, and anecdotal reasons. Therefore I do believe that some of these human clowns get it right sometimes, but it is NOT under their OWN power. Arguably it is intel from the miscreant M.P.’s. Ostensibly, when they start providing data about your childhood, undocumented pets, and other data that was never expressed to any other humans, it stands to reason a M.P. was present back then and is just repeating it secretly to their human operative today. I know this sounds ridiculous to you but you may want to talk about it with your Baz-like friends and family. There is something quite REAL about the whole M.P. thing I see you dismiss too easily.

            HOWEVER, that’s for a different discussion so let’s not hi-jack this thread like some do. There are other ways to do so without pissing off our HaD friends. I’m sure you could arrange for something just like I could too.

          4. Greenaum – “The Certain I Agency use polygraphs because it gives them a sense of authority and credibility. It makes the sucker think you know the truth (or “truth”) when you don’t. It helps create the right atmosphere for interrogation. ”

            That gave me a humorous thought… a common interrogation technique I’ve seen that invariably works is something you should try as a parlor trick on one of your friends or family (or in real life work):
            – Get a common manila folder and print on the tab the target’s name and the words TOP SECRET (or something titillating).
            – Fill it with blank copier paper but staple it in so it doesn’t accidentally fall out.
            – Start the interview with the prop sitting on the table in front of him or her but not close enough for him to grab it.
            – Tell them we have good intelligence on your recent activities.
            – Pick up the prop and open it.
            – Act like your studying it carefully but don’t flip up the pages as he’ll see they are all blank.
            – Shake your head in disgust and say something like. “It really looks bad here Joe. Is there something you want to tell me before it’s too late to make a deal?”

            Must suckers will fall for it and cave. Only the really experienced ones will just laugh at you and look at you incredulously.

          5. Sonsofthunder,
            I’m not sure if SQUID is what I saw postered at a symposium a couple of years ago, it was a supercooled helmet for diagnosing brain activity. What I remember most was how the presenter said that Post Traumatic Stress Disorder was easily see in diagnosing a patient. PTSD causes (is caused by?) certain electrical activity in the brain and is markedly different than other disorders.

    1. How simple could you get on a device like that to warn you that phone or tablet was overheating?

      I’m thinking something no more than 2mm thick, no more than about 40x60mm large, and you can just stick on the back of it. Do you think it’s doable with some combo of a peltier (used as thermoelectric voltage source) element and the guts from a musical birthday card?

      1. Peltiers need a cold side, they work on the temperature difference between sides. In a pocket isn’t a good place for that. They’re pretty crap at generating power anyway.

        Simpler would just be a thermistor and a little battery, or power it off USB. That said, phones have internal temperature measuring. Maybe an app could monitor that, in the few seconds you have before the power goes out and your leg catches fire.

  1. Galvanic skin response is NOT a lie detector (per se). It MAY be indicative of ‘stress’. Sometimes people sweat more when lying but not always. There are many indicators of emotional stress when trying to be deceptive. like dry mouth, eye shifting, eye gaze direction, vocal anomalies, changes in respiration, etc. A more reliable method is the VSA method which remotely tracks stress via your vocal anomalies. The Israelis perfected the VSA device (for purchase) called TRUSTER. If somehow HaD could reverse-engineer that and have an Arduino operate it that would be very cool. No need for human contact, just a microphone as your sensor, Imagine how it could be used in our 2016 American presidential election by just aiming it at the TV speaker and watch the display go off the chart on one particular candidate who is especially truth-challenged.

    1. I 100 percent agree with you thats why when i made this video I did my best to explain that this only a tiny fraction of the test you could do and isnt 100 percent accurate but thanks for providing more information I might make another one with even more sensors like a microphone to try and make it a little bit more accurate

      1. Dante Roumega – Very cool!

        However, before doing the microphone thing please do exhaustive research on Voice Stress Analysis via Google and Wikipedia. It is NOT a simple thing and is kinda’ complex. It involves detecting the LACK of subsonic signals from your throat called micro-tremors. Evidently, the TRUSTER people made a complete science of analyzing different kinds of anti-micro-tremors to identify all sorts of stress reactions of the human throat. TRUSTER can detect evasiveness, deception, and all sorts of emotions just from listening to people talk. You can use it on the phone, video, radio, or live TV. https://en.wikipedia.org/wiki/Voice_stress_analysis

        Do NOT download the so-called FREE TRUSTER on YouTube. It is a TH virus.The real one costs $195 USD. However, you can get a small hardware version cheaply on EBAY or AMAZON.

        FYI – No such thing as a electronic LIE DETECTOR. Polygraphs can only detect stress while being asked simple binary questions.It is the Polygraphers job to analyze the results to determine deception or evasiveness. It is a science or trade-craft, not a parlor trick.Some people know how to “beat the box”, however, that is also a trained trade-craft.

        1. Polygraphs don’t even measure “stress”, whatever set of objective criteria “stress” is supposed to be. The correlations they’re based on don’t exist. It’s all voodoo and confidence trickery. Faith.

    1. rellimvt – You need to watch the movie ZERO DARK THIRTY (2012) – there is a number of aspects the benighted people of the world don’t understand about EIT (enhanced interrogation techniques) i.e. “water boarding”, that are just totally ineffective at arriving at the “truth” of a situation. Yes you could automate it but the results would be the same. It might work on a street thug who is hiding the money he stole yesterday but it is a total waste of time on a trained psychopath with pre-concieved pseudo-back stories built-into his head by his handlers. Only intellectual giants like Donald J. Trump think they work ALL the time for ALL detainees. Try automating a voice stress analysis program and then you’ll have something…

  2. We have some resident Electronic Mind Reading Gadgeteers on HaD who have modified these toys. I wonder if toys like MINDFLEX could be modified to work like the SQUID that is used by some as deception-detectors in USG. There is no such gadget as a LIE DETECTOR.

    Start by asking the target to look at pictures of pets like cats and dogs and personal friends and family. Ask them if they recognize them. Notice the MINDFLEX lights. That’s your baseline. Then ask them to look at bad people they are NOT supposed to know or have ever met. Then see if the MINDFLEX shows a DIFFERENT display. Should be an interesting experiment. Imagine if you could have the Arduino monitor the LEDs for patterns.

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