Hi Mohamed,

The battery voltage can be measured. I think this functionality should 
be provided by a component called VoltageC. However, the battery voltage 
is not always a good indicator for the remaining battery capacity. If 
you use rechargeable batteries, the voltage tends to remain at a stable 
level for a long time and then drops suddenly. In this case you would 
need a means of measuring the actual energy consumed and subtract it 
from the capacity of the batteries (this is what is for instance done in 
laptops). If you search the list you will find a lot of discussions on 
this subject.

Cheers,
Urs

Mohamed H. Seddik wrote:
> Thansk alot, I really appreciate your answer.
>  
> just one more question, Is there any code can be used to monitor the mote 
> battery level and gives these reads back
> 
> thanks again
> 
>  
> Mohamed
> 
> --- On Tue, 2/24/09, Urs Hunkeler <u...@gmx.ch> wrote:
> 
> From: Urs Hunkeler <u...@gmx.ch>
> Subject: Re: [Tinyos-help] need help with understanding Tinyos
> To: mhse...@yahoo.com
> Cc: tinyos-help@millennium.berkeley.edu
> Date: Tuesday, February 24, 2009, 11:06 PM
> 
> Hi Mohamed,
> 
> TinyOS is an embedded operating system. To save memory space, the operating
> system is not installed as a separate software module, but rather the programs
> that you want to use are compiled into a single binary, which then is 
> installed
> on the motes. In addition, the development environment (without which you 
> cannot
> use TinyOS) provides libraries which run on the base station (computer) and
> facilitate communication between the wireless sensor network and applications
> running on the base station.
> 
> To summarize:
> - TinyOS is primarily installed on the motes (sensor nodes, such as MicaZ or
> TelosB).
> - TinyOS is not very useful by itself, you need an application to go with it
> (e.g. Deluge).
> - The development environment for TinyOS provides libraries to be installed on
> the base station.
> 
> To get started with TinyOS you might want to read the tutorials:
> http://docs.tinyos.net/index.php/TinyOS_Tutorials
> 
> Cheers,
> Urs
> 
> 
> Mohamed H. Seddik wrote:
>> Hi ALL
>>  I'd like to know, we install the tinyos (the operating system) on the
> mote or the base station ? if not the mote, what we use with the mot ?
>>  or we just use the tinyos for installing  the application on the mote.
>>  I am really confused with this.
>>  last quest. is there any codes can be used to monitor the mote battery
> level ?
>>
>>  thanks
>>
>>  Mohamed
> 
> 
> 
>       

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to