amc:ss2024:groundwater_gauge:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
amc:ss2024:groundwater_gauge:start [2024/07/31 20:09] – andreas.demuth | amc:ss2024:groundwater_gauge:start [2024/07/31 22:01] (current) – 28057_students.hsrw | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | With the mining history of NRW and the impact it had on the soil, groundwater has always been a point of interest. Combined with the increased precipitation<sup>1)</ | + | With the mining history of NRW and the impact it had on the soil, groundwater has always been a point of interest. Combined with the increased precipitation |
+ | |||
+ | {{ : | ||
+ | | ||
These sample wells are not easily accessed and will not have an easy access to the electrical grid. Therefore, the measuring device should have its own power supply. The idea of this system is to make sure data can come in continuously without much physical labour from employees of the organisation that monitors the groundwater level (in the region of Kamp-Lintfort this would be LINEG). Measuring 24 hours a day would mean an immense capacity requirement for the batteries and would not make it a sustainable way of monitoring. Because the impact of precipitation on the groundwater level in the targeted region of Kamp-Lintfort, | These sample wells are not easily accessed and will not have an easy access to the electrical grid. Therefore, the measuring device should have its own power supply. The idea of this system is to make sure data can come in continuously without much physical labour from employees of the organisation that monitors the groundwater level (in the region of Kamp-Lintfort this would be LINEG). Measuring 24 hours a day would mean an immense capacity requirement for the batteries and would not make it a sustainable way of monitoring. Because the impact of precipitation on the groundwater level in the targeted region of Kamp-Lintfort, | ||
Line 11: | Line 14: | ||
In this section each component of the system will be highlighted, | In this section each component of the system will be highlighted, | ||
{{ : | {{ : | ||
- | Fig. 2, Schematic of our Set Up | + | Fig. 2, Schematic of our Set Up by De Jong |
- | As seen in the schematic | + | As seen in Fig.2, |
* __Lithium Rechargeable Battery -> MC(SH1.25-2)__ | * __Lithium Rechargeable Battery -> MC(SH1.25-2)__ | ||
Line 67: | Line 70: | ||
==== 2.1 Microcontroller (MC) ==== | ==== 2.1 Microcontroller (MC) ==== | ||
- | As a microcontroller we use the Heltec CubeCell dev-6502. This MC has a LoRa data transfer option, known for its low power usage in sleep mode and for this specific project a direct photovoltaic connection, build in battery charge option and battery status check option. It includes a USB interface for easy programming, | + | We used the microcontroller from Heltec CubeCell dev-6502 |
{{ : | {{ : | ||
- | Source: https:// | + | Fig. 3, Heltec Microcontroller, |
==== 2.2 Current to Voltage converter. ==== | ==== 2.2 Current to Voltage converter. ==== | ||
- | For the MC to be able to use the output of the sensor, the sensor output signal needs ro be converted from current which ranges between 4 and 20 mA to a Voltage-range readable by the microcontroller. This process will be covered by a current to voltage converter. The converter in this system is the XY-IT0V (no specified brand). | + | For the MC to be able to use the output of the sensor, the sensor output signal needs ro be converted from current which ranges between 4 and 20 mA to a Voltage-range readable by the microcontroller. This process will be covered by a current to voltage converter |
This converter can be adjusted for different voltage ranges by the means of jumpers. 2 jumpers are present on the converter and with the right combination for “on” and “off” of these jumpers the required voltage output can be set. On this webpage more information concerning the convertor and how to calibrate can be found on the following webpage https:// | This converter can be adjusted for different voltage ranges by the means of jumpers. 2 jumpers are present on the converter and with the right combination for “on” and “off” of these jumpers the required voltage output can be set. On this webpage more information concerning the convertor and how to calibrate can be found on the following webpage https:// | ||
{{ : | {{ : | ||
- | Source: https:// | + | Fig.4, Current to Voltage Converter, |
==== 2.3 Sensor ==== | ==== 2.3 Sensor ==== | ||
Line 108: | Line 111: | ||
==== 2.6 Voltage step-up regulator ==== | ==== 2.6 Voltage step-up regulator ==== | ||
- | In order to get enough voltage for the sensor (12V was enough) a voltage | + | In order to get enough voltage for the sensor (12V was enough) a voltage |
{{ : | {{ : | ||
- | Source: https:// | + | |
==== 2.7 Real-Time Clock (RTC) ==== | ==== 2.7 Real-Time Clock (RTC) ==== | ||
- | For the MC to be as efficient as possible (by use of sleep mode) a RTC (ds3231 I2C) is connected to the the MC. The RTC will keep an accurate time so the MC can be in sleep mode and wake up at the appropriate time to preserve power. | + | For the MC to be as efficient as possible (by use of sleep mode) a RTC ds3231 I2C (as seen in Fig.6) is connected to the the MC. The RTC will keep an accurate time so the MC can be in sleep mode and wake up at the appropriate time to preserve power. |
{{ : | {{ : | ||
- | | + | Fig.6, RTC, Source: https:// |
==== 2.8 LoRaWAN & TTN ==== | ==== 2.8 LoRaWAN & TTN ==== | ||
LoRaWAN, which stands for Long Range Wide Area Network, is a communication protocol specifically designed for low-power, long-distance wireless data transmission. It is ideal for Internet of Things (IoT) applications where devices need to transmit small data packets over extended ranges while maintaining energy efficiency. Operating in sub-gigahertz frequency bands, LoRaWAN can achieve coverage of several kilometers in urban environments and even greater distances in rural areas. | LoRaWAN, which stands for Long Range Wide Area Network, is a communication protocol specifically designed for low-power, long-distance wireless data transmission. It is ideal for Internet of Things (IoT) applications where devices need to transmit small data packets over extended ranges while maintaining energy efficiency. Operating in sub-gigahertz frequency bands, LoRaWAN can achieve coverage of several kilometers in urban environments and even greater distances in rural areas. | ||
+ | For visualization as seen in Fig.7, LoRa modulation offers a much longer communication range at low bandwidths compared to other competing wireless data transmission technologies. | ||
{{: | {{: | ||
- | Source: https:// | + | |
The core advantage of LoRaWAN lies in its capability to provide long-range connectivity with minimal energy consumption. This is accomplished through chirp spread spectrum modulation, which enhances resistance to interference and extends communication ranges. The network structure of LoRaWAN is typically organized in a star topology, where end devices communicate directly with gateways. These gateways then forward the data to a central network server through a backhaul connection, which could be cellular, Ethernet, or other types of connectivity. | The core advantage of LoRaWAN lies in its capability to provide long-range connectivity with minimal energy consumption. This is accomplished through chirp spread spectrum modulation, which enhances resistance to interference and extends communication ranges. The network structure of LoRaWAN is typically organized in a star topology, where end devices communicate directly with gateways. These gateways then forward the data to a central network server through a backhaul connection, which could be cellular, Ethernet, or other types of connectivity. | ||
+ | In Fig. 8 the elements of a typical LoRaWAN network are visualized. | ||
+ | |||
+ | A typical LoRaWAN network consists of the following elements. | ||
{{: | {{: | ||
- | | + | Fig.8, Elements in a typical LoRaWAN network, |
LoRaWAN' | LoRaWAN' | ||
Line 146: | Line 153: | ||
NODE-RED | NODE-RED | ||
- | Node-RED is a flow-based development tool for visual programming that facilitates the connection of hardware devices, application programming interfaces (APIs) and online services, especially in IoT applications.< | + | Node-RED is a flow-based development tool for visual programming that facilitates the connection of hardware devices, application programming interfaces (APIs) and online services, especially in IoT applications.< |
{{ : | {{ : | ||
- | | + | |
- | Node-red is use to put together data processing logic and send the processed data to advanced systems, like a central data collector or cloud-based service, within minutes or show it right away. Node-red includes nodes that offer functions such as MQTT broker, debug, InfluxDB out ,etc. and the Created processes are stored using JSON objects as shown figure | + | Node-red is use to put together data processing logic and send the processed data to advanced systems, like a central data collector or cloud-based service, within minutes or show it right away. Node-red includes nodes that offer functions such as MQTT broker, debug, InfluxDB out ,etc. and the Created processes are stored using JSON objects as shown figure |
INFLUXDB | INFLUXDB | ||
- | InfluxDB is an open source time-series database optimised for real-time data management and analysis< | + | InfluxDB is an open source time-series database optimised for real-time data management and analysis< |
{{ : | {{ : | ||
- | | + | |
- | The underlying data model is based on measurements, | + | The underlying data model is based on measurements, |
GRAFANA | GRAFANA | ||
- | Grafana is an open source monitoring and observation platform, it provides an easy-to-use interface for visualising complex metrics and log data from a variety of data sources, including InfluxDB, Prometheus and Graphite< | + | Grafana is an open source monitoring and observation platform, it provides an easy-to-use interface for visualising complex metrics and log data from a variety of data sources, including InfluxDB, Prometheus and Graphite< |
{{ : | {{ : | ||
- | FIG. 12, Grafana dashboard by Henrydon. | + | FIG. 11, Grafana dashboard by Henrydon. |
| | ||
- | Grafana provides a variety of visualisation options, including graphs, tables, heatmaps and histograms as shown in the figure | + | Grafana provides a variety of visualisation options, including graphs, tables, heatmaps and histograms as shown in the figure |
{{ : | {{ : | ||
- | FIG.13, Diagram to illustrate the connection of the NIG environment by Henrydon | + | FIG.12, Diagram to illustrate the connection of the NIG environment by Henrydon |
| | ||
- | Node-RED performs the functions of data collection and preprocessing. Data from various sources is transformed as required and then transferred to InfluxDB. InfluxDB stores time series data in a structured format, optimized for high write and read performance. Grafana retrieves data from InfluxDB and presents it in visually appealing dashboards and graphs as seen in figure | + | Node-RED performs the functions of data collection and preprocessing. Data from various sources is transformed as required and then transferred to InfluxDB. InfluxDB stores time series data in a structured format, optimized for high write and read performance. Grafana retrieves data from InfluxDB and presents it in visually appealing dashboards and graphs as seen in figure |
| | ||
Line 387: | Line 394: | ||
- | | + | |
- | The figure | + | The figure |
{{ : | {{ : | ||
- | FIG. 15, Time series data logged in InfluxDB by Henrydon | + | FIG. 14, Time series data logged in InfluxDB by Henrydon |
| | ||
- | The data displayed in figure | + | The data displayed in figure |
{{ : | {{ : | ||
- | FIG. 16, Data visualization in Grafana dash board by Henrydon | + | FIG. 15, Data visualization in Grafana dash board by Henrydon |
| | ||
- | The visualisation of the data was clearly seen on the grafana dashboard as shown in figure | + | The visualisation of the data was clearly seen on the grafana dashboard as shown in figure |
Line 408: | Line 415: | ||
In this project, we investigated the development of a sensor-based data logging system that integrates various components. These included the MC Heltec CubeCell dev-6502 microcontroller, | In this project, we investigated the development of a sensor-based data logging system that integrates various components. These included the MC Heltec CubeCell dev-6502 microcontroller, | ||
- | Scientific research supports the effectiveness of using microcontrollers like the Heltec CubeCell dev-6502 for low-power, long-range communication in IoT applications <sup>13)</ | + | Scientific research supports the effectiveness of using microcontrollers like the Heltec CubeCell dev-6502 for low-power, long-range communication in IoT applications <sup>7)</ |
- | The integration of renewable energy sources, such as photovoltaic panels, with energy storage solutions like lithium rechargeable batteries, has been shown to enhance the sustainability of IoT systems <sup>16)</ | + | The integration of renewable energy sources, such as photovoltaic panels, with energy storage solutions like lithium rechargeable batteries, has been shown to enhance the sustainability of IoT systems <sup>10)</ |
- | However, the integration of LoRaWAN and TTN presented significant challenges. LoRaWAN is known for its capabilities in providing wide-area network connectivity for IoT devices, and its integration with TTN can offer robust data transmission solutions <sup>19)</ | + | However, the integration of LoRaWAN and TTN presented significant challenges. LoRaWAN is known for its capabilities in providing wide-area network connectivity for IoT devices, and its integration with TTN can offer robust data transmission solutions <sup>13)</ |
**4.1 System Overview** | **4.1 System Overview** | ||
Line 446: | Line 453: | ||
====REFERENCE==== | ====REFERENCE==== | ||
- | 1. https:// | ||
- | |||
- | 2. https:// | ||
- | |||
- | 3. https:// | ||
- | |||
- | 4. https:// | ||
- | |||
- | 5. https:// | ||
- | |||
- | 6. https:// | ||
- | |||
- | 7. https:// | ||
- | |||
- | 8. https:// | ||
- | 9. https://grafana.com/docs/ | + | 1. https://nodered.org |
- | 10. Sunil, K.,S., H.& Saravanan C. (2019). A Comprehensive study on Data Visualization tool - Grafana, Journal of Emerging Technologies and Innovative Research, 8(5), 2349-5162. | + | 2. https:// |
- | 11. https://medium.com/@schuerch_sarah/time-series-made-simple-connect-influxdb-and-r-for-data-science-beginners-ff902bed7df2 (accessed on 30/ | + | 3. https://grafana.com/docs/ |
- | 12. Nasar, M., & Abu Kausar, M. (2019). Suitability Of Influxdb Database For IoT Applications, | + | 4. Katalin, F. & Jozsef, D. (2020). Using Node-RED platform in an industrial environment. |
- | henrydon here you continue your refs!!! | + | 5. https:// |
+ | 30/ | ||
+ | 6. Sunil, K.,S., H.& Saravanan C. (2019). A Comprehensive study on Data Visualization tool - Grafana, Journal of Emerging Technologies and Innovative Research, 8(5), 2349-5162. | ||
- | 13. Wendt, J., & Thompson, S. (2017). " | + | 7. Wendt, J., & Thompson, S. (2017). " |
- | 14. Candelieri, A., Archetti, F., & Kofjač, D. (2018). " | + | 8. Candelieri, A., Archetti, F., & Kofjač, D. (2018). " |
- | 15. Smith, J., Jones, R., & Brown, L. (2016). " | + | 9. Smith, J., Jones, R., & Brown, L. (2016). " |
- | 16. Kim, Y., Park, S., & Jung, J. (2020). " | + | 10. Kim, Y., Park, S., & Jung, J. (2020). " |
- | 17. Gupta, R., Sharma, V., & Saxena, P. (2019). " | + | 11. Gupta, R., Sharma, V., & Saxena, P. (2019). " |
- | 18. Adams, P., Johnson, T., & Williams, D. (2017). "The importance of real-time clock (RTC) in embedded systems." | + | 12. Adams, P., Johnson, T., & Williams, D. (2017). "The importance of real-time clock (RTC) in embedded systems." |
+ | 24(4), 40-45. | ||
- | 19. Sinha, R. S., Wei, Y., & Hwang, S. H. (2017). "A survey on LPWA technology: LoRa and NB-IoT." | + | 13. Sinha, R. S., Wei, Y., & Hwang, S. H. (2017). "A survey on LPWA technology: LoRa and NB-IoT." |
amc/ss2024/groundwater_gauge/start.1722449386.txt.gz · Last modified: 2024/07/31 20:09 by andreas.demuth