October 1, 2020
techflow-contiki

Installing Contiki OS in Raspberry Pi 3

Raspberry Pi is a great single board computer and can be used as a gateway for Internet of Things (IoT) devices. Installing, Contiki repositories in raspberry pi could be a little tricky but this tutorial will try to simplify the process.

Step 1: Open your terminal by double clicking the terminal icon terminal icon

rpi terminal
Raspberry Pi Terminal

Step 2: Run the following two commands in your terminal. Update and Upgrade your Raspberry Pi. This makes sure that you have all basic libraries and repositories updated.

sudo apt-get update
sudo apt-get upgrade

Step 3: Download contiki-3.0.zip file from github

wget https://github.com/contiki-os/contiki/archive/3.0.zip

Step 4: Wait for some time and after the download completes. Unzip the downloaded file using the command

unzip contiki-3.0.zip

Step 5: For Tmote (Telos B) Devices. Install the following libraries

sudo apt-get install build-essential binutils-msp430 gcc-msp430 msp430-libc msp430mcu mspdebug

Step 6: For OpenMote Devices. Install these libraries

 sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi

Step 7: For running Cooja you would need to follow Step 5 & 6 and additionally run this command

sudo apt-get install openjdk-8-jdk openjdk-8-jre ant libncurses5-dev

Optional Step: For 64-bit virtual machine you might need this command to avoid issues with serialdumplinux

sudo apt-get install lib32ncurses5

That’s it! Enjoy 🙂

Saifur Rahman

Saifur Rahman is a Full Stack Laravel Developer. Additionally, he has spent a significant amount of time to learn and research in the domain of the Internet of Things (IoT). He loves to share his work and contribute to helping fellow developers. Saifur also runs the following websites and services - Pingsms.in and Techmion.com

View all posts by Saifur Rahman →

3 thoughts on “Installing Contiki OS in Raspberry Pi 3

Leave a Reply

Your email address will not be published. Required fields are marked *