- Notifications
You must be signed in to change notification settings - Fork0
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.
lorepas/smart-orchard
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
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 thecontikier
command and then in the pathtools/cooja
run the app with theant run
command. Once in Cooja, we can deploy the nodes in two ways:
- Open a preconfigured simulation (file with .csc extension).
- 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 filecoap_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 theborder-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 intocoap-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
You can find the documentation in thewiki.
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.