Project showcase
Arduino EMF Detector A.K.A Ghost Detector

Arduino EMF Detector A.K.A Ghost Detector © GPL3+

Halloween is near, so grab your Arduino, make an EMF detector and play with it.

  • 6,057 views
  • 9 comments
  • 16 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

Halloween is near so I present to you Arduino EMF detector a.k.a Ghost Detector Circuit.

Here LED is Connected Such that its positive terminal is connected at 11th pin of Arduino and negative terminal is connected to GND and analog pin 5 through 10k resistor. Add Antenna from analog pin 5 of Arduino. Now, upload code and your Ghost Detector is ready!

Code

Untitled fileC/C++
int inPin = 5;             // analog 5 
int val = 0;                 // where to store info from analog 5
int pin11 = 11;         // output of red led

void setup() {
 
  Serial.begin(9600);
  
}

void loop() {
  
  val = analogRead(inPin);                    // reads in the values from analog 5 and
                                                                   //assigns them to val
  if(val >= 1){
    
    val = constrain(val, 1, 100);               // mess with these values                                       
    val = map(val, 1, 100, 1, 255);        // to change the response distance of the device
    analogWrite(pin11, val);                    // *note also messing with the resistor should change  
                                                                   // the sensitivity
   }else{                                                     // analogWrite(pin11, val); just tuns on the led with 
                                                                  // the intensity of the variable val
    analogWrite(pin11, 0);                     // the else statement is just telling the microcontroller
                                                                 // to turn off the light if there is no EMF detected
  }
  
 Serial.println(val);                                // use output to aid in calibrating
 
}

Schematics

captureemf_XgN1bVNQQW.JPG
Captureemf xgn1bvnqqw

Comments

Similar projects you might like

ATtiny85 EMF Detector

Project tutorial by Giovanni Gentile

  • 7,133 views
  • 0 comments
  • 18 respects

Electromagnetic Field Detector - Arduino Uno

Project showcase by justin1445

  • 18,369 views
  • 9 comments
  • 23 respects

Arduino Lie Detector

Project tutorial by Dante Roumega

  • 46,095 views
  • 34 comments
  • 120 respects

Hazardous Gas Detector with LED Indication

Project showcase by Patel Darshil

  • 2,785 views
  • 1 comment
  • 10 respects

Food Detector

Project tutorial by crispylel

  • 35,424 views
  • 7 comments
  • 91 respects

Healthcare Skin Pressure Detector

Project tutorial by David Escobar

  • 5,087 views
  • 2 comments
  • 17 respects
Add projectSign up / Login