Update README.md

This commit is contained in:
Abdul Mukheem Shaik 2024-06-04 21:06:18 +02:00 committed by GitHub
parent 6dffb3227b
commit 4b99e5fcfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -162,19 +162,36 @@ Finally, Recognizing the time constraints involved in 3D printing a detailed win
The wind turbine was then mounted onto a servo motor, enabling it to rotate based on wind direction data retrieved from the API.
#### 2.4.2 Sensors & MicroControllers:
To capture real-time data on the wind turbine's performance, a _photoresistor_ sensor was strategically integrated into the model. This sensor, which does not include a light source itself, responds to the light generated by the wind turbine as it operates. The photoresistor converts the light intensity into a measurable voltage. This voltage data serves as a proxy for the actual power generated by the turbine.
To capture real-time data on the wind turbine's performance, a **_photoresistor_** sensor was strategically integrated into the model. This sensor, which does not include a light source itself, responds to the light generated by the wind turbine as it operates. The photoresistor converts the light intensity into a measurable voltage. This voltage data serves as a proxy for the actual power generated by the turbine.
The TwinTurbine prototype utilizes two microcontrollers: _Arduino Uno_ and _ESP32-S2-Thing Plus_. These microcontrollers operate in tandem to achieve efficient data transfer and control. The ESP32 fulfills the need for seamless Wi-Fi connectivity, allowing for hassle-free data transmission to the user environment without requiring additional setup.Arduino boasts a wider range of established libraries specifically designed for servo motor control, simplifying the implementation process in this project.
The TwinTurbine prototype utilizes two microcontrollers: **_Arduino Uno_** and **_ESP32-S2-Thing Plus_**. These microcontrollers operate in tandem to achieve efficient data transfer and control. The ESP32 fulfills the need for seamless Wi-Fi connectivity, allowing for hassle-free data transmission to the user environment without requiring additional setup.Arduino boasts a wider range of established libraries specifically designed for servo motor control, simplifying the implementation process in this project.
This Wi-Fi-enabled microcontroller ESP32, serves as the primary communication hub. It gathers data from the photoresistor sensor, which measures light intensity as a proxy for generated power. This data is then transmitted to the Unity environment using the WebSockets protocol, enabling real-time visualization. Additionally, the ESP32 receives wind direction data from Unity.Arduino Uno excels at servo motor control. It leverages readily available libraries to precisely control the wind turbine's rotation based on the wind direction data received from the ESP32.
#### 2.4.3 API:
Real-time data, including the **wind direction**, **temperature**, and **wind speed** related to the location, are collected from the Swedish Meteorological and Hydrological Institute (SMHI). Additionally, we display the **location** wich us set to **Kista**.
#### 2.4.3 External Data:
While the prototype utilizes a scaled physical turbine, the goal was to mimic the behavior of a real wind turbine operating in its actual environment. To achieve this, we incorporated real-time weather data from the Swedish Meteorological and Hydrological Institute (SMHI).
Specifically, the following data points are retrieved from SMHI for the designated location (set to Kista):
**Wind Direction:** This data is used to control the rotation of the physical turbine using the servo motor and also the digital Wind turbine, ensuring it aligns with the actual wind conditions.
<br>
**Wind Speed:** While not currently used to directly impact the physical turbine's rotation, but the wind speed data is integrated with the digital wind turbine and it rotates as per the real wind speed in the hosted location.
<br>
**Temperature:** While temperature data isn't directly used for the current functionality, it can be valuable for future considerations, such as analyzing potential temperature effects on power generation.
<br>
**Enhanced Location Display:** The user interface displays the current location, set to Kista in this instance. This transparency allows users to understand the context of the real-time weather data being utilized.
<br>
#### 2.3.4 3D Printing:
The team used a 3D printing prototype to set up the physical entity. The template has been created in **Fusion 360** App, and the template is provided below.
While utilizing a pre-made wind turbine offered time-saving benefits, a challenge arose in integrating it with the servo motor for directional control. To overcome this hurdle, our team designed a custom adapter using Fusion 360 software.
This 3D-printed adapter serves two crucial functions:
1. It bridges the physical gap between the servo motor and the wind turbine, ensuring a secure and stable connection.
2. The adapter's design facilitates the precise alignment of the wind turbine with the servo motor's rotational axis, enabling accurate control based on wind direction data.
The provided template below, created using Fusion 360, illustrates the design of the custom adapter.
<p align="center">
<img src="https://github.com/Mukheem/TwinTurbine/assets/145973209/b018dd51-b98a-4405-b659-f78bf3902b92" alt="WT3D" style="max-width:12%;" height="auto">
<br>