Here is the video about this project.
I always wanted to bulid a project that can control many nodes for Green house Irrigation System, but never found the right solution. The Wio Node is very suitable for my project.
Wio Node is designed to simplify your IoT development, aims to make it easy to develop Internet of Things products and services. It is an ESP8266 based open-source Wi-Fi development board to create IoT applications by virtualizing plug-n-play modules to RESTful APIs with mobile APPs.
Compared to Wio Link, It's more small and cheaper. This product is suitable for application in the scenario requires a large number of sensors collecting data or somewhere is only need simple wireless input output.
In this project, I connected a Grove – Moisture Sensor to Wio Node to measure the soil moisture as well as Grove – Relay to control a pump. I will run a Universal Windows Platform(UWP) app on Raspberry Pi3 to view the sensor values and control the water pumps remotely.
The project prototype is just as shown in the following picture.
Now, we should Connect Grove modules to Wio Node as the picture below shows.
Connect Grove – Moisture Sensor to Port1
Connect Grove – Relay to Port0
1.Select all parts required to build water pump circuit from this kit: 2V Water Pump，Grove-Relay，12V Power Connector, Power Cables.
2.Plug one red wire of water pump into positive terminal of power connector and fix it with screw.
3.Plug cable to relay's either J1 port and fix it.
4.Plug black wire of water pump into negative terminal of power connector and fix them.
5.Plug red wire of water pump into relay's another port of J1 connector.
6.Have a look at the completed connection.
If this is your first time to use Wio Series product you can put hand on http://iot.seeed.cc/index.html to get more info.
There is a video of how to get started on Wio Link. The Wio Node is similar with it.
Then following this guide and configure the Wio Node as the picture below shows.
I have been running Win10 IoT on Raspberry Pi, you can put hand on here to get started with Windows 10 IoT Core.
I assume that you are already familiar with Win10 IoT Core and set up the development environment. Don’t forget connect an HDMI monitor to the HDMI port on the board.
1.Download the code from Github.
2. Click “Download zip” button on right side of webpage to download all codes.
3. Decompress the downloaded zip files and remove “-master” in decompressed file name.
4. Launch IrrigationControlSystem.sln.
5. Change the Code
Change all the Uris in the code to your own, you can get them in your Wio APP.
1.With the application open in Visual Studio, set the architecture in the toolbar dropdown. Select
2. Next, in the Visual Studio toolbar, click on the Local Machine dropdown and select Remote Machine.
3. At this point, Visual Studio will present the Remote Connections dialog. If you previously used PowerShell to set a unique name for your device, you can enter it here (in this example, we’re using my-device). Otherwise, use the IP address of your Windows IoT Core device. After entering the device name/IP select
None for Windows Authentication, then click Select.
4. You can verify or modify these values by navigating to the project properties (select Properties in the Solution Explorer) and choosing the
Debug tab on the left:
When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now.
If you deploy your APP successfully on Raspberry Pi3, you can see the info as the picture below shows on LCD screen. And you can press the button to open or close the water pump.
This project is just a prototype, and the control interface is a little ugly. I will take some time to beautifies the UI, and displays the sensor data graphically.
This project is made as an Open Source Project. It's a starting point. Let your creativity go wild with the mechanical, electrical and software design. Make the demo your own. Decorate it. Improve the work. No matter what, write a recipe about it.
To share and progress together.