Look at the demo apps like Sense and Oscilloscope. I think the telosb version defaults to using the InternalTemp ADC reading but you should be able to just switch that to the Voltage component.
MS Anh Dung Vu wrote: > Hi everyone! > > I'm a new member in WSN, nesC and TinyOS, I used Kmote (a kind of > Telosb), can you help me to fix my problem? I want to get the value of > battery (It's mean how much battery are available from all sensor node > and send this value to coodinator) Please let me know how can I get this > value and assign to the packet in sensor node and send to Coordinator, > after that the coordinator will receive this packet. My source code in > attach files, I know my code is not good, if possible please help me! > Thanks in advance. > > <http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009> > ------------------------------------------------------------------------ > Keep your friends updated— even when you’re not signed in. > <http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
