Skip to content

Anil-account/Smart-water-quality-system-AR-IOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The smart water quality system using AR project is created to demonstrate how actual sensor data is displayed on AR dashboard via Wi-Fi.

Video link: https://youtu.be/cBpQnGSOgQ4

unity link: https://github.com/Anil-account/AR-Unity.git

Introduction
The smart water quality system analyzes data from the sensor to determine the pH of the water, which is then presented in Augmented Reality (AR) on a smartphone or laptop. Along with the advancement of Virtual Reality (VR) technology, Augmented Reality (AR) is quickly gaining traction. As a result, a smart water quality system incorporating AR was created to illustrate AR. To view the system's output, the user just needs to place the PH sensor in the water and the DHT11 sensor nearby, while supplying the Arduino and NodeMCU with the bare minimum of power. Data starts to appear in the system on its own. The data is then shown in an android software called Blynk, and subsequently in augmented reality on an Android phone using the Android Package (APK) format.
Pin configuration
The pin connectors for various devices are shown below.
pH Sensor and Arduino

The table shown below shows connection between pH sensor and Arduino.

image

DHT11 Sensor and NodeMCU

The table shown below shows connection between DHT11 sensor and NodeMCU.

image

Arduino and NodeMCU

The table shown below shows connection between Arduino and NodeMCU.

image

How does it Works?
The digital, ground, and analog pins of Arduino are linked to the pH sensor pins. Using the serial communication protocol, Arduino receives the pH value from the pH sensor and sends it to NodeMCU in JSON format. DHT11 pins are linked to D2, GNT, and 3V pins on the NodeMCU. The temperature and humidity values from the DHT11 sensor are delivered to NodeMCU. NodeMCU receives previously provided JSON data from Arduino. The information gathered is subsequently sent to the Blynk server. From NodeMCU’ s source the authorization token, Wi-Fi name, and password are all provided during the Blynk setup process. This enables you to set up a local server using a shared Wi-Fi network. Temperature, humidity, and pH are all assigned to virtual pins in the Blynk configuration. Data is subsequently uploaded to the Blynk cloud on the local network. As seen in the image, data from the Blynk cloud is transferred to the Blynk mobile. The Unity program is used to make AR pictures. A virtual 3D dashboard is created using the Unity program. The pH value and temperature value are input text areas on the dashboard. For the virtual button to operate, unity is given a set of code. When the virtual button is pressed, the Blynk server sends the pH and temperature values to the AR dashboard.

Here is the final output of the project.

image

Circuit diagram

The sketch shown below is a circuit diagram of smart IoT water quality system

image

Figure 12: circuit diagram

Block diagram

The sketch shown below is a block diagram shows flow of system

image

Figure 13: Block diagram

Flowchart

image

 Schematic diagram

image

Figure 14: Schematic diagram

For Unity (AR)
The code shown below is for the virtual button, which on pressed sends request signal to Blynk server and receives data and later displayed on AR dashboard.

image

image

Releases

No releases published

Packages

No packages published

Languages