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 [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
