[Updates] [Overview] [Tutorials] [Downloads] [Documentation] [The Beverage] [Contact]

Maté Tutorials

You must install Maté before you can go through its tutorials. The Downloads page has installation instructions and system requirements. You should be familiar with the basics of using TinyOS motes or TOSSIM; if you aren't, we recommend starting with the TinyOS tutorials, then returning to Maté. If you do not have TinyOS motes, you can go through the tutorials using TOSSIM, the TinyOS simulator.

These tutorials deal predominantly with using the TinyScript language. The motlle language has its own tutorial, which can be found in the languages/motlle directory. We strongly recommend that you go through these tutorials before using motlle.

Lesson 1: Building and Using Maté
In this lesson, you build a provided Maté VM and programming environment. You install the VM on a mote (or use TOSSIM) and write a simple program to test that everything is working properly.
Lesson 2: An Introduction to TinyScript
This lesson introduces the TinyScript language. Using the VM from Lesson 1, you write a series of increasingly complex programs, culminating in one that sends filtered sensor readings when light goes over a threshold.
Lesson 3: Networking
In this lesson, you program a small network of motes, instead of a single one. Using VM networking support, you write programs that have motes interact and collaboratively process data.
Lesson 4: Building a VM
In this lesson, you build your own VM and program it. It shows you how to browse and select from the available triggering events and primitives to tailor a VM to your application's needs.
Lesson 5: Adding Functions
This lesson assumes you are familiar and comfortable with nesC, the TinyOS programming language. It shows you how to write new functions for a VM to use. You write a simple arithmetic function, then a more complex one that blocks a context as it executes a split-phase operation.
Lesson 6: Adding Events
This lesson assumes you are familiar and comfortable with nesC, the TinyOS programming language. It shows you how to write new event handlers for a VM to use. You write a new context component that runs every time a mote sends a packet.

Last modified: Thu Jul 8 12:11:39 PDT 2004