In my last tutorial, I touched up on Contiki OS Hello World which can be run by by simply loading a preconfigured .csc file.
This tutorial will be a little more in-depth so that the user can upload their hello world code into Sky Motes and learn about cooja a little more. Follow this tutorial up to Step 5 “Getting Started with Cooja Hello World Tutorial” to learn how to open Cooja Simulator.
Step 1: Follow this tutorial up to Step 5 “Getting Started with Cooja Hello World Tutorial” to learn how to open Cooja Simulator.
Step 2: Press Ctrl + N to open up a new simulation tab. Name the simulation Hello World. Keep rest of the settings as it is. We will understand about the different Radio Mediums later.
Step 3: You will get an output like shown below
Step 4: Navigate to Motes > Add motes > Sky mote. Sky motes are also known as Tmote Sky or Telos B.
Step 5: Now you will get a new panel as shown below. Click browse and navigate to contiki-2.7/examples/hello-world/hello-world.c and press Compile
Step 6: After compilation press the Create button. You will get a option to add motes. Add 2 Motes and in Network Box click on View and enable Mote Type and 10m background (Optional) . In simulation control press Start.
Step 7: Check out the output of Mote 2.
The Mote 2 Output denotes the Main components that:-
Node Id | 2 |
Network Stack | Rime |
MAC Protocol | CSMA |
Radio Duty Cycle (RDC) Protocol | ContkiMAC |
Sleep Cycle | 8 Hz |
Channel | 26 |
Transmitted Message | Hello World |
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.
App Engine is a robust platform within Google Cloud that empowers developers to create and…
Django is an open-source web framework that helps developers to create and maintain high-quality, secure…
The problem of converting a string in a zigzag pattern is a classic problem in…
When Neeraj Chopra bagged India's only gold medal in Tokyo 2020 Olympics, the whole nation…
Htmx is short for high power tools for HTML. It simplifies tedious work for developers.…
What is Biomechanics? We know, mechanics is the branch of physics dealing with the motion…