Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Segger Debugger + ARM-JTAG 20-10 pin converter

    Image RemovedImage Added
  2. two Openmotes

  3. a mimsy from Kris

  4. some wires

Please follow the below snapshot on how to connect the wires. (This is

Connect using an openbase, and using an openmote would be similar)

...

openbase

...

Connect using openmote

notes: the ground of the mimsy is on the edge of the board (red wire) and the power is the black wire in this particular case. Make sure your connection is correct (check this datasheet to see the power/gnd of mimsy)

...

Create Your Tutorial App

In this section, we demonstrate a basic routine to create an application in the openWSN framework. Consider the following steps:

...

  1. First add the sensors_init() in the tutorial_init().

    Image RemovedImage Added
  2. add the codes in the red box in the tutorial_task_cb(). It basically reads the temperature data from the mimsy and sends it out in the separate four bytes in the payload.

  3. On the PC side, modify tutorial_dagroot.py as follows: uncomment line 219 and add the temp_data = … and print out the result.

  4. run sudo python tutorial_dagroot.py again and WAIT.

...