...
Segger Debugger + ARM-JTAG 20-10 pin converter
two Openmotes
a mimsy from Kris
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:
...
First add the
sensors_init()
in thetutorial_init()
.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.On the PC side, modify
tutorial_dagroot.py
as follows: uncomment line 219 and add the temp_data = … and print out the result.run
sudo python tutorial_dagroot.py
again and WAIT.
...