Thanks for help of Hunkeler. But, if we want to get the power of node, we could need the current( Power = Voltage * Current).
So if there is the interface of getting Current, such as CurrentC() interface, in TinyOS 2.x? Best Regards and Thanks, Alex 2011/4/5 Urs Hunkeler <[email protected]> > Hi, > > Use the VoltageC component: > > components new VoltageC(); > > It offers a Read<uint16_t> interface. The calculate the actual voltage, > divide the value by 4096 and multiply by 3. E.g., if the read(..) event > gives you the value rawVolt: realVolt = rawVolt * 3 / 4096. > > Cheers, > Urs > > > On 04/05/2011 01:08 PM, hayet nasri wrote: > > > > hello all > > I am working on a project to manage WSN with SNMP. I would know how can i > > get the level of battery of telosb mote. So is there a way to do so? > > thanks > > > > hayet nasri > > _______________________________________________ > 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
