MoteComm: Implementing Active message communication between mote and zigbee board.

 

 

Project Group:

1)      Manan Shah

2)      Trushant Kalyanpur

 

 

Project Description: 

 

We will implement the Active Message layer of the TinyOS over the 802.15.4 on the Renesas M16C board.

 

The aim of the project is to transfer some data, for example, the temperature readings from the temperature sensor on the Berkeley Motes to the Renesas M16C board and display the values on the LCD of the M16C board. 

 

Some of the steps involved in the project are as follows:

1) Interfacing the Renesas M16C62 board with the Chipcon Module i.e. the CC2420 Evaluation board.

2) The software part of platform consists of Hardware Abstraction Layer (HAL) prepared for M16C62 MCU, a MAC layer that has been ported to the High performance Embedded Workshop (HEW) software development platform.

3) We will port the Active Message layer over the MAC layer of the 802.15.4 on the Renesas M16C board and emulate the handling of the active messages usually done by TinyOS.

4) Write a sample application to transfer the sensor data from the Berkeley Mote to the M16C board interfaced to the CC2420 Evaluation Board.

5) Display the sensor readings on the LCD of the M16C board.

 

List of References:

·                    TinyOS home page

·                    TinyOS tutorial

·                    Sensor Networks Introduction PPT

·                    nesC home page

·                    telos support page

·                    MSP430 docs: part-specific generic

·                    802.15.4 standard

·                    cc2420 datasheet and cc2420 slides

·                    M16C datasheet and Renesas SKP board schematics.

·                    The C source code for 802.15.4 protocol’s MAC and the hardware abstraction layer for the Renesas M16C62 board.

·                    Documentation on interfacing the CC2420 Evaluation board with M16C.

Milestones Achieved.

  1. Executing a test application
  2. Files required for implementing the Active message Layer
  3. The data structure of the packet transmitted by the mote
  4. Functioning of the Active message Layer on the Mote
    1. Data Reception
    2. Data Transmission
  5. Extracting C code from the active message layer
  6. The process of message reception and transmission on the Zigbee MAC layer was studied and the key functions involved were identified.
    1. Data reception on the M16C side:
    2. Data transmission on the M16C side:
  7. The data structure of the Zigbee MAC layer was identified.
  8. Establishing communication between the M16C board and the Mote.
  9. The data packet received on the mote is transferred over the UART and displayed on the PC:
  10. The data packet is parsed on the zigbee board
  11. A temperature sensor application is written which transfers temperature data from the mote to the board
  12. The reverse communication is performed but the packet cannot be parsed on the mote side.

 

Proposed Future work:

·        Modify the hardware to support both the Zigbee board and the SKP COMMS board.

·        Display the data on the PC via the HTTP protocol on a web browser.

·        Try to parse the packet on the mote side

 

 

 

Individual Member contribution:

·        Trushant:

Trushant was responsible for doing the work on the zigbee board side which involved receiving the message and parsing it. All the fields were extracted successfully and stored in an array. He was also responsible for formatting the transmission frame.

·        Manan:

Manan was responsible for software development on the mote side. He wrote the temperature gathering application on the mote side and transmitted it using the radio channel. He was also responsible for studying the reception process and modifying the TinyOS files so that the message reached the application layer.

 

Report for Milestone1

Report for Milestone2

Report for Milestone3