The actual Vref on the mica2 is the battery voltage.
I forget where the ADCREFM thing comes from...

MS

ram kishore wrote:
> Hi,
>       I receive RSSI values( uint16_t type) using Msg->strength feild
> .At maximum power, I get RSSI(ADC) value as 0x0015.Given in
> /tos/platform/mica2/ADCREFM.nc file(attached) is the following
> formula:
> 
> ADC = (Vport*1024) / Vref; Where Vref =1.23V as in ADCREFM file.I find
> Vport using above equation for 0x0015(integer=21) and substitute in
> 
> RSSI(dBm) = -50 * Vport -45.5 ;
> 
> I get -46.2612 dBm which is wrong actually.I use tinyos1.1.10.I posted
> this problem several times all in vain.Please help me out.I am going
> out of head.Please.
> 
> Thanking you,
> Kishore
> _______________________________________________
> 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

Reply via email to