amc2020:group_f:start
Differences
This shows you the differences between two versions of the page.
amc2020:group_f:start [2020/08/29 19:19] – [Video Tutorial] veronika001 | amc2020:group_f:start [2023/01/05 14:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 21: | Line 21: | ||
We are planning to design a portable meteorological measurement station, to measure the temperature, | We are planning to design a portable meteorological measurement station, to measure the temperature, | ||
By knowing the exact conditions in between the plants, we will hopefully be able to draw conclusions about the plants needs and health conditions. Thus, we would be able to optimize irrigation and the use of pesti- or fungicides by adapting it to the plants needs in the specific area. | By knowing the exact conditions in between the plants, we will hopefully be able to draw conclusions about the plants needs and health conditions. Thus, we would be able to optimize irrigation and the use of pesti- or fungicides by adapting it to the plants needs in the specific area. | ||
- | Agriculture and gardening | + | Agriculture and gardening |
Line 326: | Line 326: | ||
int ldrStatus=analogRead(ldr); | int ldrStatus=analogRead(ldr); | ||
Serial.print(" | Serial.print(" | ||
- | // assign data to light conditions by using use if...else structure | + | // assign data to light conditions by using an if...else structure |
if (ldrStatus <= 50) { | if (ldrStatus <= 50) { | ||
Serial.println(" | Serial.println(" | ||
Line 347: | Line 347: | ||
- | \\ A {{https:// | + | \\ An {{https:// |
===Soil Moisture === | ===Soil Moisture === | ||
Line 445: | Line 445: | ||
**Code**\\ | **Code**\\ | ||
//Klanten// \\ | //Klanten// \\ | ||
- | The codes explained [[https:// | + | The codes explained [[https:// |
Careful: The serial monitor is now set to an upload speed of 115200. | Careful: The serial monitor is now set to an upload speed of 115200. | ||
Line 452: | Line 452: | ||
<file c++ AnalogReadSerial.ino> | <file c++ AnalogReadSerial.ino> | ||
- | // | + | // |
#include < | #include < | ||
#define DHTPIN 2 | #define DHTPIN 2 | ||
Line 582: | Line 582: | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
'' | '' | ||
Line 605: | Line 605: | ||
=== Install Libraries === | === Install Libraries === | ||
+ | // | ||
+ | \\ | ||
Before getting started with this project, it is necessary to install some libraries, if they are not already installed. | Before getting started with this project, it is necessary to install some libraries, if they are not already installed. | ||
Required libraries for the DHT sensor are: | Required libraries for the DHT sensor are: | ||
Line 941: | Line 943: | ||
**Start to read Data**\\ | **Start to read Data**\\ | ||
==Temperature and Humidity== | ==Temperature and Humidity== | ||
- | * Read and store data from the DHT sensor by using '' | + | * Read and store data from the DHT sensor by using '' |
* It is a relatively slow sensor, so be patient | * It is a relatively slow sensor, so be patient | ||
* Include a fail save by checking if reading data is possible, print an error message if not | * Include a fail save by checking if reading data is possible, print an error message if not | ||
Line 1082: | Line 1084: | ||
</ | </ | ||
* In the ''< | * In the ''< | ||
- | * Here we define, how our sensor readings are printed. Label and unit, as well as a ''> | + | * Here we define, how our sensor readings are printed. Label and unit, as well as a ''> |
* For visual effects, an icon and different colors are added. To change the color, the hexadecimal values of the desired colors must be used. These can be found [[https:// | * For visual effects, an icon and different colors are added. To change the color, the hexadecimal values of the desired colors must be used. These can be found [[https:// | ||
<file c++ AnalogReadSerial.ino> | <file c++ AnalogReadSerial.ino> | ||
Line 1216: | Line 1218: | ||
\\ | \\ | ||
- | \\ | ||
- | =====Video Tutorial ===== | ||
- | // | ||
- | \\ | ||
- | The following video will describe the fields of application for our portable meteorological measurement station as well as describe the different sensors which were used. It will be also showed how the box is used and the design will be shortly described. In the end the box will be showed in action. | ||
- | \\ | ||
- | \\ | ||
- | {{ : | ||
- | \\ | ||
\\ | \\ | ||
=====Measurements at different locations===== | =====Measurements at different locations===== | ||
Line 1323: | Line 1316: | ||
'' | '' | ||
\\ \\ | \\ \\ | ||
- | The water level detection sensor/ precipitation sensor can be placed through a smaller hole on the bottom of the box next to the soil moisture sensor hole to measure the water level. It can also go through the side of the box to measure precipitation. Here it is dependent of the side from which the rain will come because it could be covered by the side of the box. The sensible parts of the sensor are mostly inside but to have a good protection it is also covered by a small plastic layer and fixed with elastic bands which also gives stability to the sensor.\\ | + | The water level detection sensor/ precipitation sensor can be placed through a smaller hole on the bottom of the box next to the soil moisture sensor hole to measure the water level. It can also go through the side of the box to measure precipitation. Here it is dependent of the side from which the rain will come because it could be covered by the side of the box. The sensible parts of the sensor are mostly inside but to have a good protection it is also covered by a small plastic layer and fixed with elastic bands which also gives stability to the sensor. There is also the possibility to measure the exact amount of precipitation by placing the Water level detection sensor inside a rain gauge. The code presented before is intended for this application. \\ |
{{: | {{: | ||
'' | '' | ||
Line 1346: | Line 1339: | ||
{{: | {{: | ||
'' | '' | ||
+ | \\ | ||
+ | \\ | ||
+ | =====Video Tutorial ===== | ||
+ | //Video: Skwirut and Meinert, Text: Skwirut// | ||
+ | \\ | ||
+ | The following video will describe the fields of application for our portable meteorological measurement station as well as describe the different sensors which were used. It will be also showed how the box is used and the design will be shortly described. In the end the box will be showed in action. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | \\ | ||
=====Discussion===== | =====Discussion===== | ||
// | // | ||
Line 1354: | Line 1357: | ||
After the code for each sensor was written and also connecting worked mostly fine for the Arduino board, the change to the ESP32 had difficulties.\\ | After the code for each sensor was written and also connecting worked mostly fine for the Arduino board, the change to the ESP32 had difficulties.\\ | ||
The first problem was to figure out, how to connect the board to the Wi-Fi. This it took especially long due to the fact that there are various ways to do it but many codes are difficult to understand also the strength of the Wi-Fi connection at each home is of different quality. In our case all of us had poor to medium connection, which had the effect that even when a code would work it would not connect. This leads us also to the problem that the ESP board needs a nearby Wi-Fi connection to use it on the fields or garden. The problem is that many fields do not have such far reaching connections on the fields yet. We think this will change in future due to the fact that more and more agriculture work will be done with the help of Wi-Fi to control instruments and machines more easily and effective. In contrast to the Arduino board it has the advantage that you do not have to go to the place and connect your laptop. After we managed to move the sensors to the other board, we thought about the problems the station might have.\\ | The first problem was to figure out, how to connect the board to the Wi-Fi. This it took especially long due to the fact that there are various ways to do it but many codes are difficult to understand also the strength of the Wi-Fi connection at each home is of different quality. In our case all of us had poor to medium connection, which had the effect that even when a code would work it would not connect. This leads us also to the problem that the ESP board needs a nearby Wi-Fi connection to use it on the fields or garden. The problem is that many fields do not have such far reaching connections on the fields yet. We think this will change in future due to the fact that more and more agriculture work will be done with the help of Wi-Fi to control instruments and machines more easily and effective. In contrast to the Arduino board it has the advantage that you do not have to go to the place and connect your laptop. After we managed to move the sensors to the other board, we thought about the problems the station might have.\\ | ||
- | Secondly, we tested both the Arduino and the ESP32 version of our project. Here we could see that the sensors by the ESP32 were less sensible which leads to less exact measurements. For example, the LDR (Photoresistor) is less sensible in case of the ESP version and shows the same values for different light conditions. It was much more sensible by the Arduino board.\\ | + | Secondly, we tested both the Arduino and the ESP32 version of our project. Here we could see that the sensors by the ESP32 were less sensible which leads to less exact measurements. For example, the LDR (Photoresistor) is less sensible in case of the ESP version and shows the same values for different light conditions. It was much more sensible by the Arduino board.The same is true for the water level sensor.\\ |
- | Thirdly, another problem is the soil moisture sensor. It works fine on its own and also when the other sensors are connected to the ESP32 board. But by presenting | + | Thirdly, another problem is the soil moisture sensor. It works fine on its own and also when the other sensors are connected to the ESP32 board. But the results |
Fourthly, it became clear that the station could not be used effectively outside in this state. The biggest problem was that the station is not weatherproof. In the event of rain, for example, it would damage the individual sensors and the board. \\ | Fourthly, it became clear that the station could not be used effectively outside in this state. The biggest problem was that the station is not weatherproof. In the event of rain, for example, it would damage the individual sensors and the board. \\ | ||
Therefore, we decided to build a box. The problems which occur by building it were, to design it. Another problem might be that the often usage of the soil sensor and water level sensor might cause corrosion.\\ | Therefore, we decided to build a box. The problems which occur by building it were, to design it. Another problem might be that the often usage of the soil sensor and water level sensor might cause corrosion.\\ |
amc2020/group_f/start.1598721559.txt.gz · Last modified: 2023/01/05 14:38 (external edit)