Cooja is an awesome network simulator for Contiki. A simulated Contiki Mote in COOJA is an actual compiled and executing Contiki system. The system is controlled and analyzed by COOJA. To run cooja you need to have Instant Contiki installed. If you haven’t installed yet check out my step by step tutorial on “Quickstart your IoT Experiments by quickly deploying Instant Contiki“
Step 1: Open you terminal by clicking the Terminal Icon or by pressing Ctrl + Alt + T

Step 2: Navigate to this path from your terminal
cd contiki-2.7/tools/cooja
Step 3: Enter the following command ant run next
ant run
Step 4: After few seconds you should be able to see the following screen

Step 5: Click on the File option or press Alt + F
Step 6: Click on Open Simulation and navigate to contiki-2.7/examples/hello-world/hello-world-example.csc

Step 7: Your screen should look like this

Step 8: Simply click Start button in Simulation Button to start your simulation. You will get the following output

That’s it 🙂 Your Cooja Hello World is up and running. Didn’t understand what it means? Don’t worry. In the next article, I will explain how to run your own hello world simulation in Cooja and learn more about Contiki OS. Consider this tutorial as a test run of your cooja tool.
With over 3 years of versatile experience in IT Specialist, Project Manager, CTO, and Coding Instructor roles, I bring a comprehensive skill set to my current position as a Senior IT Support Analyst at RBC Capital Markets. I am proficient in stakeholder management, envisioning, producing, and delivering well-tested software products, and optimizing business processes. My passion lies in two key areas: technical writing and cloud engineering.
My expertise in technical writing is evidenced by published works on esteemed platforms like Techflow360, FreeCodeCamp, and Elsevier. In the realm of cloud engineering, I am further bolstered by my Google Cloud Associate Cloud Engineer certification.
At She Thinks Code, I actively contribute to offering computer science education to women from Least Developed Countries, harnessing technology to empower individuals. I am eager to explore collaborations and initiatives that capitalize on my expertise in diverse technical environments, including leveraging my cloud engineering skills.
2 thoughts on “Getting Started with Cooja Hello World Tutorial”
Comments are closed.