[Tinyos-help] problems when installed tinyos 2.x in ubuntu 7.10

2008-03-07 Thread do viet manh
Dear everyone in tinyos mailing list I am the newbabie in wireless sensor network. Now i am trying to install the tinyos 2.x in Ubuntu 7.10 i386 operating system.and i am using micaz Though I followed all the official instructions in http://www.tinyos.net/scoop/story/2007/8/15/234856/990 to

[Tinyos-help] Re: BaseStationP trasparent bridging problem

2008-03-07 Thread Salvo Fiduccia
Hi om_p, I have the same doubt, so I set the basestation ID to -1 for trasparent bridging (could I send a custumized ACK??) and ID= 0 for packets generator, and I have added a check in Send.send (CC2420CsmaP.nc, if( call AMPacket.address() != -1) header-src = call AMPacket.address(); )

[Tinyos-help] extension pin of tmote sky and external power supply

2008-03-07 Thread miriam herraiz
Hi all, I am working with tmote sky, and my aim is to use an external power supply, connect it to the 10-pin expansion of the mote and using Trawler, observe the voltage I put in the power supply. I have done the code to use the ADC ports and to send the data via radio. The problem is when I see

Re: [Tinyos-help] extension pin of tmote sky and external power supply

2008-03-07 Thread weiping SONG
Hi Miriam, The Supply Voltage for Tmote Sky is between 2.1V to 3.6V. I hope this information is helpful to you. Regards, Weiping miriam herraiz wrote: Hi all, I am working with tmote sky, and my aim is to use an external power supply, connect it to the 10-pin expansion of the mote and

Re: [Tinyos-help] problems when installed tinyos 2.x in ubuntu 7.10

2008-03-07 Thread Wouter Horré
Hi, On Friday 07 March 2008 11:30:16 do viet manh wrote: dpkg: error processing /var/cache/apt/archives/avr-libc-tinyos_1.2.3-2_i386.deb (--unpack):  trying to overwrite `/usr/avr/include/avr/boot.h', which is also in package avr-libc This error means that the package avr-libc-tinyos

[Tinyos-help] Current Time

2008-03-07 Thread weiping SONG
Hi all, In T2, there is an interface called LocalTime. I can draw the current time through Localtime, but they are in binary number. But what's I need is current time, such as: when it is (hour, minute, scecond) Is there somone know about it? Regards, Wepin

Re: [Tinyos-help] crc and corrupted packets

2008-03-07 Thread Michael Schippling
The message is only as long as you tell send(). The CRC gets calculated over that length and that many payload bytes are transmitted. So it sounds like your mote code is mis-calculating your message lengths someplace. MS renjie huang wrote: *Michael , *Thanks for your help. The data length

Re: [Tinyos-help] extension pin of tmote sky and external power supply

2008-03-07 Thread Michael Schippling
Your use of external power supply is a bit confusing... I think what you are asking is how to measure a voltage on an ADC input pin, not how to power the tmote externally, right? Your connection to pins 3 9 is right. Then you want to read ADC0 and transmit the value. What do you mean by I can't

Re: [Tinyos-help] Current Time

2008-03-07 Thread Michael Schippling
I think LocalTime gives you the number of ticks since the mote booted, there was a recent message that specified the size of the tick so search back a few days on this list. Without a time-sync mechanism there's no way to get the real time on the mote itself. MS weiping SONG wrote: Hi all, In

[Tinyos-help] Surge strange execution

2008-03-07 Thread funofnet Funofnet
HI, I have several pbs: 1) Are there someone who know about directed graph plugin (tinyviz) because I didn't found any interresting documentation about it. 2) When I type export DBG=packet I didn't any receiving of ack always wainting for :(why ?) $ build/pc/main.exe -rf=lossy.nss 4 SIM: Random

RE: [Tinyos-help] Current Time

2008-03-07 Thread Shaun Lawrence
You're best bet is to wire an RTC chip up and use that. Localtime only returns the number of ticks since boot. You could use the uart to set a unix time to a variable then manipulate that with the localtime.get(). -Shaun -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Tinyos-help] Snooping in TinyOS 1.x ??

2008-03-07 Thread Mahesh Satharla
Hi all, I am able to work it out both in TinyOS 1.x (1.1.15) and TinyOS 2.02 * Snooping in TinyOS 1.x :* As Dr.Omprakash said, we need to use *GenericCommPromiscuous* instead of GenericComm.Not only that, we need call *CommControl.setPromiscuous(TRUE)*to enable the snooping mode.Last but not

Re: [Tinyos-help] extension pin of tmote sky and external power supply

2008-03-07 Thread Eric Keller
Is Trawler reading from ADC0? Sorry if that's an ignorant question. Also, if you are using a good lab power supply, make sure pin 3 is hooked to the positive output voltage and pin 9 is hooked to the negative output voltage of the supply. Do not use the ground of the power supply. Lab power

[Tinyos-help] Installation of boot loader overwrites the existing mote application.

2008-03-07 Thread kou ksk
Hi, I am trying to install bootloader on a mote for In-network Reprogramming. TinyOS 1.0.1 I used following set of commands: uisp -dprog=mib510 -dserial=/dev/ttyS0 -dpart=ATMega128 --wr_fuse_h=0xd1 uisp -dprog=mib510 -dserial=/dev/ttyS0 -dpart=ATMega128 --erase uisp -dprog=mib510

[Tinyos-help] Timer synchronization problem

2008-03-07 Thread Iñigo Urteaga
Hi, I'm trying to synchronize a simulation in TOSSIM with an application running a PDE model. I have timers (using TimerTMilli) firing every 10 seconds in each node to read a variable that I am updating using the TOSSIM radio packet injection interface. From debug outputs using