---
title: "Remote monitoring of green ecosystems"
url: "https://maker.wiznet.io/Belkacem/contest/remote-monitoring-of-green-ecosystems/"
markdown_url: "https://maker.wiznet.io/Belkacem/contest/remote-monitoring-of-green-ecosystems/md"
type: "Contests"
author: "Belkacem BENADDA"
author_url: "https://maker.wiznet.io/Belkacem/"
original_author: "Belkacem BENADDA"
license: "GNU Lesser General Public License version 3 or later (LGPL3+)"
published: "2024-07-08"
language: "en"
tags: ["C/C++", "Internet of Things"]
hardware: ["DFRobot Gravity: Analog Soil Moisture Sensor For Arduino", "Arduino MKR Relay Proto Shield", "WIZnet Surf5", "WIZnet W7500", "WIZnet WIZPoE-P1"]
likes: 1
views: 2370
comments: 2
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Remote monitoring of green ecosystems

> A monitoring solution for plant nursery care. Indeed several sensors are used to monitor the soil, water quality, and environment parameters

Original author: Belkacem BENADDA

## Components

- **DFRobot Gravity: Analog Soil Moisture Sensor For Arduino** x 1: for soil moisture ([docs](https://www.dfrobot.com/wiki/index.php/Moisture_Sensor_%28SKU:SEN0114%29))
- **Arduino MKR Relay Proto Shield** x 1: pump control ([docs](https://docs.arduino.cc/tutorials/mkr-relay-proto-shield/mkr-relay-shield-basic))
- **WIZnet Surf5** x 1 ([docs](https://wiznetshop.io/product/detail.html?product_no=1087&cate_no=1&display_group=3))
- **WIZnet W7500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/MCU/W7500))
- **WIZnet WIZPoE-P1** ([docs](https://docs.wiznet.io/Product/Open-Source-Hardware/PoE/WIZPoE-P1))
- Software: **ARM KEIL5**: Used for the Software design ([docs](https://www2.keil.com/mdk5))

## Documents and links

- [Main](https://github.com/bekaben/seedsnursery) (code): The main file
- [Driver File](https://maker.wiznet.io/_lib/download.asp?path=project/7987&downfile=w7500x%5Fit%2Ec) (code): Driver file

## Article

### Project Description

We intend to create a cloneable IoT module based on surf5 and WizPoE-P1 modules to monitor environmental parameters for plant nursery facilities. We want to propose a low-cost intermediate product to bring modernity to artisanal crop activities. This prototype, and proof of concept, is motivated by two major aspects of this kind of agriculture:

- First is mist irrigation used to provide seeds and young plants with water, which enforces wired networks over wireless transmissions, hence the importance of the Surf5-W7500 module.

- Second, the power supply wiring of connected sensors. WizPoE-P1 offers a suitable solution, one cable for data and power.

This prototype prepare product that aims to supervise the plants' growth, record data, and get the farmers actions into the box.

![](https://maker.wiznet.io/upload/ckeditor5/896832950%5F1720140968%2Ejpg)

![](https://maker.wiznet.io/upload/ckeditor5/896832950%5F1720141025%2Ejpg)

### Hardware Preparation

We have started by preparing the module by soldering all pin headers.

![](https://maker.wiznet.io/upload/ckeditor5/469232343%5F1720016631%2Ejpg)

![](https://maker.wiznet.io/upload/ckeditor5/469232343%5F1720017471%2Ejpg)

Since it's a proof-of-concept prototype we have prepared the module housing as shown in the figures below describing all the elements from a 50mm diameter PVC tube, two elbows, and two T.

![](https://maker.wiznet.io/upload/ckeditor5/896832950%5F1720139303%2Ejpg)

All elements once assembled take the form of the following picture.

![](https://maker.wiznet.io/upload/ckeditor5/896832950%5F1720139637%2Ejpg)

The module is connected to sensors to monitor soil moisture on the PC08 pin as ADC channel 7 and relay to control plant irrigation through the PC14 pin connected with relay controlling the pump. The power is routed through the ethernet cable.

### Software Design

We have started by cloning the W7500x-surf5 library through the comand below:

![](https://maker.wiznet.io/upload/ckeditor5/250689790%5F1720401236%2Epng)

We have modified the main.c file and the w700x_it.c file on the folder

E:\wiznetchallenge\dev\W7500x-Surf5\src

As an IoT with a specific library, the module will simplify the design of digital data and management tools for specific crops since it is a large-scale activity. In a nursery, the irrigation process uses mist irrigation. The connected module will monitor t... it will receive the commands to start irrigation. The design is still in progress with DHT11, OV7670 camera, and air quality sensor..

---

Source: https://maker.wiznet.io/Belkacem/contest/remote-monitoring-of-green-ecosystems/
