Thats what I thought but it keeps giving me syntax error in the header file when swapping: REFERENCE_VREFplus_AVss and REFERENCE_AVcc_AVss
Mikael

Joe Polastre wrote:
Yes.

On 12/14/06, Mikael Ifversen <[EMAIL PROTECTED]> wrote:
"REFERENCE_AVcc_AVss"
Is this what is needed to use AVcc as the high rail for the sampling
period.
Mikael

Joe Polastre wrote:
> Incoming voltage should not exceed the voltage reference.
>
> Instead of using a reference voltage, use AVcc as the high rail for
> the sampling period.
>
> -Joe
>
> On 12/14/06, Mikael Ifversen <[EMAIL PROTECTED]> wrote:
>> Is the AVcc always max available voltage output approx 3v?
>> If I want to read values from a flex sensor the flow is AVcc to Flex to
>> (Voltage divider) Vout = ADC0? Do I need an Op Amp?
>> Does R2 from the Voltage divider go to the 9-pin on expansion connector?
>> If Vref is at 1.5v, incoming voltage at ADC0 should not succeed that?
>> Thanks,
>> Mikael
>>
>> Joe Polastre wrote:
>> > The voltage of A0 as a 12-bit number where 0 represents 0V and 4095
>> > represents 1.5V.
>> >
>> > -Joe
>> >
>> > On 12/14/06, Mikael Ifversen <[EMAIL PROTECTED]> wrote:
>> >> Hi,
>> >> What voltage should I expect by meassuring AVcc and ADC0 with
>> following
>> >> enum in TelosADC:
>> >> enum
>> >> {
>> >>   TOS_ADC_FLEX_PORT = unique("ADCPort"),
>> >>   TOSH_ACTUAL_ADC_FLEX_PORT = ASSOCIATE_ADC_CHANNEL(
>> >>     INPUT_CHANNEL_A0,
>> >>     REFERENCE_VREFplus_AVss,
>> >>     REFVOLT_LEVEL_1_5
>> >>   ),
>> >> };
>> >> Mikael
>> >>
>> >> _______________________________________________
>> >> Tinyos-help mailing list
>> >> [email protected]
>> >>
>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>> >>
>> >>
>> >
>> > .
>> >
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>>
>
> .
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


.

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

Reply via email to