Posts

Showing posts from February, 2017

Final report for Open IoT Challenge 3.0

Image
AgriNode project: Building A Wireless Sensor Network for Agricultural Application AgriNode project goal is to build an Internet of Things – IoT solutions for various agricultural applications. We successfully developed the AgriNode system which is a Wireless Sensor Network – WSN consisting a gateway and sensor nodes. In the project, We utilized   Low-cost devices (Arduino, Raspberry) and Open-sources IoT platforms (Eclipse Kura, Reactive Blocks). Webpage: https://agrinode.github.io Report (PDF version): http://bit.ly/2lQc8Er Live data: https://agrinode.mybluemix.net/ui/#/0    ACKNOWLEDGEMENT I would like to acknowledge the support of Mr. Benjamin CabĂ© and Miss Roxanne Joncas from Eclipse Foundation . I also sincerely thank Mr. Tim Jagenberg and Miss Anne Nevin from Bitreactive for the help of building AgriNode project software.

Hardware choices for AgriNode System- Wireless Sensor Network System

Image
The goal of AgriNode project is to build a Wireless Sensor Network - WSN for agricultural applications such as greenhouse management, monitoring water quality for a fish farm. The system can help farmers to monitor their own farm and support them in decision-making based on sensed data. The Fig. 1 shows the AgriNode system architecture. In this post, we demonstrate the hardware choices for the Agrinode system. To design AgriNode hardware system, we utilized low-cost electric devices that farmer can cover. Agrinode hardware system consists of two main parts: a gateway and sensor nodes.  The gateway (Fig. 2) is a Raspberry Pi 2 with Raspbian Os which is fully compatible with Eclipse Kura - the heat of AgriNode system. A Wifi dongle is added with Raspberry Pi for establishing a WiFi connection which sensor nodes can connect to.  Fig. 2 - AgriNode Gateway Each sensor node contains a microcontroller, power module and connected sensors. The microcontroller used in the pro

Tutorial: Build a Configurable Eclipse Kura Application via Reactive Blocks

Image
Summary.  This tutorial demonstrates how to build a Kura application into a bundle by using Reactive Blocks . About Reactive Blocks. Bitreactive provides the visual development environment that allows java users build their own IoT applications by simply connecting building blocks. Each Reactive Block is designed for a specific purpose such as connecting to Cloud platform (IBM Watson IoT, Xively,...), providing MQTT protocol, LoRaWAN interface,... Reactive Blocks is a Plugin for Eclipse , which provides a development environment for a developer build a complex application by drag and drop reactive blocks from the Reactive Blocks libraries. For me, I have a very basic knowledge of Java but I can build a complex java application with Reactive Blocks. Each block has a description in the form of input and output pins and contract. In addition, Reactive Blocks provides the analyze and animation tools which are helpful for testing the applications. References: Block by Block Toward

Update "AgriNode bundle" for Eclipse Kura (using Bitreactive)

Image
After Vietnamese New Year holiday or Tet holiday, I am back to the challenge. In this post, I update the "AgriNode bundle" which runs on Eclipse Kura platform. The figure demonstrates how the bundle works. It sends a command to all nodes for requiring data. After receiving the command, each node takes sensors reading then sends the sense data back to the gateway. The gateway then logs the data and forward them to the cloud via MQTT protocol. A web application is built on the cloud - IBM Bluemix for visualizing data. A user can define the sampling time (time for taking sensor data). Sensor node:  In this work, there is only one sensor node that is used for testing. It is ESP8266 Huzzah board and connects to DHT22 sensor (a low-cost temperature and humidity sensor) Gateway:  Eclipse Kura based gateway application with integrated "AgriNode bundle" that is developed using Bitreactive  platform. Cloud App: A  Node-Red application runs on IBM blue