ECE 6615: Sensor Networks
Lab Project
Part 2
One of the most important tasks in a sensor network is to communicate the sensed information in a multi-hop manner to a base station or sink. In this lab assignment, you will experiment with the communication capabilities of the MicaZ nodes. In addition, you will use the sensor boards to sense real information.
Task 1: Point-to-point communication between sensor nodes
Follow and complete the tutorial on mote-to-mote communication based on the BlinkToRadio application. Set up the nodes to communicate at 2435 MHz. To which frequency channel, as defined in the IEEE 802.15.4 physical layer specifications, does this frequency correspond to? Play with the distance between nodes. Which is the maximum approximate distance at which they can still communicate? Does this correspond to the manufacturer specifications? Which phenomena are affecting the transmission range?
Task 2: Monitoring the network from a base station
Starting from the BaseStation application, include a third node in the network and leave it connected to your laptop. This node will play the role of a monitoring sink. Using the SerialForwarder and the corresponding java application (take a look to the RSSI BaseStation tutorial), show on your display all the messages that the two nodes are exchanging.
Update (02/07/2014): If your TinyOS installation does not contain the $TOSROOT/apps/BaseStation folder, you can download it from here.
Task 3: Sensing Task
Use the sensor board to interface with the MicaZ mote. The board has a microphone, a buzzer and a light sensing diode. Using these, we will create a system to turn on the buzzer with sound when there is no light. In the presence of light, the system will not listen to the microphone. In the absence of light, the microphone will capture sounds and the buzzer will turn on for 5 sec if the sound volume is above the threshold.
You may set any pre-decided threshold. The TA will evaluate the program by placing the sensor in the drawer of the desk in the 5135 laboratory, and will snap his fingers then the sensor should buzz!
Important points:
- Check the name of the application in your Makefile
- Add "CFLAGS += -I%T/sensorboards/mts300/ -DMTS300CA" to your Makefile to define the sensorboard mts300ca that you are using.
- Copy the necessary files from sensorboard library to your application folder.
Useful links for these tasks are:
Deliverables
- A visual demonstration of Tasks 1, 2 and 3 to one of the TAs is required.
- Soft-copy of code for Tasks 1, 2 and 3 to be submitted to infocom@ece.gatech.edu.
Due Date
- March 3, 2017 (11:59pm; Friday Midnight).
Questions? E-mail: infocom@ece.gatech.edu