Hi,
Thanks MS.I took for granted vref=3V and proceeded.With max.Tx
power(5dBm) I get RSSI(dBm)=-48dBm with ADC=0x0015 and with
min.Tx.power= -20dBm ,I get RSSI(dBm) as -90dBm with ADC =0x0133.
Regards,
Kishore
On Tue, Jun 3, 2008 at 10:57 PM, Michael Schippling <[EMAIL PROTECTED]> wrote:
> 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