Team:NCTU Formosa/Demonstrate

Overview

“We are witnessing the dawn of a new era of Internet of Things. IoT will increase the ubiquity of the Internet by integrating every object for interaction via embedded systems, which leads to a highly distributed network of devices communicating with human beings as well as other devices.”

Feng Xia
Head, Department of Cyber School of Software, Dalian University of
Technology, China

In modern times, technology has advanced at a surprising speed because of the internet. Since the Internet came into existence, its role has become indispensable in multiple fields. Therefore, integrating the device with the internet that can be used in the farmland is what we aim to achieve.

We integrate the state-of-the-art technology into the farmland and subvert the public stereotype of the conventional agriculture. The device is an automatic system that has multiple functions including detection and elimination of the pests. In the device, it consists of three parts—the detector, the controller, and the clientele.

Detector Design

First, inside the detector, we utilize Pheromone Biosynthesis Activation Neuropeptide (PBAN) to attract specific species of pests into our device that will count the number of the species respectively. With the detector, we can know the situation remotely in the app we created. Second, the controller will then analyze the data from the detector to decide whether to spray the Pantide or not. Lastly, the client will receive the data of the real-time condition in the farmland.

Our detector contains several parts. The main part is to catch different kinds of pests and calculate the number of various pests, and a double layered box with an inverted pyramid inside it, and we used a 3D printer to make the entry channels. Inside the inverted pyramid, we put PBAN to attract the specific species of pest. When an insect comes into the channel of the device, the infrared light will be cut off, and the signal will be sent to the Arduino chip which is in the IoT board linkit smart 7688 duo. The above process allows the device to count the bugs inside each channel. The function helps the users know the population growth of pests in the farmland. Apart from getting hold of the pest population in the farmland, the users can also grasp various conditions in farmland with the detector. The detector is equipped with a hygrometer, a thermometer, a rain gauge, a UV sensor, a CO2 sensor, a soil moisture sensor, an illuminance sensor and a barometric pressure sensor to know the situation in the farmland. We optimize the value of the data above into the database, hoping that the users can take good care of their plants by utilizing the information in the database in the future. Moreover, we will also record the weather condition as a reference for the users.

Controller Design

The controller contains IoT board linkit smart 7688 duos, released by MediaTek, which has an MPU and an MCU (in other words, a MediaTek chip and an Arduino chip). The MCU gets the data from the detector and sensors and sends to the MPU; then the MPU does a few computation and translates the data into the information we want. Subsequently, the Arduino sensors communicate with the server through WiFi, receiving the command from it and sending the information to the server. Also, the MPU will send the command to the MCU to tell it what it should do.

The server is the most important part of the IoT system. It is the central to the device. Most of the computational work occurs on the server. Also, the server has an SQLite database that is used to save the information and the result of computation. In the past, building an IoT system required large knowledge and skills in programming, and once a device is connected to the system, it was difficult to change the slave. This year, we used IoT talk, a system developed by the lab of Dr.Lin in National Chiao Tung University Taiwan. It is a system that makes the IoT contact easier and more convenient, even for the users not familiar with programming knowledge and background can easily utilize it; as it has simplified to the connected device below.

Here is a picture of how IoT talk system looks like, at left hand side is where the device upload the data to, and then through the line and node in the middle, we can easy connect the data to everywhere we want, then at the right hand side is where the data goes, after being processed in the node. We can use it control some other device or send to the client to show the data. The windows on the right is the monitor so that we can know what data being upload to the IoT talk system and what value goes down.

Clientele Design

As for the clientele, we use MediaTek Cloud Sandbox, an app released by MediaTek. Inside the app, we will have a panel to show us the various conditions of farm. By using the app, we can turn on or turn off the sprinklers at any time and anywhere as long as we have access to the internet.

With the detector, we can know the situation without going to the farm. With the server, we can grow the plant without labors. With the clientele, we can still manage our farm remotely. With the combination of all the parts above, we make up our device.

Hardware

In the hardware, we designed an insect box, which had separated into four sections—the outside shell, the pest channels, the blue light LEDs and a PBAN container.

  • Outside Shell:
        The outside shell is a cube cover of our hardware which has four holes for moths entry. It also protects the whole hardware from destroying.
  • Pest Channels:
        There are four pest channels printed by 3D printer inside the device; We set the infrared LEDs and infrared receivers in them to count the number of moths. There are two layers of infrared receivers let moth cut off two of the infrared light to make sure that the count of moths enter the insect box is accurate.
  • Blue Light LEDs:
        According to the result of 2014 NCTU_Formosa, blue light has more attraction to Spodoptera Litura than other color light. Thus we use the hand-made blue light bar with a switch in another device to attraction moths.
  • PBAN container:
        This year, our project adopts the concept of 2014 NCTU_Formosa, using PBAN to attract moth. In our hardware, there is an inverted pyramid that had two layers that contain PBAN. Moreover, we have improved the design of container into the shape of an inverted pyramid to trap the pests, so that the pests can fly into the pest collector easily but hard to exit. We design the container to have multifunctions-it can set pheromone bait and PBAN simultaneously! The use method of PBAN container is dissolve the PBAN in to water, and pour it into the container between two acrylic sheets, and then fill the round hole with cotton let PBAN be sucked along the cotton, the pest can eat PBAN through the cotton, it also can prevent PBAN molded easily.
  • PBAN container can also set pheromone bait through the round hole, to achieve the purpose of multifunctions!

    The shape of PBAN container is inverted pyramid, we designed this shape for the reason that make the pest go into our trap easily but hard to escape out; this shape is easy to clean and dry-the water will drop down alone the pyramid wall. PBAN container is separated into 4 chambers to let the structure more stable and more easy to pick up.

  • barrier:
        The barrier is put between the PBAN container and circuit in the pest trap, the main function of it is to protect the circuit from destroying by pest in the trap.
  • Arduino Mega, Linkit Smart 7688 Duo and sensors circuit:
        It is the core of hardware in our IoT system, we used Arduino Mega and Linkit Smart 7688 Duo to compute and order the data from the seneors and WIFI.
  • pest trap:
        It is the space of pest container, when the pest go through the PBAN container, it will be trapped in here.

IoT System

We want to create a labor-free, ecofriendly brand new agriculture system to solve the problem of pesticide residues and the randomness of agriculture, to reach labor-free, we use IoTtalk, a powerful system, and Arduino to establish a smart agriculture system.

In the system, we let our device connect to the WIFI, through WIFI, we can uploading our data from Arduino sensors, and the data will upload to the IoT talk cloud.When the data upload onto the cloud, it will sent into the app in real time; thus the user can know the conditions in their farm simultaneously. The cloud will create a database of farm environmental data, as the time goes, the farm conditions will become large enough, and according to it, we can use some methods like machine learning to predict the future conditions like pest number, and auto-control the spraying system to spray our Pantide or water more efficiently and accurately.(See more about the Pest Prediction System)

Device Demo

See the device Arduino code on GitHub.