Xbee API Mode Programming and A Sound Detection Application
Ning, Xufei (2015)
Ning, Xufei
Vaasan ammattikorkeakoulu
2015
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-201505188613
https://urn.fi/URN:NBN:fi:amk-201505188613
Tiivistelmä
This project is about using Xbee API mode to transmit sound detection data in a wireless sensor network. In such a sound detection wireless sensor network, we use Raspberry Pi as a sink node, and a group of Arduino Mega 2560 as sensor nodes. The wireless communication was achieved by Xbee RF modules working in API mode. This system has a basic function run as a sound level meter. The sensor node can measure sound level in RMS (Root Mean Square) value and turn on a LED if the RMS value is over a threshold. Then the sensor nodes will send these RMS values to a sink node. The sink node display RMS value with its sensor ID, frame ID and timestamp. All these data will be recorded to log files for further use.