Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README | 2009-10-18 | 853 Bytes | |
PowerNetAppP.nc | 2009-10-18 | 6.1 kB | |
PowerNetAppC.nc | 2009-10-18 | 1.8 kB | |
PowerNetApp.h | 2009-10-18 | 1.7 kB | |
Makefile | 2009-10-18 | 220 Bytes | |
Totals: 5 Items | 10.7 kB | 0 |
@author Maria Kazandjieva, <mariakaz@cs.stanford.edu> @date Dec 2, 2008 This is the current version of the powerNet code to run on wireless meters. It uses CTP as the routng layer. The payload of the packets includes energy, temperature, timestamp, and source id. Sampling interval can be changed in .h file. To view the data, use a packet sniffer, or an additional mote running the PowerBase application, and issuing the following command: > java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB*:telosb The radio operates on channel 26, and the setting can be changes in the Makefile. Make sure both base station and motes are on the same channel. To program onto the powernet board using the miniprogrammer, run > make epic install miniprog The drivers for SPI communication with the ADE7753 are located under /tos/sensorboards/powerNet