phele
Newbie level 4
- Joined
- Jul 24, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 78
Hi everyone
Some how after reading the data sheet countless times and after doing some tasks using the atmega16 ADC, i somehow find it difficult to understand some concepts
as follows
1) The difference in reference voltage i.e AVCC (5V), internal ref (2.56V) and AREF (ext)
what significance does the internal vRef have over other ref voltages?
To my knowlegde the Aref pin has a min voltage of 2V on its pin
and the resolution of AVCC is between 0-1023 as well as Internal Ref 0-512.
but what other properties are associated with internal ref when using feedback voltage on the adc0 pin?
2) I need to receive 2 ADC input voltages, to my understanding this cannot happen simultaneously. Conversion after conversion
but all the forums i have been to use C as the programming language, any assistance on the assembler coding...specific emphasis on the ADCH/ADCL value and how to save these results before starting a new conversion on another< pin i.e form ADC0 to ADC1 back and forth.
my project is to build a DC- DC converter in <the Buck operation and i need to keep a constant voltage on the output regardless of which load is used, apparently this is associated with feedback and an ADC is to be used.
All i need is some in depth explanations on the two points raised.
Many thanks in advance
Some how after reading the data sheet countless times and after doing some tasks using the atmega16 ADC, i somehow find it difficult to understand some concepts
as follows
1) The difference in reference voltage i.e AVCC (5V), internal ref (2.56V) and AREF (ext)
what significance does the internal vRef have over other ref voltages?
To my knowlegde the Aref pin has a min voltage of 2V on its pin
and the resolution of AVCC is between 0-1023 as well as Internal Ref 0-512.
but what other properties are associated with internal ref when using feedback voltage on the adc0 pin?
2) I need to receive 2 ADC input voltages, to my understanding this cannot happen simultaneously. Conversion after conversion
but all the forums i have been to use C as the programming language, any assistance on the assembler coding...specific emphasis on the ADCH/ADCL value and how to save these results before starting a new conversion on another< pin i.e form ADC0 to ADC1 back and forth.
my project is to build a DC- DC converter in <the Buck operation and i need to keep a constant voltage on the output regardless of which load is used, apparently this is associated with feedback and an ADC is to be used.
All i need is some in depth explanations on the two points raised.
Many thanks in advance