Re: [Tinyos-help] TelosB and IRIS sensor value calculation

2012-05-09 Thread Conny Schmitt
Hallo,

Thanks a lot. Now I am just look for the equations to calculate the voltage 
value of IRIS MTS400 and the sound value for MTS300.

Regards,
Conny

 Original-Nachricht 
 Datum: Mon, 23 Apr 2012 15:18:47 +0200
 Von: Francesco Ficarola francesco.ficar...@gmail.com
 An: laptop...@gmx.de
 CC: tinyos-help@millennium.berkeley.edu
 Betreff: Re: [Tinyos-help] TelosB and IRIS sensor value calculation

 Hi,
 
 On 04/23/2012 03:04 PM, laptop...@gmx.de wrote:
  The light sensor now reports a value of 467. But in the datasheets I can
 not find a conversion formular for international units. The only unit I
 found is for the temperature value.
 
 Look at this: http://www.taosinc.com/ProductDetails.aspx?id=133
 
 Download the following PDF and look at page 11:
 TSL2550 AMBIENT LIGHT SENSOR WITH SMBus INTERFACE
 
 Regards,
 -- 
 Francesco Ficarola
 Department of Computer and System Sciences
 Sapienza, University of Rome
 Via Ariosto 25, room B112
 00185, Rome
 Phone: (+39) 0677274119
 Skype: francesco.ficarola
 DIS email: ficarola_at_dis.uniroma1_dot_it
 Nexse email: francesco.ficarola_at_nexse_dot_com
 Home email: francesco.ficarola_at_gmail_dot_com
 GPG KeyID: 0xDBA99D92
 

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!  

Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TelosB and IRIS sensor value calculation

2012-04-23 Thread laptopcss
Hallo,

thanks for the input. We fixed the bug concerning the light sensor.

  On MTS 400:
  - LightTAOSTSL2250: 65535


The light sensor now reports a value of 467. But in the datasheets I can not 
find a conversion formular for international units. The only unit I found is 
for the temperature value.

Regards,
Conny


 Original-Nachricht 
 Datum: Fri, 20 Apr 2012 17:53:06 +0200
 Von: Conny Schmitt laptop...@gmx.de
 An: Francesco Ficarola francesco.ficar...@gmail.com
 CC: tinyos-help@millennium.berkeley.edu
 Betreff: Re: [Tinyos-help] TelosB and IRIS sensor value calculation

 Hallo Franscesco,
 
 we have the problem independent of the operating system version. So it
 might be a programming error, but we have no idea where to search. Can you
 give me a hint for the file I need and perhaps help me to solve it?
 
 Regards,
 Conny
 
 
 
  Original-Nachricht 
  Datum: Fri, 20 Apr 2012 17:45:03 +0200
  Von: Francesco Ficarola francesco.ficar...@gmail.com
  An: Conny Schmitt laptop...@gmx.de
  CC: tinyos-help@millennium.berkeley.edu
  Betreff: Re: [Tinyos-help] TelosB and IRIS sensor value calculation
 
  Hi,
  
  On 04/20/2012 05:30 PM, Conny Schmitt wrote:
   On MTS 400:
   - LightTAOSTSL2250: 65535
  
  That's likely a mistake, your motes have a 12 bit and 10 bit ADC
  resolution, telosb and iris respectly, so that value is out of range (12
  bit = 0-4095, 10 bit = 0-1023). It's probably due to bad code or a
  problem in tinyos 2.1.1. Indeed, in the past, I had the same problem
  with 2.1.1 version. Try TinyOS 2.1.0 (I solved with it) and tell me if
  you get the same value.
  
  Regards,
  -- 
  Francesco Ficarola
  Department of Computer and System Sciences
  Sapienza, University of Rome
  Via Ariosto 25, room B112
  00185, Rome
  Phone: (+39) 0677274119
  Skype: francesco.ficarola
  DIS email: ficarola_at_dis.uniroma1_dot_it
  Nexse email: francesco.ficarola_at_nexse_dot_com
  Home email: francesco.ficarola_at_gmail_dot_com
  GPG KeyID: 0xDBA99D92
  
 
 -- 
 NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
  
 Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TelosB and IRIS sensor value calculation

2012-04-23 Thread Francesco Ficarola
Hi,

On 04/23/2012 03:04 PM, laptop...@gmx.de wrote:
 The light sensor now reports a value of 467. But in the datasheets I can not 
 find a conversion formular for international units. The only unit I found is 
 for the temperature value.

Look at this: http://www.taosinc.com/ProductDetails.aspx?id=133

Download the following PDF and look at page 11:
TSL2550 AMBIENT LIGHT SENSOR WITH SMBus INTERFACE

Regards,
-- 
Francesco Ficarola
Department of Computer and System Sciences
Sapienza, University of Rome
Via Ariosto 25, room B112
00185, Rome
Phone: (+39) 0677274119
Skype: francesco.ficarola
DIS email: ficarola_at_dis.uniroma1_dot_it
Nexse email: francesco.ficarola_at_nexse_dot_com
Home email: francesco.ficarola_at_gmail_dot_com
GPG KeyID: 0xDBA99D92



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TelosB and IRIS sensor value calculation

2012-04-20 Thread Conny Schmitt
Hallo together,

I am working with TinyOS 2.x at the moment. My whole network works fine 
consisting of TelosB and IRIS motes with MTS 300 or MTS 400. I receive values 
for all of the sensors. The translation for the temperature is no problem but 
it is a problem for the following sensor data:

On MTS 400:
- LightTAOSTSL2250: 65535

On MTS 300:
- SoundMT300: 478
- LightTAOSTSL2250: n.n.

Can anyone provide me formulars for translating the values to common values in 
Voltage, LUX, mHZ ...?

This would be great because the manuael cannot help me.

Regards and happy weekend,
Conny
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TelosB and IRIS sensor value calculation

2012-04-20 Thread Francesco Ficarola
Hi,

On 04/20/2012 05:30 PM, Conny Schmitt wrote:
 On MTS 400:
 - LightTAOSTSL2250: 65535

That's likely a mistake, your motes have a 12 bit and 10 bit ADC
resolution, telosb and iris respectly, so that value is out of range (12
bit = 0-4095, 10 bit = 0-1023). It's probably due to bad code or a
problem in tinyos 2.1.1. Indeed, in the past, I had the same problem
with 2.1.1 version. Try TinyOS 2.1.0 (I solved with it) and tell me if
you get the same value.

Regards,
-- 
Francesco Ficarola
Department of Computer and System Sciences
Sapienza, University of Rome
Via Ariosto 25, room B112
00185, Rome
Phone: (+39) 0677274119
Skype: francesco.ficarola
DIS email: ficarola_at_dis.uniroma1_dot_it
Nexse email: francesco.ficarola_at_nexse_dot_com
Home email: francesco.ficarola_at_gmail_dot_com
GPG KeyID: 0xDBA99D92



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TelosB and IRIS sensor value calculation

2012-04-20 Thread Conny Schmitt
Hallo Franscesco,

we have the problem independent of the operating system version. So it might be 
a programming error, but we have no idea where to search. Can you give me a 
hint for the file I need and perhaps help me to solve it?

Regards,
Conny



 Original-Nachricht 
 Datum: Fri, 20 Apr 2012 17:45:03 +0200
 Von: Francesco Ficarola francesco.ficar...@gmail.com
 An: Conny Schmitt laptop...@gmx.de
 CC: tinyos-help@millennium.berkeley.edu
 Betreff: Re: [Tinyos-help] TelosB and IRIS sensor value calculation

 Hi,
 
 On 04/20/2012 05:30 PM, Conny Schmitt wrote:
  On MTS 400:
  - LightTAOSTSL2250: 65535
 
 That's likely a mistake, your motes have a 12 bit and 10 bit ADC
 resolution, telosb and iris respectly, so that value is out of range (12
 bit = 0-4095, 10 bit = 0-1023). It's probably due to bad code or a
 problem in tinyos 2.1.1. Indeed, in the past, I had the same problem
 with 2.1.1 version. Try TinyOS 2.1.0 (I solved with it) and tell me if
 you get the same value.
 
 Regards,
 -- 
 Francesco Ficarola
 Department of Computer and System Sciences
 Sapienza, University of Rome
 Via Ariosto 25, room B112
 00185, Rome
 Phone: (+39) 0677274119
 Skype: francesco.ficarola
 DIS email: ficarola_at_dis.uniroma1_dot_it
 Nexse email: francesco.ficarola_at_nexse_dot_com
 Home email: francesco.ficarola_at_gmail_dot_com
 GPG KeyID: 0xDBA99D92
 

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!  

Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TelosB and IRIS sensor value calculation

2012-04-20 Thread Francesco Ficarola
On 04/20/2012 05:53 PM, Conny Schmitt wrote:
 Hallo Franscesco,
 
 we have the problem independent of the operating system version. So it might 
 be a programming error, but we have no idea where to search. Can you give me 
 a hint for the file I need and perhaps help me to solve it?
 
 Regards,
 Conny

Hi Conny,

so... have you also tried to compile and install your application into
your nodes with TinyOS 2.1.0?

If the answer is yes, then it's certainly a programming error. Look for
any assignments to your variable and check if that value, e.g., is
negative, whereas the variable is a unsigned (uint8_t, uint16_t, and so on).

Regards,
-- 
Francesco Ficarola
Department of Computer and System Sciences
Sapienza, University of Rome
Via Ariosto 25, room B112
00185, Rome
Phone: (+39) 0677274119
Skype: francesco.ficarola
DIS email: ficarola_at_dis.uniroma1_dot_it
Nexse email: francesco.ficarola_at_nexse_dot_com
Home email: francesco.ficarola_at_gmail_dot_com
GPG KeyID: 0xDBA99D92



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help