Download My master thesis - The First Hogthrob Field Experiment

Transcript
CONTENTS
CONTENTS
3 The First Hogthrob Experiment
3.1 Goal . . . . . . . . . . . . . . .
3.2 Method . . . . . . . . . . . . .
3.2.1 Ground Truth . . . . .
3.2.2 Back Pressure Test . .
3.2.3 Vulva Reddening Score
3.3 Summary . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4 Node Hardware
4.1 Sensor Board . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Accelerometers . . . . . . . . . . . . . . . . . .
Range Options . . . . . . . . . . . . . . . . . .
Interface Options . . . . . . . . . . . . . . . . .
Energy Consumption and Startup Time . . . . .
4.1.2 Accelerometers from Analog Devices . . . . . .
4.1.3 Accelerometers from Freescale Semiconductors
4.1.4 Accelerometers from STMicroelectronics . . . .
4.1.5 Comparison of the different Accelerometers . .
4.1.6 Other Possible Sensors . . . . . . . . . . . . . .
4.1.7 Manufacturing the Sensor Board . . . . . . . .
4.2 BTnode Modifications . . . . . . . . . . . . . . . . . . .
4.2.1 Reducing Energy Consumption on the Nodes .
4.2.2 Voltage Regulator for the Bluetooth Module . .
4.2.3 Battery Charge Indicator . . . . . . . . . . . . .
4.3 Summary . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Low Level Software
5.1 Accessing the Accelerometers . . . . . . . . . . . . . .
5.1.1 The ADXL320 . . . . . . . . . . . . . . . . . .
5.1.2 The LIS3L02DS . . . . . . . . . . . . . . . . .
5.2 Power Management . . . . . . . . . . . . . . . . . . .
5.2.1 Implementing Power Management . . . . . .
5.2.2 Power Management on the Mica Motes . . . .
5.3 TinyBT . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.1 Problems in the original TinyBT Stack . . . .
5.3.2 Duty Cycling the Bluetooth Module . . . . . .
5.4 Storing Sensor Data . . . . . . . . . . . . . . . . . . .
5.4.1 Accessing the Flash . . . . . . . . . . . . . . .
Disabled Interrupts . . . . . . . . . . . . . . .
Busy Waiting . . . . . . . . . . . . . . . . . .
5.4.2 Placing Code in the Boot Loader Area . . . .
5.4.3 Finding Unused Flash Pages . . . . . . . . . .
5.4.4 A TinyOS Component for Accessing the Flash
5.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.1 Further Work on TinyBT . . . . . . . . . . . .
6/120
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
29
29
29
30
31
31
31
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
33
33
33
34
34
34
35
35
35
35
36
37
38
38
39
39
39
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
41
41
41
42
42
43
44
44
45
46
47
47
49
50
50
50
51
51
52