On Monday 28 August 2006 09:53 am, Yang Peng wrote: > I just relpaced the Demosensor component by component InternalVoltageC in > Oscilloscope.nc <http://oscilloscope.nc/>, and changed some connection > names in Oscilloscope.nc <http://oscilloscope.nc/> and OscilloscopeM.nc > .(Those two components in OscilloscopeRF) > > I used TOSbase to receive the signal from the other node. > The value I got is between 3909~3919, but I think it's not right.
The value looks right to me. Msp430InternalVoltageC's read returns a 16-bit int that holds the 12-bit ADC value as a result of sampling 1/2 of the Tmote's VCC. So: 3909/4096 * 1.5 = 1.43V So VCC = 2*1.43 or 2.86V Steve _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help