Jump to content

Parkinsons disease monitoring project: Difference between revisions

From HW wiki
No edit summary
Auersm1 (talk | contribs)
No edit summary
Line 1: Line 1:
<div style="background-color: #DCDDF6; width:600px; border: solid #BA0000 1px; float: right; padding: 1em; margin-top: 4em; margin-right: 2em; margin-left: 2em">
<div style="background-color: #DCDDF6; width:200px; border: solid #BA0000 1px; float: right; padding: 1em; margin-top: 4em; margin-right: 2em; margin-left: 2em">


Ukoly:
Aktuální práce - úkoly v sekci "Tasks"
* osadit 3x akcelerometr (analogove)
* otestovat digitalni akcelerometr (I2C)
* topologie hvezda - 1x PAN Coordinator, 3x slaves
* program (C, Java) na ukladani sebranych dat do textoveho souboru
* asociace/disasociace do PAN
* GTS - otestovat a porovnat s CSMA/CA
* ztratovost paketu - najit slabe misto
* chybovost paketu
* casova synchronizace mezi slaves
* aktualizovat WiKi


</div>
</div>


== '''Project definition''' ==
== '''Project definition''' ==
Line 24: Line 13:
<CENTER>[[Image:Body.png]]</CENTER>
<CENTER>[[Image:Body.png]]</CENTER>


== '''Time-schedule''' ==
== '''Developing phase''' ==
 
<br>
=== Application DataSendAccel ===
Program for the Tmote Sky module with the accelerometer's extension board is developed by using TinyOS/nesC and open-ZB protocol stack designed at Polytechnical institute of Porto.<br>
Program is based on the example application DataSendExample (created by André Cunha). The devices already have a short address meaning they are associated with the PAN coordinator.<br>
It's possible to associate three devices with accelerometer's extension board.<br>
Sensor's data are read, processed and send via IEEE 802.15.4 protocol during the CAP period using the CSMA/CA in data frame of packet. Coordinator receives packet, sensor's data place in data frame of TinyOS message and the message send over the USB to computer.<br>
By means of drivers "USB to serial comm port" we can read data from USB as well as from serial port. The application in C# is running on computer and proccesing and displaying the received data from the USB/serial port.
 
'''TinyOS files:'''<br>
: ''datasendaccel.h'' - definitions and variables<br>
: ''DataSendAccel.nc'' - the configuration component, file containing the top-level configuration<br>
: ''DataSendAccelM.nc'' - the module component, contains implementation and own program for two different operation modes depending if the device is the coordinator or not<br>
: ''mma7260q.h'' - header file with the configuration of connecting external sensor<br>
: ''TRead.h'' - header file with structure's definition of TinyOS message<br>
: ''LocalTime.h, LocalTime.nc, LocalTimeC.nc, LocalTimeM.nc, LocalTimeInfo.nc, AbsoluteTimer.nc'' - interfaces, configuration and implementation of reading and conversion the Tmote's local time
 
<br>
=== C# application ===
Application uses class handles of the bit and hexadecimal manipulations. And the ZedGraph module. It's a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets.


Application form:<br>
: ''Connect'' - open port connection<br>
: ''Disconnect'' - close port connection<br>
: ''Port scan'' - find active ports<br>
: ''Test'' - one-shot depiction of collected sensor's data<br>
: ''Graph'' - on/off graphical representation<br>
<br>
== '''Tasks''' ==
== '''Tasks''' ==
* synchronization between wireless sensor motes and central node: common time for the samples capture
* osadit 3x akcelerometr (analogove)
* otestovat digitalni akcelerometr (I2C)
* topologie hvezda - 1x PAN Coordinator, 3x slaves
* program (C, Java) na ukladani sebranych dat do textoveho souboru
* asociace/disasociace do PAN
* GTS - otestovat a porovnat s CSMA/CA
* ztratovost paketu - najit slabe misto
* chybovost paketu
* casova synchronizace mezi slaves (synchronization between wireless sensor motes and central node: common time for the samples capture)
* aktualizovat WiKi
 
<br>
== '''SW & Documentation''' ==
* [http://www.tinyos.net/ TinyOS 1.1.15 (Dec 2005)]
* [http://nescc.sourceforge.net/ nesC 1.2.7a]
* [http://www.open-zb.net/ An IEEE 802.15.4/Zigbee protocol implementation v1.2 (in nesC/TinyOS)]
* [http://msdn2.microsoft.com/en-us/evalcenter/bb188238.aspx Microsoft Visual Studio 2005]
* [http://zedgraph.org/wiki/index.php?title=Main_Page ZedGraph]


== '''HW''' ==
<br>
== '''HW & Documentation''' ==
* [http://www.moteiv.com/products/tmotesky.php Tmote Sky (TelosB platform)]
* [http://www.alldatasheet.com/datasheet-pdf/pdf/117096/STMICROELECTRONICS/LIS3LV02DQ.html LIS3LV02DQ (ST) - 3-Axis 2g/6g digital accelerometer]
* [http://www.alldatasheet.com/datasheet-pdf/pdf/103487/MOTOROLA/MMA7260Q.html MMA7260Q (Freescale) - 3-Axis 1.5g-6g analog accelerometer]
* For central unit we can use  [http://www.vinculum.com/prd_vnc1l.html VNC1L] - it is USB host controler. Its perfect way how to storage data on USB disks.
* For central unit we can use  [http://www.vinculum.com/prd_vnc1l.html VNC1L] - it is USB host controler. Its perfect way how to storage data on USB disks.


== '''Links''' ==
<br>
== '''Other Links''' ==
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]

Revision as of 22:32, 13 September 2007

Aktuální práce - úkoly v sekci "Tasks"

Project definition

Wireless sensor motes placed on limbs (legs, arms) transmit periodically measured data to a central node for storing and evaluation. Once a day (or in predefined period) data from central node is downloaded to PC or PDA for analysis and computation of feedback in the form of brain stimulation or appropriate dose of medicine.
Central node stores received data from wireless sensor motes with time stamps to embedded memory card (MMC, SD, CF or similar). Central node consists of 802.15.4/ZigBee radio chip, MCU and memory card. Central node can be wear on belt therefore its size is not so important. Wireless sensor mote includes 802.15.4/ZigBee radio chip, MCU and accelerometer and should be worn on wrist similar a watch is weared. This motes should be as small as possible.

Project specification link

Developing phase


Application DataSendAccel

Program for the Tmote Sky module with the accelerometer's extension board is developed by using TinyOS/nesC and open-ZB protocol stack designed at Polytechnical institute of Porto.
Program is based on the example application DataSendExample (created by André Cunha). The devices already have a short address meaning they are associated with the PAN coordinator.
It's possible to associate three devices with accelerometer's extension board.
Sensor's data are read, processed and send via IEEE 802.15.4 protocol during the CAP period using the CSMA/CA in data frame of packet. Coordinator receives packet, sensor's data place in data frame of TinyOS message and the message send over the USB to computer.
By means of drivers "USB to serial comm port" we can read data from USB as well as from serial port. The application in C# is running on computer and proccesing and displaying the received data from the USB/serial port.

TinyOS files:

datasendaccel.h - definitions and variables
DataSendAccel.nc - the configuration component, file containing the top-level configuration
DataSendAccelM.nc - the module component, contains implementation and own program for two different operation modes depending if the device is the coordinator or not
mma7260q.h - header file with the configuration of connecting external sensor
TRead.h - header file with structure's definition of TinyOS message
LocalTime.h, LocalTime.nc, LocalTimeC.nc, LocalTimeM.nc, LocalTimeInfo.nc, AbsoluteTimer.nc - interfaces, configuration and implementation of reading and conversion the Tmote's local time


C# application

Application uses class handles of the bit and hexadecimal manipulations. And the ZedGraph module. It's a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets.

Application form:

Connect - open port connection
Disconnect - close port connection
Port scan - find active ports
Test - one-shot depiction of collected sensor's data
Graph - on/off graphical representation


Tasks

  • osadit 3x akcelerometr (analogove)
  • otestovat digitalni akcelerometr (I2C)
  • topologie hvezda - 1x PAN Coordinator, 3x slaves
  • program (C, Java) na ukladani sebranych dat do textoveho souboru
  • asociace/disasociace do PAN
  • GTS - otestovat a porovnat s CSMA/CA
  • ztratovost paketu - najit slabe misto
  • chybovost paketu
  • casova synchronizace mezi slaves (synchronization between wireless sensor motes and central node: common time for the samples capture)
  • aktualizovat WiKi


SW & Documentation


HW & Documentation


Other Links