[Tinyos-help] how to read analogue input on telosb (T-Mote Sky)?

2011-11-29 Thread zhiyi
I worked fine in terms of compilation. Could you please shed some light what I could try next? Many thanks for your help. Zhiyi Are there any of the standard telosb external sensors (Humidity/Temperature/Light) available on your telosb ? Can you test whether they give you good readings

Re: [Tinyos-help] how to read analogue input on telosb (T-Mote Sky)?

2011-11-29 Thread zhiyi
tree of telosb? I tested my module works fine for ADXL321. Cheers, Zhiyi On 28/11/2011, at 11:15 PM, Jan Hauer wrote: Your configuration seems identical to the telosa/b configuration (S1087-01 light sensor on port A5). There is already a component (have you tried it?) - tinyos-main/tos

Re: [Tinyos-help] Help- Rssi and field group id

2011-08-10 Thread zhiyi
I don't think the following processing is correct. Since the rssi_raw is already a signed 16-bit integer, you should just do: rssi_raw = rssi_raw - 45 Zhiyi if (rssi_raw 0x80) rssi_raw = rssi_raw - 256 - 45; else rssi_raw = rssi_raw - 45; Yes, I now, If you check