Thanks Bharti.

These code looks good, but must implement the MoteC component. For this
reason I am trying to implement a simple code only to get the raw data
without processing.

But for my side I'll  try of  built the MoteC component.

Thanks again.

Alejandro.


> Hi,
>
> You can take a look at tinyos2.contrib for sample code. There is a similar
> one which takes reading from a soil sensor called EchoTeTelos. Here is the
> path.
>
> \tinyos-2.x-contrib\asu-impact\lib\echote_telos
>
> cheers
> Bharti
> ________________________________________
> From: [email protected]
> [[email protected]] on behalf of
> [email protected] [[email protected]]
> Sent: Monday, February 13, 2012 9:07 PM
> To: [email protected]
> Cc: [email protected]
> Subject: [Tinyos-help] Reading a Soil Sensor Decagon 5te from UART port
>
> Hello,
>
> I am trying to see the raw data from a soil sensor Decagon 5te. I see in
> some manual  it work with 9600 baud rate. And dispatches his raw data in
> this form:
>
> i.e. : 56 432 645<0D>zG<0D><0A>
>
> Where only  is  data in :
> 56 for Raw dielectric output, 432 Electrical conductivity, 645 is
> Temperature
>
>
> I wrote an app to start read the raw data, the app is compiling without
> error, but I need some idea about what must I do to relationship the
> Timer.fired() with the async event void UartStream.receivedByte in order
> to get the data every 1 second (Timer.startPeriodic(1000)) or some piece
> of code if is possible for you.
>
> The UART communication between the telosb mote is using the UART0 and is
> powered from the ADC0 pin.
>
> I am attaching the app.
>
>
> Thanks in advance.
>
> Regards,
>
> Alejandro.
>
>
>
>
>
>
>
>
>


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to