Skip to content

bhoumik-20/-Dih-rone-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

(Dih)rone Simulator

This project implements a multi-sensor telementary circuit using ESP32 microcontroller . It compiles all the real-time environmental and motion data that revolves around the drone and helps you visualise the drone in a 3️D environement replicating the same environment.

Hardware Components

  • ESP32 Microcontroller 🧠
  • Accelerometer --> ADXL345🚅
  • Ultrasonic Sensor --> HC-SR04📡
  • BMP180🎈
  • DHT11🌡️
  • LDR Sensor☀️

Required Libraries

  • Wire
  • Adafruit_Sensor
  • Adafruit_ADXL345
  • Adafruit_BMP085
  • DHT

Working

Step 1 - Initialization

  • As soon as the whole circuit starts, the micrcontroller initializes the Serial conncection and verifies the connectivity of the different sensors like ADXL345 and BMP180.

Step 2 - Data Acquisition

  • After the establishment of the connection, different data sets are received from different sensors, like
  1. Motion - Captures 3-axis acceleration from the ADXL345.
  2. Proximity - Measure the bstacles in the vicinity using the ultrasonic sensor (HC-SR04).
  3. Environment - Reads the meteorological elements, it reads the temperature and humidity using DHT11 and barometric pressure and altitude using BMP180.

Step 3 - Data Formatting & Transmission

  • The collected data is compiled and structred into a JSON file that is sent to the backend of the webpage, where that JSON file is parsened and all the data is extracted from it and is displayed.

💻Software Interface

This project includes a companion web application that visualizes the real-time telemetry data streamed from the circuit. The dashboard parses the JSON output from the Serial port and displays it.

🔨Tech Stack --> HTML5, CSS3, and Three.js

📊Data and Logic

  1. Motion (ADXL345) --> X-Y acceleration tilts the 3D cube on the screen.
  2. Light (LDR) --> If light % is less than 50% => Night Mode (Dark Background)
  3. Distance (Ultrasonic Sensor) --> If distance < 20 cm => Warning (Red Background).
  4. Atmosphere --> Displays Altitude and Pressure.

🔌Physical Setup

WhatsApp Image 2025-12-15 at 19 01 49_3e6f33e5

🎥Simulation Video

Dih.rone.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors