[Tinyos-help] Measuring battery level

2006-04-13 Thread gth755q

Hi all,

I was wondering if there is a way to measure battery
level of a sensor ? If there is, are there any modules/interfaces
already developed, that one can use for that ?

Any help is greatly appreciated,
Demijan

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Installing TinyOS on Suse 10.0 x86_64

2006-04-10 Thread gth755q
I had the same problem. Take a look in the readme/installation
files of the java packages that you downloaded from that
IBM site. You have to update the PATH variable and maybe
something else - don't remember exactly.

When I did that java and javac were found, but I still
couldn't get the tinyos to run normally.

Let me know if you succeed,
jazzy79

Quoting Carlos Eduardo Rodrigues Lopes [EMAIL PROTECTED]:

 Hi everybody,

 I'm currently having trouble with Tinyos 1.1.0 installation on a Suse
 10.0 for x86_64 (also tried the latest version 1.1.15 but also without
 success).

 I have followed installation instructions from TinyOS Website.
 - Downloaded the newest IBM java compiler (5.0) (instaled in
 /opt/ibm/java2-x86_64-50 folder)
 - Downloaded JavaCOMM

 the instalation were fine, no problems.

 Next I got all necessary packages (rpm). I haven't installed Graphviz
 1.0 since I had a newer version on my system. The packages
 installation proceeded fine until tinyos-tools.

 The tinyos-tools didn't found the java virtual machine and aborted the
 installation script. Searching the web I found tinyos-tools spec file
 (http://www.tinyos.net/dist-1.1.0/tinyos/source/SPECS/tinyos-tools.spec)
 and followed the script instructions to finish installation manually
 (just typed install /usr/local/lib/tinyos/libgetenv.so
 /opt/ibm/java...).

 Installing the tinyos rpm, again it can't find neither java or javac.
 Again the script halt and installation was completed manually

 Considering installation finished I tried to complie Blink for mica2
 and got a lot of linkage errors. Something like this:

 /tmp/ccRdmsSc.s:653: Error: unknown opcode `ledson'
 /tmp/ccRdmsSc.s:673: Error: `,' required
 /tmp/ccRdmsSc.s:673: Error: constant value required
 /tmp/ccRdmsSc.s:673: Error: garbage at end of line
 /tmp/ccRdmsSc.s:673: Error: unknown opcode `ledson'
 /tmp/ccRdmsSc.s:682: Error: expected comma after name `TimerM' in
 .size directive
 /tmp/ccRdmsSc.s:682: Error: unknown opcode `signalonet'
 /tmp/ccRdmsSc.s:682: Error: unknown opcode `signalonet'
 make: ** [build/mica2/main.exe] Erro 1

 By the way, I'm using gcc 4.0.2

 Have someone already installed tinyos on Suse? Had this problem? Can
 anyone help me?

 --
 Carlos Eduardo Rodrigues Lopes
 Mestrando em Engenharia Eletrica - UFMG

 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



--


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] How to begin for RSSI for motes?

2006-04-09 Thread gth755q
Amit,

what you want to do is program the mote such that it will send the
signal strength value in the payload of the packet (TOS_Msg.data).
Then you'll be able to see it on PC.

Hope that helps,
Demijan


Quoting #AMIT SATPATHY# [EMAIL PROTECTED]:

 Hi.

 I read the AM.h file and i saw the Msg- strength field. However, i also
 noticed that its only an internal value. Something that cannot be seen in the
 message packet sent to the PC. How do we extract this value from the radio to
 display on the PC? I have read the CC2420 datasheet but at the moment, i
 still cannot find any relevant material.

 Also, is this value sent from the original mote that is sending the packet or
 is it something that the base mote computes? Because if its something that
 the mote sends to the base mote, then it would be pretty useless.

 Thanks and regards.

 Amit.

 

 From: Sara B. [mailto:[EMAIL PROTECTED]
 Sent: Fri 4/7/2006 2:23 AM
 To: #AMIT SATPATHY#
 Subject: Re: [Tinyos-help] How to begin for RSSI for motes?



 Hi,

 You can read RSSI value from TOS packets. Take a look to AM packet format
 (AM.h) and you0ll see Msg-strength, that is RSSI value. For more
 information, you can read CC2420's data sheet.

 Regards,

 Sara.


 2006/4/6, #AMIT SATPATHY# [EMAIL PROTECTED]:

   Hi!

   I am currently trying to learn up on RSSI for motes. But i have no idea
 where to begin from. I have tried looking through the apps folder in tinyos
 but i can't seem to find a program that uses RSSI. Could someone point me to
 a website or an application which starts off RSSI for beginners?

   Thank you and regards.


   Amit.

   ___
   Tinyos-help mailing list
   Tinyos-help@Millennium.Berkeley.EDU
   
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help








--


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help