Skip to content

The aim of this IoT project is to implement a smart orchard thanks to sensor and actuator using contiki-ng system to virtualize the environment. To control them, it is used a Cloud Computing application using Californium.

Notifications You must be signed in to change notification settings

lorepas/smart-orchard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Cultivation

The aim of this project is to develop an IoT application to monitor the orchard in a smart way. In particular, thanks to both sensors and actuator that communicate with a Cloud Computing application, the farmer can monitor his orchards.

Deployment and execution

We work on Ubuntu VM in which is pre-installed Contiki-NG and we only simulate the motes work in Cooja. For this reason we have first to run the container with the contikier command and then in the path tools/cooja run the app with the ant run command. Once in Cooja, we can deploy the nodes in two ways:

  1. Open a preconfigured simulation (file with .csc extension).
  2. Open a new simulation, deploy first the border-router from the file border-router.c and then as many nodes as you wants from the file coap_server_sprinkler.c. Then we have to right click on the border-router, set it as SERVER and click on START.

At this point, we have to open a new terminal to start the border router. As we have done before, we have to run the container and then must go into the border-router's project folder. At this point we have to run the command:

make TARGET=cooja connect-router-cooja

Now, the border-router is active and ready to perfrom its actions. At this point we can start the simulation and after that we can open our Cloud Computing application. Open in terminal the main folder, go into coap-server folder and perform the following command:

mvn package

At this point, the application is compiled and the file is ready to run. With the following command, the IoT application starts:

java -jar target/coap-server-0.0.1-SNAPSHOT.jar

Documentation

You can find the documentation in the wiki.

About

The aim of this IoT project is to implement a smart orchard thanks to sensor and actuator using contiki-ng system to virtualize the environment. To control them, it is used a Cloud Computing application using Californium.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published