Re: [Tinyos-help] Connect Digital Potentiometer to TelosB

2009-09-02 Thread Chanaka Lloyd
(found this reply rather late)

Hi

I didn't find anything as such in the examples. And, I have no experience in
USART.

I need help to start somewhere (perhaps, looking at an example USART code in
nesc) so that I can adapt it to my digi-pot.

Does it matter what I use is UART or USART?

Thanks in advance.

Rgds




On Thu, Aug 13, 2009 at 7:18 PM, Michael Schippling sc...@santafe.eduwrote:

 The low level UART{C,M} components are probably what you want to use.
 I would start by searching all the code for uses of UART to
 see if there are any examples.

 MS


 Chanaka Lloyd wrote:

 Hello guys

 I'm trying to connect digital potentiometer to TelosB using UART.

 Does anyone has any code for this? or any tips to help me?

 (I'm a little lost trying to implement it with NesC)

 Chan


 

 ___
 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] Connect Digital Potentiometer to TelosB

2009-08-13 Thread Chanaka Lloyd
Hello guys

I'm trying to connect digital potentiometer to TelosB using UART.

Does anyone has any code for this? or any tips to help me?

(I'm a little lost trying to implement it with NesC)

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

[Tinyos-help] LabVIEW with tmote sky (telosb)

2007-12-05 Thread Chanaka Lloyd
Hello
I've heard it is possible to use LabVIEW with WSN motes; telosb, say.

Can someone pls give me a headstart on how to start reading some data from a
telosb mote with LabVIEW?

LabVIEW is available for Linux. If known to someone, pls comment on the
usage of LabVIEW for WSN motes in Linux.

Rgds

Lloyd

(I use Tmote Sky, work with TOS 2.x in Debian stable)
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] LabVIEW with tmote sky (telosb)

2007-12-02 Thread Chanaka Lloyd
Hello

I've heard it is possible to use LabVIEW with WSN motes; telosb, say.

Can someone pls give me a headstart on how to start reading some data from a
telosb mote with LabVIEW?

LabVIEW is available for Linux. If known to someone, pls comment on the
usage of LabVIEW for WSN motes in Linux.

Rgds

Lloyd

(I use Tmote Sky, work with TOS 2.x in Debian stable)
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Oscilloscope App - Temperature readings (SensirionSht11C.nc) - TOS 2.x

2007-11-24 Thread Chanaka Lloyd
hello guys

i'm playing with the Oscilloscope app in $TOSROOT/apps/Oscilloscope.
i'm using 'Tmote sky' motes and TOS 2.x in Debian.

i've managed to wire VoltageC sensor, SineSensorC sensor and Light
sensor ('Hamamatsu'). I've failed to wire up the 'Sensirion' sensors
to read humidity or temperature.

what i did for light and other sensors: simply took DemoSensorC.nc
from $TOSROOT/tos/platforms/telosa, copied it to .../telosb. copied
sht11 directory in .../telosa to /telosb too. then replaced
VoltageC() with HamamatsuS1087ParC() in the  DemoSensorC.nc file. then
Oscilloscope app reads the light sensor measurements.

what i need: wiring up SensirionSht11C() like that does not work
similarly. they say the temperature and humidity data are coming
sequentially. my compiler gives a 'ambiguous' error.

can someone pls help? (pls state which files i need and where i need
them copied)

thanks

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


[Tinyos-help] Oscilloscope App - Temperature readings (SensirionSht11C.nc) - TOS 2.x

2007-11-22 Thread Chanaka Lloyd
hello guys

i'm playing with the Oscilloscope app in $TOSROOT/apps/Oscilloscope.
i'm using 'Tmote sky' motes and TOS 2.x in Debian.

i've managed to wire VoltageC sensor, SineSensorC sensor and Light
sensor ('Hamamatsu'). I've failed to wire up the 'Sensirion' sensors
to read humidity or temperature.

what i did for light and other sensors: simply took DemoSensorC.nc
from $TOSROOT/tos/platforms/telosa, copied it to .../telosb. copied
sht11 directory in .../telosa to /telosb too. then replaced
VoltageC() with HamamatsuS1087ParC(). then Oscilloscope app reads the
light sensor measurements.

what i need: wiring up SensirionSht11C() like that does not work
similarly. they say the temperature and humidity data are coming
sequentially. my compiler gives a 'ambiguous' error.

can someone pls help? (pls state which files i need and where i need
them copied)

thanks

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


[Tinyos-help] TOS 2.0 compilation issue

2007-10-04 Thread Chanaka Lloyd
hey,

i installed tinyos 2.0. i get errors when i try to compile a program (say,
BlinK). error message follows:

/opt/tinyos-2.x/apps/Blink# make tmote

/bin/sh: tos-ident-flags: command not found
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board=   BlinkAppC.nc -lm
Invoked: ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= BlinkAppC.nc -lm
Running: gcc -E -D__NCC__ -imacros /usr/include/nognu -Os -O -mdisable-hwmul
-DDEF_TOS_AM_GROUP=0x7d -fnesc-cfile=build/telosb/app.c
[gcc] Program failed..
make: *** [exe0] Fehler 1

what's 'tos-ident-flags'? any suggestions?

help highly appreciated.

thx  rgds

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

[Tinyos-help] Flash (STM25P80) write read

2007-09-16 Thread Chanaka Lloyd
Hello again!

I write again expecting some help. So you can guess my desperation!

I'm a complete newbie to TinyOS and WSN development. I'm working with TinyOS
1.x and TmoteSky motes. I'm not entirely comfortable with writing programs
with nesC yet.

I need to write the temperature data to the external flash on the mote. i.e.
STM25P80 (1MB). Next requirement is to read the flash and write those data
to the PC.

Can somebody pls guide me how to write a nesC program to write temperature
data to the flash?

Thanks in advance.

Rgds

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

[Tinyos-help] Flash (STM25P80) write read

2007-09-15 Thread Chanaka Lloyd
Hello

I'm a complete newbie to TinyOS and WSN development. I'm working with TinyOS
1.x and TmoteSky motes. I'm not entirely comfortable with writing programs
with nesC yet.

I need to write the temperature data to the external flash on the mote. i.e.
STM25P80 (1MB). Next requirement is to read the flash and write those data
to the PC.

Can somebody pls guide me how to write a nesC program to write temperature
data to the flash?

Thanks in advance.

Rgds

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