Re: [Tinyos-help] random function in tinyos-2.10

2011-10-12 Thread Johny Mattsson
On Wed, Oct 12, 2011 at 7:53 PM, Eric Decker  wrote:

> On Wed, Oct 12, 2011 at 1:23 AM, Indtiny s  wrote:
>
>> Hi,
>> Can any one tell me how to get the Random number in nesc for tinyos-2.1.0
>> version ?
>>
>
> the trunk definitely has random.
>

Have a look at the UDPEcho (or TCPEcho) application for an example of usage
and wiring.

Cheers,
/Johny
-- 
Johny Mattsson
Senior Software Engineer

DiUS Computing Pty. Ltd.
*where ideas are engineered
*
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] LPL and blip-2.0

2011-10-12 Thread Jens Dede
Hi,

I have some troubles using LPL and blip-2.0. I'm using PppRouter and
UDPEcho. In both Makefiles I added the following lines:

CFLAGS += -DLOW_POWER_LISTENING
CFLAGS += -DLPL_SLEEP_INTERVAL=512
CFLAGS += -DBLIP_L2_RETRIES=2
CFLAGS += -DBLIP_L2_DELAY=2048

When I try to ping the node, I get no reply.

In the current IPDispatchP (R5771) line 430-433 are commented out. If I
uncomment them, LPL seems to work (~5-10% Packet loss when pinging).

Why are these lines commented out? Does someone have similar experience
with blip + LPL?

Thank you in advance,

Jens

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TelosB Digital Output

2011-10-12 Thread Michael Schippling
Once again, here's my cheatsheet for the TELOSB I/O:
 http://www.etantdonnes.com/Motes/TMOTEpins.txt
You can use any of the I/O pins for digital output,
but avoid the I2C ones as they are shared with the
radio. If you need to drive more than 10 or 20mA
you should use a common emitter transistor follower,
or if you've got a few outputs, chips like the ULN2803,
google will be your friend there...

"They" complicated the methodology of accessing the I/O
in T2 and I only use T1. I think there is a component
called MSP430GeneralIO or something like that for such
uses.

MS

Eric Decker wrote:
> 
> You need to find the telosb schematic and see what pins are brought out 
> to a header.
> 
> then find the msp430f1611 manual and bone up on how to use the digital 
> i/o pins.
> 
> To kick a switch you need to figure out how to wire the h/w for that 
> kind of usage.   I don't know about that kind of stuff.  I go to my h/w 
> guy for that kind of stuff.
> 
> eric
> 
> 
> On Tue, Oct 4, 2011 at 5:02 AM, Orestis Evangelatos 
> mailto:orestis.evangela...@unige.ch>> wrote:
> 
> Hello everybody!
> 
> I am using some TelosB sensors together with tinyos2.1.1 and i want to
> drive some switches via the DC output of the mote. How could i access
> the DC output of the sensor? Are there any examples anywhere that i
> could have an idea on that?
> 
> Thank you!
> 
> Orestis Evangelatos
> 
> --
> Orestis Evangelatos,
> TCS and Sensors Lab,
> University of Geneva, Switzerland
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> 
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> 
> -- 
> Eric B. Decker
> Senior (over 50 :-) Researcher
> 
> 
> 
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] RE : tinyos help

2011-10-12 Thread Yanbo SHOU


Hi Pradnya,

Theoretically TOSSIM is only for Micaz. but you can still use it for 
simulating your program with TOSSIM for Telos B.
But if your program use some Telos B-only components, e.g. 
SensirionSht11C for temperature sensing,

then TOSSIM will complain.

Best regards.

--
Yanbo SHOU
Ph.D student Cartoon Team
Computer Science Laboratory of Franche-Comté
Office 420C
16 route de Gray
25 000 Besançon, France

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] RE : Python-2.5 command not found

2011-10-12 Thread Yanbo SHOU
Hi Nida,

I have encountered this message too when I compiled in Cygwin, but it 
still had generated TOSSIM.py successfully, weird ;)
Make sure that you have installed python-dev package.

Your sincerely.

-- 
Yanbo SHOU
Ph.D student Cartoon Team
Computer Science Laboratory of Franche-Comté
Office 420C
16 route de Gray
25 000 Besançon, France

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] random function in tinyos-2.10

2011-10-12 Thread Eric Decker
On Wed, Oct 12, 2011 at 1:23 AM, Indtiny s  wrote:

> Hi,
> Can any one tell me how to get the Random number in nesc for tinyos-2.1.0
> version ?
>

the trunk definitely has random.

try using

find . -iname "*random*"

to see any file name with random in it.

-c



> rgds
> Indu
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] random function in tinyos-2.10

2011-10-12 Thread Indtiny s
Hi,
Can any one tell me how to get the Random number in nesc for tinyos-2.1.0
version ?

rgds
Indu
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] net.tinyos.tools.Listen and Micaz

2011-10-12 Thread Nouha Sghaier
Hello Andris,

Indeed. I'm using a MIB520.
I tried ttyUSB1 and it works!
Thank you very much for your help.

With best regards,
Nouha

2011/10/11 Bíró András 

> Hell Sghaier,
>
> You're probably using a mib520 programming board, which has two
> virtual serial port, the first one for programming, the second one for
> communicating. If you have no other usb serial device, then you should
> listen on ttyUSB1.
>
> Andris
>
> On Tue, Oct 11, 2011 at 6:24 PM, Nouha Sghaier 
> wrote:
> > Hello,
> >
> > I'm using Xubuntos on Vmware for programming my micaz with TinyOS2.x
> > applications.
> > I followed instructions in lesson 4 about Mote-PC serial communication
> and
> > SerialForwarder
> > (
> http://www.tinyos.net/dist-2.0.0/tinyos-2.0.0/doc/html/tutorial/lesson4.html
> )
> > and I'm facing a problem with java net.tinyos.tools.Listen command.
> >
> > I installed BaseStation application on a mote and BlinkToRadio
> application
> > on another and when I type java net.tinyos.tools.Listen, the screen is
> stuck
> > in:
> > Serial@/dev/ttyUSB0:57600:resynchronising
> >
> > and no data is displayed!!!
> >
> > Could someone help me please resolve this problem?
> >
> > Thank you.
> > Nouha SGHAIER
> >
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>



-- 
Nouha SGHAIER
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TelosB Digital Output

2011-10-12 Thread Eric Decker
You need to find the telosb schematic and see what pins are brought out to a
header.

then find the msp430f1611 manual and bone up on how to use the digital i/o
pins.

To kick a switch you need to figure out how to wire the h/w for that kind of
usage.   I don't know about that kind of stuff.  I go to my h/w guy for that
kind of stuff.

eric


On Tue, Oct 4, 2011 at 5:02 AM, Orestis Evangelatos <
orestis.evangela...@unige.ch> wrote:

> Hello everybody!
>
> I am using some TelosB sensors together with tinyos2.1.1 and i want to
> drive some switches via the DC output of the mote. How could i access
> the DC output of the sensor? Are there any examples anywhere that i
> could have an idea on that?
>
> Thank you!
>
> Orestis Evangelatos
>
> --
> Orestis Evangelatos,
> TCS and Sensors Lab,
> University of Geneva, Switzerland
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] make: *** No rule to make target `iris'. Stop

2011-10-12 Thread Sameer Singh
Hi, 

I am trying to install tinyos on ubuntu using debian packages. After 
installation with the steps given in page

http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages
 

Then i set up environment variables by editing .bashrc file as given in 
installation steps . Then went to Blink directory and ran command 

make iris sim
The following error showed up 

make: *** No rule to make target `iris'.  Stop.

Please help what to do 
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help