ATmega48PA-AU Vcc Measure

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there,

I am planning to use the ATmega48PA-AU at a new design and I would like to ask you if the specific device can measure it' own Vcc supply using the ADC?

Thank you.

Michael.

User of:
IAR Embedded Workbench C/C++ Compiler
Altium Designer

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your search terms are "internal bandgap battery". Within the 41 hits you have threads such as:

How to measure Vcc with AVRs ADC!!!

(I bet those exclamation marks made all the difference!!!)

Last Edited: Fri. Jun 3, 2011 - 10:44 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It can at least through an external channel ( select a ref, use a resistor divider and connect that to an ADC channel.
You could check the datasheet. first have a look in the ADMUX register to see if VDD can be selected there.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you guys

Michael.

User of:
IAR Embedded Workbench C/C++ Compiler
Altium Designer