You are on page 1of 6

Department of Information Technology

Academic Year: 2020-21 Name of Student:Kaustubh Sawant


Semester: VI Student ID:18104066
Class / Branch: TE IT
Subject: Sensor Network Lab
Name of Instructor: Ms. Vidya Shet

Experiment No. 5

Aim: To Simulate RPL and LED on Cooja

Simulating RPL Protocol by creating a border router with sky motes

Creating a border router in the network after choosing the firmware border-router.c using below steps

1. Add motes by clicking on Motes, Add motes, Create new mote type and then Sky mote from the

resulting drop-down menu.

2. Choosing the border-router.c process for the router by browsing it as:

contiki 2.7 > examples > ipv6 > rpl-border-router>choose border-router.c by clicking on
Open button as below figure
3. Creating other motes in the network choosing “skywebsense.c” firmware/process

4. Adding 4 such sky motes and arranging the motes in the range of Router created.
5. To check the server port by Right clicking on Network > Mote tools for sky 1> Socket (Server) .

The port it is listening to will be seen on the dialog box as below:


6. To start the server from the Terminal by running the following command
Opening the folder path which consists of the border-router.c process

7. Starting the server by running the below command. Enter the password when asked for it.

8. Observing the radio traffic and server address by starting the simulation
9. To observe the neighbor’s and routes of the Router by copying the server address and pasting it in
the Browser as following

Simulating LED Blinking in cooja

1. Adding cooja mote in new network of new simulation


2. Choosing the blink.c process for the cooja mote

The RGB LED’s for cooja mote will be blinking

You might also like