[Tinyos-help] Re: BaseStationCC2420 - reduce printf and memory size in testbed

2007-08-05 Thread DAE HEE KIM
Hello. ^^ Anyway, I solved my problem. The problem was caused by printf and memory size in sending node, rather than baseStation node. I did do two things. 1) uint8_t verbose = 0; ... if (verbose) printf(...) In case of verbose=0, sending node sent packets normally in

Re: [Tinyos-help] NOISE_BIN_SIZE in sim_noise.h

2007-08-05 Thread Philip Levis
On Aug 4, 2007, at 4:26 PM, Tal Rusak wrote: Hi, In the sim_noise.h file of Tossim (/tinyos-2.x/tos/lib/tossim/sim_noise.h), the NOISE_BIN_SIZE is defined as follows: NOISE_BIN_SIZE = (NOISE_MAX - NOISE_MIN)/NOISE_QUANTIZE_INTERVAL This appears to capture the number of bins, not

Re: [Tinyos-help] Again!!!! Low-power CC2420 multihop in TinyOS2.x question????

2007-08-05 Thread Ravi Prasad
Hi Roman, Thanks for your suggestions. The modifications you stated will help reduce power consumption. But again looking into your suggestions what I did should give a low power consumption (=~ 200uA to 300uA) in general case. Because if I do not use rxSleep for packets forwarded directly

RE: [Tinyos-help] Again!!!! Low-power CC2420 multihop in TinyOS2.xquestion????

2007-08-05 Thread Ravi Prasad
Hi David, I used oscilloscope to check the power consumtion. I am measuring voltage drop across a small resistor connected in series to the Vcc input from battery. Following are the results I get with CTP-LPL in micaz: Current ^ | -T1 - | |-| |---|C1 | |

Re: [Tinyos-help] Again!!!! Low-power CC2420 multihop in TinyOS2.x question????

2007-08-05 Thread Daniel Widyanto
Dear Ravi, I've also done some test for CTP currrent consumption using micaz. I have the same result as you are. It took around 30 min for a node to join a network, and the minimum current consumption is around 5-6mA (not shown in my graph). My test result (along with the firmware that I

Re: [Tinyos-help] Again!!!! Low-power CC2420 multihop in TinyOS2.x question????

2007-08-05 Thread Ravi Prasad
Hi Daniel, Thank you. I looked into the timer issue as you suggested. But I found out that the PowerCycle component is already using Timer0 in Async mode ( through HplAtm128Timer0AsyncP.nc). Please correct me if I am wrong. I am using tinyOS2.0.2. Which version you are using? Can you please