[Tinyos-help] Attaching a third-party sensor to telosB/tmote sky
Michael Schippling
schip at santafe.edu
Thu Nov 20 10:04:28 PST 2008
If your sensor is sending serial data you don't need an ADC channel
you need to connect it to a serial input on the telosb and use
the UART components to read data. UART0 is available on the 10
pin I/O header at:
pin 2 UART0RX UART0 receive PORT35
pin 4 UART0TX UART0 transmit PORT34
pin 9 AVss Analog ground
Search for use examples. I haven't used it myself.
MS
kfullert at mines.edu wrote:
> I've been trying to configure the analog-digital converter on a telosB
> mote so that it can read from an external, third-party sensor. I'm
> trying to use the AdcReadStream modules to do this, but I have no idea
> how to set up the configuration structure (the one that's passed to
> the module when the ADC needs to know how to configure itself). None
> of the TinyOS documentation has helped me much, probably because I
> don't know enough about the motes to know what the various parameters
> correspond to.
>
> The sensor (Decagon's 5TE model) sends a serial stream of ASCII
> characters (6-15 bytes long). The stream is 1200 baud asynchronous
> with 8 data bits, no parity, and one stop bit; the voltage levels are
> 0-3.6V and logic levels are active low.
>
> The configuration doesn't provide for all of this data, and it
> requires much more that's not specified for the sensor (including what
> appear to be 3 types of clock?). If someone could give me a
> configuration that might work for this project, or a pointer to
> less-technical documentation, I'd really appreciate it.
>
> -Kyle
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list