[Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Agnelo Silva
I am preparing the code to make the conversion of the raw RSSI value available in received message (indirectly a reading from ADC INPUT 0 - RSSI MONITOR). Although, I am developing using T1 (TinyOS 1.x), I read the T2 doc http://docs.tinyos.net/index.php/Rssi_Demo and noted the same thing I

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Michael Schippling
You may get a more informed opinion, but my belief is that the raw RSSI reading should track the battery voltage because both the source and ADC reference are relative to the battery. This would not be the case if the ADCref was regulated, but it's not. So baring any non-linearities you shouldn't

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Michael Schippling
A little asideyou CAN measure the REAL battery voltage on the micas because they have a fixed voltage connected to the battery measurement ADC input (at least the mica2 does, I'm forgetting if the Z is the same now...). It's counter- intuitive, but when you convert the fixed ref it's apparent

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Agnelo Silva
Michael, I understood your position. It really doesn't make sense to take the battery level reading for each RSSI related to each received packet. That's why, in my program, I will send this battery level value only if happened a level drop (battery) based on a threshold. Considering your idea, I

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Michael Schippling
No you don't understand my position. You will have to check the radio chip specs to verify if the raw RSSI ouptut is independent of supply voltage or not. I suspect the not part, and thus made the assertion that you don't need to make adjustments to the readings as the battery droops. You could