How to make Arduino EMF ghost detector with LCD
HTML-код
- Опубликовано: 9 сен 2024
- How to make Arduino EMF ghost detector with LCD
Scroll down for code.....
Have you seen ghost haunting TV series. How they got to know where is spirit. What machine they use & what science is behind that machine. You will get the answer in this tutorial. We are going to make an EMF detector, also known as Ghost Detector. Ghost haunter community believes that spirit entities (ghosts) are an energy form. This energy in turn creates a disruption in the EMF field thus allowing your EMF meter to detect their presence. In short we are making Arduino EMF ghost detector with LCD.
Working of Project:
Whenever it detects EMF, LED will Light up and buzzer will make sound until detector is in EMF range. We have also added LCD, it will show how much EMF level is there and also note down last highest EMF was detected. To reset that highest value, either you can unplug power or press reset button on Arduino.
LiquidCrystal_I2C library Github link
github.com/fde...
I2C scanner arduino website
playground.ard...
If you want to support my video please buy any product through my amazon affiliate link. I will receive a commission, at no extra cost to you.
LIST OF COMPONENT (affiliate links)
amzn.to/2fvSRJq (Arduino)
amzn.to/2zg8aeX (I2C)
amzn.to/2yBk7eT (LCD display)
amzn.to/2uKfEDf (Piezo Buzzer)
amzn.to/2vSpUON (LED)
amzn.to/2vmSK8l ( 470K ohms Resistor)
amzn.to/2vJ3lvo (Jumper wire)
amzn.to/2XHtdp3 (Soldering wire) or solid wire as an antenna
Music: Elektronomia & JJD - Free
Watch: • Elektronomia & JJD - Free
#include (LiquidCrystal_I2C.h) //instead of parenthesis () put angle bracket as RUclips description does not allow angle bracket
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x3F, 16, 2);
int Antenna = A0;
int val = 0;
int LED = 11;
int buzzer = 6;
int high_emf, curr_emf;
void setup() {
pinMode(buzzer, OUTPUT);
Serial.begin(9600);
lcd.begin();
}
void loop() {
val = analogRead(Antenna);
lcd.setCursor(0, 0);
lcd.print("EMF Level: ");
lcd.setCursor(11, 0);
lcd.print(val);
lcd.setCursor(0, 1);
lcd.print("Last Hi EMF:");
lcd.setCursor(12, 1);
lcd.print(high_emf);
if(val )= 2){
val = constrain(val, 2, 100);
curr_emf = val;
val = map(val, 2, 100, 1, 255);
analogWrite(LED, val);
if (curr_emf) high_emf){
high_emf =curr_emf;
}
digitalWrite(buzzer, HIGH);
delay(100);
lcd.clear();
}else{
analogWrite(LED, 0);
digitalWrite(buzzer, LOW);
}
//Serial.println(val);
}
sketch_sep29e:17:11: error: no matching function for call to 'LiquidCrystal_I2C::begin()'
lcd.begin();
Hello can you message me i want to know.instead of a beep can I use my own mp3 sound .thankyou
I have went over this many times. I followed the schematic exactly on the web site. It detects nothing. If I unhook the ground it goes all over the place. Plug the ground back in and sits at 0. I am using a 470k resis and solder wire as an antenna just as in video. Ideas?
Got it! used a 1k resis in a "u" shape from gnd to A0 and solder antenna right to A0 side of resistor. Works perfect.
I too get no results following exactly. I am trying your solution but no luck yet.
Maybe you don’t have any ghosts nearby? 😆
I wanna ask a question, the level is based at what?
where is ghost
So ho do we get rid of the Uno and use a 9V battery? Kind of pointless if you have to buy a new uno for every project, especially if you need the end product smaller and are working with a budget. Maybe you could do some projects where you transfer to a schematic and board. But I guess this entire thing, including my comment, is kid of pointless as you never bother to reply to anyone's comments. 🤷♀👎