You can either go into your platform directory of choice
and change the config file for DemoSensor, or else just
throw the whole thing out and connect directly to the ADC
channel you want to sample. Note that the demo Temp and
Photo sensors also need to be enabled by turning on a PWx
pin, so the their component modules do a bit more than
just ADC sampling.

I haven't examined the MPS chip that closely but I think
it includes an internal connection to an ADC channel to
monitor it's supply voltage. The MPS manual is written
in an entirely different dialect of gibberish from the
ATMEGA and PIC ones that I'm used to, so I'm not sure.

MS


Ahmed Ebaid wrote:
> Hey
> I have a question regarding the Sense application, since the DemoSensor 
> component is a platform dependent, how can I change the configuration 
> file in order to sense temperature. also , what is the MCU-internal 
> voltage sensor do.
> Thanks in Advance.
> 
> -- 
> Ahmed
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to